naftiko: 1.0.0-alpha2 info: label: Avalara Activation Service API — Registrations description: 'Avalara Activation Service API — Registrations. 2 operations. Lead operation: Avalara List All Registrations. Self-contained Naftiko capability covering one Avalara business surface.' tags: - Avalara - Registrations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AVALARA_API_KEY: AVALARA_API_KEY capability: consumes: - type: http namespace: activation-service-registrations baseUri: https://api.avalara.com/activation/v1 description: Avalara Activation Service API — Registrations business capability. Self-contained, no shared references. resources: - name: registrations path: /registrations operations: - name: listregistrations method: GET description: Avalara List All Registrations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string - name: $top in: query type: integer - name: $skip in: query type: integer - name: registrations-registrationId path: /registrations/{registrationId} operations: - name: getregistration method: GET description: Avalara Get a Registration by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: registrationId in: path type: string required: true authentication: type: bearer token: '{{env.AVALARA_API_KEY}}' exposes: - type: rest namespace: activation-service-registrations-rest port: 8080 description: REST adapter for Avalara Activation Service API — Registrations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/registrations name: registrations description: REST surface for registrations. operations: - method: GET name: listregistrations description: Avalara List All Registrations call: activation-service-registrations.listregistrations with: status: rest.status $top: rest.$top $skip: rest.$skip outputParameters: - type: object mapping: $. - path: /v1/registrations/{registrationid} name: registrations-registrationid description: REST surface for registrations-registrationId. operations: - method: GET name: getregistration description: Avalara Get a Registration by ID call: activation-service-registrations.getregistration with: registrationId: rest.registrationId outputParameters: - type: object mapping: $. - type: mcp namespace: activation-service-registrations-mcp port: 9090 transport: http description: MCP adapter for Avalara Activation Service API — Registrations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: avalara-list-all-registrations description: Avalara List All Registrations hints: readOnly: true destructive: false idempotent: true call: activation-service-registrations.listregistrations with: status: tools.status $top: tools.$top $skip: tools.$skip outputParameters: - type: object mapping: $. - name: avalara-get-registration-id description: Avalara Get a Registration by ID hints: readOnly: true destructive: false idempotent: true call: activation-service-registrations.getregistration with: registrationId: tools.registrationId outputParameters: - type: object mapping: $.