naftiko: 1.0.0-alpha2 info: label: AMC Theatres API — States description: 'AMC Theatres API — States. 2 operations. Lead operation: List All States. Self-contained Naftiko capability covering one Amc Entertainment Holdings business surface.' tags: - Amc Entertainment Holdings - States 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-states baseUri: https://api.amctheatres.com description: AMC Theatres API — States business capability. Self-contained, no shared references. resources: - name: v1-states path: /v1/states operations: - name: liststates method: GET description: List All States outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-states-state-slug path: /v1/states/{state-slug} operations: - name: getstate method: GET description: Get State By Slug outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state-slug 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-states-rest port: 8080 description: REST adapter for AMC Theatres API — States. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/states name: v1-states description: REST surface for v1-states. operations: - method: GET name: liststates description: List All States call: amc-theatres-states.liststates outputParameters: - type: object mapping: $. - path: /v1/v1/states/{state-slug} name: v1-states-state-slug description: REST surface for v1-states-state-slug. operations: - method: GET name: getstate description: Get State By Slug call: amc-theatres-states.getstate with: state-slug: rest.state-slug outputParameters: - type: object mapping: $. - type: mcp namespace: amc-theatres-states-mcp port: 9090 transport: http description: MCP adapter for AMC Theatres API — States. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-states description: List All States hints: readOnly: true destructive: false idempotent: true call: amc-theatres-states.liststates outputParameters: - type: object mapping: $. - name: get-state-slug description: Get State By Slug hints: readOnly: true destructive: false idempotent: true call: amc-theatres-states.getstate with: state-slug: tools.state-slug outputParameters: - type: object mapping: $.