Amazon Athena · Capability

Amazon Athena API — Table Metadata

Amazon Athena API — Table Metadata. 2 operations. Lead operation: Amazon Athena Get Table Metadata. Self-contained Naftiko capability covering one Amazon Athena business surface.

Run with Naftiko Amazon AthenaTable Metadata

What You Can Do

POST
Gettablemetadata — Amazon Athena Get Table Metadata
/v1/action-gettablemetadata
POST
Listtablemetadata — Amazon Athena List Table Metadata
/v1/action-listtablemetadata

MCP Tools

amazon-athena-get-table-metadata

Amazon Athena Get Table Metadata

read-only
amazon-athena-list-table-metadata

Amazon Athena List Table Metadata

read-only

Capability Spec

amazon-athena-table-metadata.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Athena API — Table Metadata
  description: 'Amazon Athena API — Table Metadata. 2 operations. Lead operation: Amazon Athena Get Table Metadata. Self-contained
    Naftiko capability covering one Amazon Athena business surface.'
  tags:
  - Amazon Athena
  - Table Metadata
  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-table-metadata
    baseUri: https://athena.us-east-1.amazonaws.com
    description: Amazon Athena API — Table Metadata business capability. Self-contained, no shared references.
    resources:
    - name: ?Action=GetTableMetadata
      path: /?Action=GetTableMetadata
      operations:
      - name: gettablemetadata
        method: POST
        description: Amazon Athena Get Table Metadata
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: ?Action=ListTableMetadata
      path: /?Action=ListTableMetadata
      operations:
      - name: listtablemetadata
        method: POST
        description: Amazon Athena List Table Metadata
        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-table-metadata-rest
    port: 8080
    description: REST adapter for Amazon Athena API — Table Metadata. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/action-gettablemetadata
      name: action-gettablemetadata
      description: REST surface for ?Action=GetTableMetadata.
      operations:
      - method: POST
        name: gettablemetadata
        description: Amazon Athena Get Table Metadata
        call: amazon-athena-table-metadata.gettablemetadata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/action-listtablemetadata
      name: action-listtablemetadata
      description: REST surface for ?Action=ListTableMetadata.
      operations:
      - method: POST
        name: listtablemetadata
        description: Amazon Athena List Table Metadata
        call: amazon-athena-table-metadata.listtablemetadata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-athena-table-metadata-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Athena API — Table Metadata. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: amazon-athena-get-table-metadata
      description: Amazon Athena Get Table Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-athena-table-metadata.gettablemetadata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-athena-list-table-metadata
      description: Amazon Athena List Table Metadata
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: amazon-athena-table-metadata.listtablemetadata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.