grubhub · Capability

Grubhub Menu API — Menu Ingestion

Grubhub Menu API — Menu Ingestion. 2 operations. Lead operation: Ingest a normalized menu. Self-contained Naftiko capability covering one Grubhub business surface.

Run with Naftiko GrubhubMenu Ingestion

What You Can Do

POST
Ingestmenu — Ingest a normalized menu
/v1/pos/v1/menu/ingestion
GET
Getmenuingestionstatus — Get menu ingestion job status
/v1/pos/v1/menu/ingestion/jobs/{job-id}

MCP Tools

ingest-normalized-menu

Ingest a normalized menu

get-menu-ingestion-job-status

Get menu ingestion job status

read-only idempotent

Capability Spec

menu-menu-ingestion.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Grubhub Menu API — Menu Ingestion
  description: 'Grubhub Menu API — Menu Ingestion. 2 operations. Lead operation: Ingest a normalized menu. Self-contained
    Naftiko capability covering one Grubhub business surface.'
  tags:
  - Grubhub
  - Menu Ingestion
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GRUBHUB_API_KEY: GRUBHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: menu-menu-ingestion
    baseUri: https://api-third-party-gtm.grubhub.com
    description: Grubhub Menu API — Menu Ingestion business capability. Self-contained, no shared references.
    resources:
    - name: pos-v1-menu-ingestion
      path: /pos/v1/menu/ingestion
      operations:
      - name: ingestmenu
        method: POST
        description: Ingest a normalized menu
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pos-v1-menu-ingestion-jobs-job_id
      path: /pos/v1/menu/ingestion/jobs/{job_id}
      operations:
      - name: getmenuingestionstatus
        method: GET
        description: Get menu ingestion job status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.GRUBHUB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: menu-menu-ingestion-rest
    port: 8080
    description: REST adapter for Grubhub Menu API — Menu Ingestion. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/pos/v1/menu/ingestion
      name: pos-v1-menu-ingestion
      description: REST surface for pos-v1-menu-ingestion.
      operations:
      - method: POST
        name: ingestmenu
        description: Ingest a normalized menu
        call: menu-menu-ingestion.ingestmenu
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pos/v1/menu/ingestion/jobs/{job-id}
      name: pos-v1-menu-ingestion-jobs-job-id
      description: REST surface for pos-v1-menu-ingestion-jobs-job_id.
      operations:
      - method: GET
        name: getmenuingestionstatus
        description: Get menu ingestion job status
        call: menu-menu-ingestion.getmenuingestionstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: menu-menu-ingestion-mcp
    port: 9090
    transport: http
    description: MCP adapter for Grubhub Menu API — Menu Ingestion. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: ingest-normalized-menu
      description: Ingest a normalized menu
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: menu-menu-ingestion.ingestmenu
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-menu-ingestion-job-status
      description: Get menu ingestion job status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: menu-menu-ingestion.getmenuingestionstatus
      outputParameters:
      - type: object
        mapping: $.