Amazon DynamoDB · Capability

Amazon DynamoDB API — Queries

Amazon DynamoDB API — Queries. 2 operations. Lead operation: Amazon Dynamodb Query Items by Primary Key. Self-contained Naftiko capability covering one Dynamodb business surface.

Run with Naftiko DynamodbQueries

What You Can Do

POST
Query — Amazon Dynamodb Query Items by Primary Key
/v1/query
POST
Scan — Amazon Dynamodb Scan an Entire Table or Index
/v1/scan

MCP Tools

amazon-dynamodb-query-items-primary

Amazon Dynamodb Query Items by Primary Key

read-only
amazon-dynamodb-scan-entire-table

Amazon Dynamodb Scan an Entire Table or Index

Capability Spec

dynamodb-queries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DynamoDB API — Queries
  description: 'Amazon DynamoDB API — Queries. 2 operations. Lead operation: Amazon Dynamodb Query Items by Primary Key. Self-contained
    Naftiko capability covering one Dynamodb business surface.'
  tags:
  - Dynamodb
  - Queries
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DYNAMODB_API_KEY: DYNAMODB_API_KEY
capability:
  consumes:
  - type: http
    namespace: dynamodb-queries
    baseUri: https://dynamodb.{region}.amazonaws.com
    description: Amazon DynamoDB API — Queries business capability. Self-contained, no shared references.
    resources:
    - name: '#Query'
      path: /#Query
      operations:
      - name: query
        method: POST
        description: Amazon Dynamodb Query Items by Primary Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: '#Scan'
      path: /#Scan
      operations:
      - name: scan
        method: POST
        description: Amazon Dynamodb Scan an Entire Table or Index
        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.DYNAMODB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: dynamodb-queries-rest
    port: 8080
    description: REST adapter for Amazon DynamoDB API — Queries. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/query
      name: query
      description: 'REST surface for #Query.'
      operations:
      - method: POST
        name: query
        description: Amazon Dynamodb Query Items by Primary Key
        call: dynamodb-queries.query
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/scan
      name: scan
      description: 'REST surface for #Scan.'
      operations:
      - method: POST
        name: scan
        description: Amazon Dynamodb Scan an Entire Table or Index
        call: dynamodb-queries.scan
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dynamodb-queries-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DynamoDB API — Queries. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-dynamodb-query-items-primary
      description: Amazon Dynamodb Query Items by Primary Key
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: dynamodb-queries.query
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-dynamodb-scan-entire-table
      description: Amazon Dynamodb Scan an Entire Table or Index
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dynamodb-queries.scan
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.