Strava · Capability

Strava API — Gear

Strava API — Gear. 1 operations. Lead operation: Get Equipment. Self-contained Naftiko capability covering one Strava business surface.

Run with Naftiko StravaGear

What You Can Do

GET
Getgearbyid — Get Equipment
/v1/gear/{id}

MCP Tools

get-equipment

Get Equipment

read-only idempotent

Capability Spec

strava-gear.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Strava API — Gear
  description: 'Strava API — Gear. 1 operations. Lead operation: Get Equipment. Self-contained Naftiko capability covering
    one Strava business surface.'
  tags:
  - Strava
  - Gear
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STRAVA_API_KEY: STRAVA_API_KEY
capability:
  consumes:
  - type: http
    namespace: strava-gear
    baseUri: https://www.strava.com/api/v3
    description: Strava API — Gear business capability. Self-contained, no shared references.
    resources:
    - name: gear-id
      path: /gear/{id}
      operations:
      - name: getgearbyid
        method: GET
        description: Get Equipment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The identifier of the gear item (e.g., b1234567)
          required: true
    authentication:
      type: bearer
      token: '{{env.STRAVA_API_KEY}}'
  exposes:
  - type: rest
    namespace: strava-gear-rest
    port: 8080
    description: REST adapter for Strava API — Gear. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/gear/{id}
      name: gear-id
      description: REST surface for gear-id.
      operations:
      - method: GET
        name: getgearbyid
        description: Get Equipment
        call: strava-gear.getgearbyid
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strava-gear-mcp
    port: 9090
    transport: http
    description: MCP adapter for Strava API — Gear. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-equipment
      description: Get Equipment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strava-gear.getgearbyid
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.