naftiko: 1.0.0-alpha2 info: label: Amazon Advertising API — Keywords description: 'Amazon Advertising API — Keywords. 2 operations. Lead operation: Amazon List Keywords. Self-contained Naftiko capability covering one Amazon business surface.' tags: - Amazon - Keywords created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_API_KEY: AMAZON_API_KEY capability: consumes: - type: http namespace: advertising-keywords baseUri: https://advertising-api.amazon.com description: Amazon Advertising API — Keywords business capability. Self-contained, no shared references. resources: - name: v2-sp-keywords path: /v2/sp/keywords operations: - name: listkeywords method: GET description: Amazon List Keywords outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: campaignIdFilter in: query type: string - name: adGroupIdFilter in: query type: string - name: createkeywords method: POST description: Amazon Create Keywords outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.AMAZON_API_KEY}}' exposes: - type: rest namespace: advertising-keywords-rest port: 8080 description: REST adapter for Amazon Advertising API — Keywords. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/sp/keywords name: v2-sp-keywords description: REST surface for v2-sp-keywords. operations: - method: GET name: listkeywords description: Amazon List Keywords call: advertising-keywords.listkeywords with: campaignIdFilter: rest.campaignIdFilter adGroupIdFilter: rest.adGroupIdFilter outputParameters: - type: object mapping: $. - method: POST name: createkeywords description: Amazon Create Keywords call: advertising-keywords.createkeywords with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: advertising-keywords-mcp port: 9090 transport: http description: MCP adapter for Amazon Advertising API — Keywords. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-list-keywords description: Amazon List Keywords hints: readOnly: true destructive: false idempotent: true call: advertising-keywords.listkeywords with: campaignIdFilter: tools.campaignIdFilter adGroupIdFilter: tools.adGroupIdFilter outputParameters: - type: object mapping: $. - name: amazon-create-keywords description: Amazon Create Keywords hints: readOnly: false destructive: false idempotent: false call: advertising-keywords.createkeywords with: body: tools.body outputParameters: - type: object mapping: $.