Amazon Athena · Capability

Amazon Athena API — Tags

Amazon Athena API — Tags. 3 operations. Lead operation: Amazon Athena List Tags For Resource. Self-contained Naftiko capability covering one Amazon Athena business surface.

Run with Naftiko Amazon AthenaTags

What You Can Do

POST
Listtagsforresource — Amazon Athena List Tags For Resource
/v1/action-listtagsforresource
POST
Tagresource — Amazon Athena Tag Resource
/v1/action-tagresource
POST
Untagresource — Amazon Athena Untag Resource
/v1/action-untagresource

MCP Tools

amazon-athena-list-tags-resource

Amazon Athena List Tags For Resource

read-only
amazon-athena-tag-resource

Amazon Athena Tag Resource

amazon-athena-untag-resource

Amazon Athena Untag Resource

Capability Spec

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