Uber · Capability

Uber Riders API — Places

Uber Riders API — Places. 2 operations. Lead operation: Get Saved Place. Self-contained Naftiko capability covering one Uber business surface.

Run with Naftiko UberPlaces

What You Can Do

GET
Getplace — Get Saved Place
/v1/places/{place-id}
PUT
Updateplace — Update Saved Place
/v1/places/{place-id}

MCP Tools

get-saved-place

Get Saved Place

read-only idempotent
update-saved-place

Update Saved Place

idempotent

Capability Spec

riders-places.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Uber Riders API — Places
  description: 'Uber Riders API — Places. 2 operations. Lead operation: Get Saved Place. Self-contained Naftiko capability
    covering one Uber business surface.'
  tags:
  - Uber
  - Places
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UBER_API_KEY: UBER_API_KEY
capability:
  consumes:
  - type: http
    namespace: riders-places
    baseUri: https://api.uber.com/v1.2
    description: Uber Riders API — Places business capability. Self-contained, no shared references.
    resources:
    - name: places-place_id
      path: /places/{place_id}
      operations:
      - name: getplace
        method: GET
        description: Get Saved Place
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: place_id
          in: path
          type: string
          description: The name of the place (home or work).
          required: true
      - name: updateplace
        method: PUT
        description: Update Saved Place
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: place_id
          in: path
          type: string
          description: The name of the place (home or work).
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.UBER_API_KEY}}'
  exposes:
  - type: rest
    namespace: riders-places-rest
    port: 8080
    description: REST adapter for Uber Riders API — Places. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/places/{place-id}
      name: places-place-id
      description: REST surface for places-place_id.
      operations:
      - method: GET
        name: getplace
        description: Get Saved Place
        call: riders-places.getplace
        with:
          place_id: rest.place_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateplace
        description: Update Saved Place
        call: riders-places.updateplace
        with:
          place_id: rest.place_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: riders-places-mcp
    port: 9090
    transport: http
    description: MCP adapter for Uber Riders API — Places. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-saved-place
      description: Get Saved Place
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: riders-places.getplace
      with:
        place_id: tools.place_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-saved-place
      description: Update Saved Place
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: riders-places.updateplace
      with:
        place_id: tools.place_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.