naftiko: 1.0.0-alpha2 info: label: AMC Theatres API — Theatres description: 'AMC Theatres API — Theatres. 3 operations. Lead operation: List All Active Theatres. Self-contained Naftiko capability covering one Amc Entertainment Holdings business surface.' tags: - Amc Entertainment Holdings - Theatres 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-theatres baseUri: https://api.amctheatres.com description: AMC Theatres API — Theatres business capability. Self-contained, no shared references. resources: - name: v2-theatres path: /v2/theatres operations: - name: listtheatres method: GET description: List All Active Theatres outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ids in: query type: string description: Comma-delimited list of theatre ids to filter by. - name: name in: query type: string description: Filter theatres whose name contains the specified text. - name: market in: query type: string description: Filter theatres in the specified market. - name: state in: query type: string description: Filter theatres in the specified state (required when `city` is given). - name: city in: query type: string description: Filter theatres in the specified city (requires `state`). - name: brand in: query type: string description: Filter theatres by brand abbreviation. - name: include in: query type: string description: Set to `closed` to include closed theatres. - name: v2-theatres-views-now-playing-wwm-release-number-wwm-release-number path: /v2/theatres/views/now-playing/wwm-release-number/{wwm-release-number} operations: - name: listtheatresbywwmrelease method: GET description: List Theatres Now Playing a WWM Release outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: wwm-release-number in: path type: string required: true - name: v2-theatres-idOrSlug path: /v2/theatres/{idOrSlug} operations: - name: gettheatre method: GET description: Get a Theatre by Id or Slug outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: idOrSlug in: path type: string description: The theatre id (integer) or theatre slug. 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-theatres-rest port: 8080 description: REST adapter for AMC Theatres API — Theatres. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/theatres name: v2-theatres description: REST surface for v2-theatres. operations: - method: GET name: listtheatres description: List All Active Theatres call: amc-theatres-theatres.listtheatres with: ids: rest.ids name: rest.name market: rest.market state: rest.state city: rest.city brand: rest.brand include: rest.include outputParameters: - type: object mapping: $. - path: /v1/v2/theatres/views/now-playing/wwm-release-number/{wwm-release-number} name: v2-theatres-views-now-playing-wwm-release-number-wwm-release-number description: REST surface for v2-theatres-views-now-playing-wwm-release-number-wwm-release-number. operations: - method: GET name: listtheatresbywwmrelease description: List Theatres Now Playing a WWM Release call: amc-theatres-theatres.listtheatresbywwmrelease with: wwm-release-number: rest.wwm-release-number outputParameters: - type: object mapping: $. - path: /v1/v2/theatres/{idorslug} name: v2-theatres-idorslug description: REST surface for v2-theatres-idOrSlug. operations: - method: GET name: gettheatre description: Get a Theatre by Id or Slug call: amc-theatres-theatres.gettheatre with: idOrSlug: rest.idOrSlug outputParameters: - type: object mapping: $. - type: mcp namespace: amc-theatres-theatres-mcp port: 9090 transport: http description: MCP adapter for AMC Theatres API — Theatres. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-active-theatres description: List All Active Theatres hints: readOnly: true destructive: false idempotent: true call: amc-theatres-theatres.listtheatres with: ids: tools.ids name: tools.name market: tools.market state: tools.state city: tools.city brand: tools.brand include: tools.include outputParameters: - type: object mapping: $. - name: list-theatres-now-playing-wwm description: List Theatres Now Playing a WWM Release hints: readOnly: true destructive: false idempotent: true call: amc-theatres-theatres.listtheatresbywwmrelease with: wwm-release-number: tools.wwm-release-number outputParameters: - type: object mapping: $. - name: get-theatre-id-slug description: Get a Theatre by Id or Slug hints: readOnly: true destructive: false idempotent: true call: amc-theatres-theatres.gettheatre with: idOrSlug: tools.idOrSlug outputParameters: - type: object mapping: $.