Yelp · Capability

Yelp Fusion API — Events

Yelp Fusion API — Events. 3 operations. Lead operation: Event Search. Self-contained Naftiko capability covering one Yelp business surface.

Run with Naftiko YelpEvents

What You Can Do

GET
Get — Event Search
/v1/v3/events
GET
Get — Event Details
/v1/v3/events/{id}
GET
Get — Featured Event
/v1/v3/featured-event

MCP Tools

event-search

Event Search

read-only idempotent
event-details

Event Details

read-only idempotent
featured-event

Featured Event

read-only idempotent

Capability Spec

yelp-events.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Yelp Fusion API — Events
  description: 'Yelp Fusion API — Events. 3 operations. Lead operation: Event Search. Self-contained Naftiko capability covering
    one Yelp business surface.'
  tags:
  - Yelp
  - Events
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    YELP_API_KEY: YELP_API_KEY
capability:
  consumes:
  - type: http
    namespace: yelp-events
    baseUri: https://api.yelp.com
    description: Yelp Fusion API — Events business capability. Self-contained, no shared references.
    resources:
    - name: v3-events
      path: /v3/events
      operations:
      - name: get
        method: GET
        description: Event Search
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v3-events-id
      path: /v3/events/{id}
      operations:
      - name: get
        method: GET
        description: Event Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    - name: v3-featured_event
      path: /v3/featured_event
      operations:
      - name: get
        method: GET
        description: Featured Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.YELP_API_KEY}}'
  exposes:
  - type: rest
    namespace: yelp-events-rest
    port: 8080
    description: REST adapter for Yelp Fusion API — Events. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v3/events
      name: v3-events
      description: REST surface for v3-events.
      operations:
      - method: GET
        name: get
        description: Event Search
        call: yelp-events.get
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/events/{id}
      name: v3-events-id
      description: REST surface for v3-events-id.
      operations:
      - method: GET
        name: get
        description: Event Details
        call: yelp-events.get
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/featured-event
      name: v3-featured-event
      description: REST surface for v3-featured_event.
      operations:
      - method: GET
        name: get
        description: Featured Event
        call: yelp-events.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: yelp-events-mcp
    port: 9090
    transport: http
    description: MCP adapter for Yelp Fusion API — Events. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: event-search
      description: Event Search
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: yelp-events.get
      outputParameters:
      - type: object
        mapping: $.
    - name: event-details
      description: Event Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: yelp-events.get
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: featured-event
      description: Featured Event
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: yelp-events.get
      outputParameters:
      - type: object
        mapping: $.