naftiko: 1.0.0-alpha2 info: label: eBay Charity API — Charity_org description: 'eBay Charity API — Charity_org. 2 operations. Lead operation: Charity_org. Self-contained Naftiko capability covering one Ebay business surface.' tags: - Ebay - Charity_org created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EBAY_API_KEY: EBAY_API_KEY capability: consumes: - type: http namespace: charity-charity-org baseUri: https://api.ebay.com{basePath} description: eBay Charity API — Charity_org business capability. Self-contained, no shared references. resources: - name: charity_org path: /charity_org operations: - name: getcharityorgs method: GET description: 'This call is used to search for supported charitable organizations. It allows users to search for a specific charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical region, ' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: string description: The number of items, from the result set, returned in a single page.

Valid Values: 1-100

Default: 20limit field to control the pagination of the output.

For exa - name: q in: query type: string description: A query string that matches the keywords in name, mission statement, or description. - name: registration_ids in: query type: string description: 'A comma-separated list of charitable organization registration IDs.

Note: Do not specify this parameter for query-base' - name: X-EBAY-C-MARKETPLACE-ID in: header type: string description: A header used to specify the eBay marketplace ID.

Valid Values: EBAY_GB and EBAY_US required: true - name: charity_org-charity_org_id path: /charity_org/{charity_org_id} operations: - name: getcharityorg method: GET description: This call is used to retrieve detailed information about supported charitable organizations. It allows users to retrieve the details for a specific charitable organization using its charity organization ID. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: charity_org_id in: path type: string description: The unique ID of the charitable organization. required: true - name: X-EBAY-C-MARKETPLACE-ID in: header type: string description: A header used to specify the eBay marketplace ID.

Valid Values: EBAY_GB and EBAY_US required: true authentication: type: bearer token: '{{env.EBAY_API_KEY}}' exposes: - type: rest namespace: charity-charity-org-rest port: 8080 description: REST adapter for eBay Charity API — Charity_org. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/charity-org name: charity-org description: REST surface for charity_org. operations: - method: GET name: getcharityorgs description: 'This call is used to search for supported charitable organizations. It allows users to search for a specific charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical region, ' call: charity-charity-org.getcharityorgs with: limit: rest.limit offset: rest.offset q: rest.q registration_ids: rest.registration_ids X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID outputParameters: - type: object mapping: $. - path: /v1/charity-org/{charity-org-id} name: charity-org-charity-org-id description: REST surface for charity_org-charity_org_id. operations: - method: GET name: getcharityorg description: This call is used to retrieve detailed information about supported charitable organizations. It allows users to retrieve the details for a specific charitable organization using its charity organization ID. call: charity-charity-org.getcharityorg with: charity_org_id: rest.charity_org_id X-EBAY-C-MARKETPLACE-ID: rest.X-EBAY-C-MARKETPLACE-ID outputParameters: - type: object mapping: $. - type: mcp namespace: charity-charity-org-mcp port: 9090 transport: http description: MCP adapter for eBay Charity API — Charity_org. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: this-call-is-used-search description: 'This call is used to search for supported charitable organizations. It allows users to search for a specific charitable organization, or for multiple charitable organizations, from a particular charitable domain and/or geographical region, ' hints: readOnly: true destructive: false idempotent: true call: charity-charity-org.getcharityorgs with: limit: tools.limit offset: tools.offset q: tools.q registration_ids: tools.registration_ids X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID outputParameters: - type: object mapping: $. - name: this-call-is-used-retrieve description: This call is used to retrieve detailed information about supported charitable organizations. It allows users to retrieve the details for a specific charitable organization using its charity organization ID. hints: readOnly: true destructive: false idempotent: true call: charity-charity-org.getcharityorg with: charity_org_id: tools.charity_org_id X-EBAY-C-MARKETPLACE-ID: tools.X-EBAY-C-MARKETPLACE-ID outputParameters: - type: object mapping: $.