Tripadvisor · Capability

Tripadvisor Content API — Location Details

Tripadvisor Content API — Location Details. 1 operations. Lead operation: Get Location Details. Self-contained Naftiko capability covering one Tripadvisor business surface.

Run with Naftiko TripadvisorLocation Details

What You Can Do

GET
Getlocationdetails — Get Location Details
/v1/location/{locationid}/details

MCP Tools

get-location-details

Get Location Details

read-only idempotent

Capability Spec

content-location-details.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tripadvisor Content API — Location Details
  description: 'Tripadvisor Content API — Location Details. 1 operations. Lead operation: Get Location Details. Self-contained
    Naftiko capability covering one Tripadvisor business surface.'
  tags:
  - Tripadvisor
  - Location Details
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRIPADVISOR_API_KEY: TRIPADVISOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: content-location-details
    baseUri: https://api.content.tripadvisor.com/api/v1
    description: Tripadvisor Content API — Location Details business capability. Self-contained, no shared references.
    resources:
    - name: location-locationId-details
      path: /location/{locationId}/details
      operations:
      - name: getlocationdetails
        method: GET
        description: Get Location Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: key
      value: '{{env.TRIPADVISOR_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: content-location-details-rest
    port: 8080
    description: REST adapter for Tripadvisor Content API — Location Details. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/location/{locationid}/details
      name: location-locationid-details
      description: REST surface for location-locationId-details.
      operations:
      - method: GET
        name: getlocationdetails
        description: Get Location Details
        call: content-location-details.getlocationdetails
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: content-location-details-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tripadvisor Content API — Location Details. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-location-details
      description: Get Location Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: content-location-details.getlocationdetails
      outputParameters:
      - type: object
        mapping: $.