naftiko: 1.0.0-alpha2 info: label: Amazon Athena API — Databases description: 'Amazon Athena API — Databases. 2 operations. Lead operation: Amazon Athena Get Database. Self-contained Naftiko capability covering one Amazon Athena business surface.' tags: - Amazon Athena - Databases created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_ATHENA_API_KEY: AMAZON_ATHENA_API_KEY capability: consumes: - type: http namespace: amazon-athena-databases baseUri: https://athena.us-east-1.amazonaws.com description: Amazon Athena API — Databases business capability. Self-contained, no shared references. resources: - name: ?Action=GetDatabase path: /?Action=GetDatabase operations: - name: getdatabase method: POST description: Amazon Athena Get Database outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=ListDatabases path: /?Action=ListDatabases operations: - name: listdatabases method: POST description: Amazon Athena List Databases outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_ATHENA_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-athena-databases-rest port: 8080 description: REST adapter for Amazon Athena API — Databases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/action-getdatabase name: action-getdatabase description: REST surface for ?Action=GetDatabase. operations: - method: POST name: getdatabase description: Amazon Athena Get Database call: amazon-athena-databases.getdatabase with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-listdatabases name: action-listdatabases description: REST surface for ?Action=ListDatabases. operations: - method: POST name: listdatabases description: Amazon Athena List Databases call: amazon-athena-databases.listdatabases with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-athena-databases-mcp port: 9090 transport: http description: MCP adapter for Amazon Athena API — Databases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-athena-get-database description: Amazon Athena Get Database hints: readOnly: true destructive: false idempotent: false call: amazon-athena-databases.getdatabase with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-list-databases description: Amazon Athena List Databases hints: readOnly: true destructive: false idempotent: false call: amazon-athena-databases.listdatabases with: body: tools.body outputParameters: - type: object mapping: $.