naftiko: 1.0.0-alpha2 info: label: AMC Theatres API — Locations description: 'AMC Theatres API — Locations. 3 operations. Lead operation: List Location Suggestions. Self-contained Naftiko capability covering one Amc Entertainment Holdings business surface.' tags: - Amc Entertainment Holdings - Locations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMC_ENTERTAINMENT_HOLDINGS_API_KEY: AMC_ENTERTAINMENT_HOLDINGS_API_KEY capability: consumes: - type: http namespace: amc-theatres-locations baseUri: https://api.amctheatres.com description: AMC Theatres API — Locations business capability. Self-contained, no shared references. resources: - name: v2-location-suggestions path: /v2/location-suggestions operations: - name: listlocationsuggestions method: GET description: List Location Suggestions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: query in: query type: string description: The user-entered text to suggest locations for. - name: v2-locations-states-state-name path: /v2/locations/states/{state-name} operations: - name: listlocationsbystate method: GET description: Get Locations in a State outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state-name in: path type: string required: true - name: v2-locations-theatres-theatre-name path: /v2/locations/theatres/{theatre-name} operations: - name: listlocationsbytheatrename method: GET description: Get Locations Matching Theatre Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: theatre-name in: path type: string required: true authentication: type: apikey key: X-AMC-Vendor-Key value: '{{env.AMC_ENTERTAINMENT_HOLDINGS_API_KEY}}' placement: header exposes: - type: rest namespace: amc-theatres-locations-rest port: 8080 description: REST adapter for AMC Theatres API — Locations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/location-suggestions name: v2-location-suggestions description: REST surface for v2-location-suggestions. operations: - method: GET name: listlocationsuggestions description: List Location Suggestions call: amc-theatres-locations.listlocationsuggestions with: query: rest.query outputParameters: - type: object mapping: $. - path: /v1/v2/locations/states/{state-name} name: v2-locations-states-state-name description: REST surface for v2-locations-states-state-name. operations: - method: GET name: listlocationsbystate description: Get Locations in a State call: amc-theatres-locations.listlocationsbystate with: state-name: rest.state-name outputParameters: - type: object mapping: $. - path: /v1/v2/locations/theatres/{theatre-name} name: v2-locations-theatres-theatre-name description: REST surface for v2-locations-theatres-theatre-name. operations: - method: GET name: listlocationsbytheatrename description: Get Locations Matching Theatre Name call: amc-theatres-locations.listlocationsbytheatrename with: theatre-name: rest.theatre-name outputParameters: - type: object mapping: $. - type: mcp namespace: amc-theatres-locations-mcp port: 9090 transport: http description: MCP adapter for AMC Theatres API — Locations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-location-suggestions description: List Location Suggestions hints: readOnly: true destructive: false idempotent: true call: amc-theatres-locations.listlocationsuggestions with: query: tools.query outputParameters: - type: object mapping: $. - name: get-locations-state description: Get Locations in a State hints: readOnly: true destructive: false idempotent: true call: amc-theatres-locations.listlocationsbystate with: state-name: tools.state-name outputParameters: - type: object mapping: $. - name: get-locations-matching-theatre-name description: Get Locations Matching Theatre Name hints: readOnly: true destructive: false idempotent: true call: amc-theatres-locations.listlocationsbytheatrename with: theatre-name: tools.theatre-name outputParameters: - type: object mapping: $.