naftiko: 1.0.0-alpha2 info: label: Twitch Helix API — Entitlements description: 'Twitch Helix API — Entitlements. 1 operations. Lead operation: Twitch Get Drops Entitlements. Self-contained Naftiko capability covering one Twitch business surface.' tags: - Twitch - Entitlements created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWITCH_API_KEY: TWITCH_API_KEY capability: consumes: - type: http namespace: helix-entitlements baseUri: https://api.twitch.tv/helix description: Twitch Helix API — Entitlements business capability. Self-contained, no shared references. resources: - name: entitlements-drops path: /entitlements/drops operations: - name: getdropsentitlements method: GET description: Twitch Get Drops Entitlements outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: query type: string - name: user_id in: query type: string - name: game_id in: query type: string - name: fulfillment_status in: query type: string authentication: type: bearer token: '{{env.TWITCH_API_KEY}}' exposes: - type: rest namespace: helix-entitlements-rest port: 8080 description: REST adapter for Twitch Helix API — Entitlements. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/entitlements/drops name: entitlements-drops description: REST surface for entitlements-drops. operations: - method: GET name: getdropsentitlements description: Twitch Get Drops Entitlements call: helix-entitlements.getdropsentitlements with: id: rest.id user_id: rest.user_id game_id: rest.game_id fulfillment_status: rest.fulfillment_status outputParameters: - type: object mapping: $. - type: mcp namespace: helix-entitlements-mcp port: 9090 transport: http description: MCP adapter for Twitch Helix API — Entitlements. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twitch-get-drops-entitlements description: Twitch Get Drops Entitlements hints: readOnly: true destructive: false idempotent: true call: helix-entitlements.getdropsentitlements with: id: tools.id user_id: tools.user_id game_id: tools.game_id fulfillment_status: tools.fulfillment_status outputParameters: - type: object mapping: $.