naftiko: 1.0.0-alpha2 info: label: Grubhub Merchant Data API — Merchants description: 'Grubhub Merchant Data API — Merchants. 2 operations. Lead operation: Get merchant summary. Self-contained Naftiko capability covering one Grubhub business surface.' tags: - Grubhub - Merchants created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GRUBHUB_API_KEY: GRUBHUB_API_KEY capability: consumes: - type: http namespace: merchant-data-merchants baseUri: https://api-third-party-gtm.grubhub.com description: Grubhub Merchant Data API — Merchants business capability. Self-contained, no shared references. resources: - name: pos-v1-merchant-merchant_id path: /pos/v1/merchant/{merchant_id} operations: - name: getmerchant method: GET description: Get merchant summary outputRawFormat: json outputParameters: - name: result type: object value: $. - name: pos-v1-merchants path: /pos/v1/merchants operations: - name: listmerchants method: GET description: List partner merchants outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.GRUBHUB_API_KEY}}' placement: header exposes: - type: rest namespace: merchant-data-merchants-rest port: 8080 description: REST adapter for Grubhub Merchant Data API — Merchants. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pos/v1/merchant/{merchant-id} name: pos-v1-merchant-merchant-id description: REST surface for pos-v1-merchant-merchant_id. operations: - method: GET name: getmerchant description: Get merchant summary call: merchant-data-merchants.getmerchant outputParameters: - type: object mapping: $. - path: /v1/pos/v1/merchants name: pos-v1-merchants description: REST surface for pos-v1-merchants. operations: - method: GET name: listmerchants description: List partner merchants call: merchant-data-merchants.listmerchants outputParameters: - type: object mapping: $. - type: mcp namespace: merchant-data-merchants-mcp port: 9090 transport: http description: MCP adapter for Grubhub Merchant Data API — Merchants. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-merchant-summary description: Get merchant summary hints: readOnly: true destructive: false idempotent: true call: merchant-data-merchants.getmerchant outputParameters: - type: object mapping: $. - name: list-partner-merchants description: List partner merchants hints: readOnly: true destructive: false idempotent: true call: merchant-data-merchants.listmerchants outputParameters: - type: object mapping: $.