naftiko: 1.0.0-alpha2 info: label: RAWG Video Games Database API — platforms description: 'RAWG Video Games Database API — platforms. 3 operations. Lead operation: Get a list of video game platforms.. Self-contained Naftiko capability covering one Rawg business surface.' tags: - Rawg - platforms created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAWG_API_KEY: RAWG_API_KEY capability: consumes: - type: http namespace: rawg-platforms baseUri: https://api.rawg.io/api description: RAWG Video Games Database API — platforms business capability. Self-contained, no shared references. resources: - name: platforms path: /platforms operations: - name: platformslist method: GET description: Get a list of video game platforms. 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: platforms-lists-parents path: /platforms/lists/parents operations: - name: platformslistsparentslist method: GET description: Get a list of parent platforms. 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: platforms-id path: /platforms/{id} operations: - name: platformsread method: GET description: Get details of the platform. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: rawg-platforms-rest port: 8080 description: REST adapter for RAWG Video Games Database API — platforms. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/platforms name: platforms description: REST surface for platforms. operations: - method: GET name: platformslist description: Get a list of video game platforms. call: rawg-platforms.platformslist with: ordering: rest.ordering page: rest.page page_size: rest.page_size outputParameters: - type: object mapping: $. - path: /v1/platforms/lists/parents name: platforms-lists-parents description: REST surface for platforms-lists-parents. operations: - method: GET name: platformslistsparentslist description: Get a list of parent platforms. call: rawg-platforms.platformslistsparentslist with: ordering: rest.ordering page: rest.page page_size: rest.page_size outputParameters: - type: object mapping: $. - path: /v1/platforms/{id} name: platforms-id description: REST surface for platforms-id. operations: - method: GET name: platformsread description: Get details of the platform. call: rawg-platforms.platformsread outputParameters: - type: object mapping: $. - type: mcp namespace: rawg-platforms-mcp port: 9090 transport: http description: MCP adapter for RAWG Video Games Database API — platforms. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-video-game-platforms description: Get a list of video game platforms. hints: readOnly: true destructive: false idempotent: true call: rawg-platforms.platformslist with: ordering: tools.ordering page: tools.page page_size: tools.page_size outputParameters: - type: object mapping: $. - name: get-list-parent-platforms description: Get a list of parent platforms. hints: readOnly: true destructive: false idempotent: true call: rawg-platforms.platformslistsparentslist with: ordering: tools.ordering page: tools.page page_size: tools.page_size outputParameters: - type: object mapping: $. - name: get-details-platform description: Get details of the platform. hints: readOnly: true destructive: false idempotent: true call: rawg-platforms.platformsread outputParameters: - type: object mapping: $.