naftiko: 1.0.0-alpha2 info: label: Tripadvisor Content API — Location Search description: 'Tripadvisor Content API — Location Search. 2 operations. Lead operation: Search for Nearby Locations. Self-contained Naftiko capability covering one Tripadvisor business surface.' tags: - Tripadvisor - Location Search 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-search baseUri: https://api.content.tripadvisor.com/api/v1 description: Tripadvisor Content API — Location Search business capability. Self-contained, no shared references. resources: - name: location-nearby_search path: /location/nearby_search operations: - name: searchfornearbylocations method: GET description: Search for Nearby Locations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: location-search path: /location/search operations: - name: searchforlocations method: GET description: Search for Locations 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-search-rest port: 8080 description: REST adapter for Tripadvisor Content API — Location Search. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/location/nearby-search name: location-nearby-search description: REST surface for location-nearby_search. operations: - method: GET name: searchfornearbylocations description: Search for Nearby Locations call: content-location-search.searchfornearbylocations outputParameters: - type: object mapping: $. - path: /v1/location/search name: location-search description: REST surface for location-search. operations: - method: GET name: searchforlocations description: Search for Locations call: content-location-search.searchforlocations outputParameters: - type: object mapping: $. - type: mcp namespace: content-location-search-mcp port: 9090 transport: http description: MCP adapter for Tripadvisor Content API — Location Search. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-nearby-locations description: Search for Nearby Locations hints: readOnly: true destructive: false idempotent: true call: content-location-search.searchfornearbylocations outputParameters: - type: object mapping: $. - name: search-locations description: Search for Locations hints: readOnly: true destructive: false idempotent: true call: content-location-search.searchforlocations outputParameters: - type: object mapping: $.