naftiko: 1.0.0-alpha2 info: label: RAWG Video Games Database API — genres description: 'RAWG Video Games Database API — genres. 2 operations. Lead operation: Get a list of video game genres.. Self-contained Naftiko capability covering one Rawg business surface.' tags: - Rawg - genres created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAWG_API_KEY: RAWG_API_KEY capability: consumes: - type: http namespace: rawg-genres baseUri: https://api.rawg.io/api description: RAWG Video Games Database API — genres business capability. Self-contained, no shared references. resources: - name: genres path: /genres operations: - name: genreslist method: GET description: Get a list of video game genres. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: ordering in: query type: string description: Which field to use when ordering the results. - name: page in: query type: integer description: A page number within the paginated result set. - name: page_size in: query type: integer description: Number of results to return per page. - name: genres-id path: /genres/{id} operations: - name: genresread method: GET description: Get details of the genre. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: rawg-genres-rest port: 8080 description: REST adapter for RAWG Video Games Database API — genres. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/genres name: genres description: REST surface for genres. operations: - method: GET name: genreslist description: Get a list of video game genres. call: rawg-genres.genreslist with: ordering: rest.ordering page: rest.page page_size: rest.page_size outputParameters: - type: object mapping: $. - path: /v1/genres/{id} name: genres-id description: REST surface for genres-id. operations: - method: GET name: genresread description: Get details of the genre. call: rawg-genres.genresread outputParameters: - type: object mapping: $. - type: mcp namespace: rawg-genres-mcp port: 9090 transport: http description: MCP adapter for RAWG Video Games Database API — genres. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-video-game-genres description: Get a list of video game genres. hints: readOnly: true destructive: false idempotent: true call: rawg-genres.genreslist with: ordering: tools.ordering page: tools.page page_size: tools.page_size outputParameters: - type: object mapping: $. - name: get-details-genre description: Get details of the genre. hints: readOnly: true destructive: false idempotent: true call: rawg-genres.genresread outputParameters: - type: object mapping: $.