Amazon DocumentDB · Capability

Amazon DocumentDB API

Amazon DocumentDB API. 2 operations. Lead operation: Amazon DocumentDB Create DB Cluster. Self-contained Naftiko capability covering one Amazon Documentdb business surface.

Run with Naftiko Amazon Documentdb

What You Can Do

POST
Createdbcluster — Amazon DocumentDB Create DB Cluster
/v1
GET
Describedbclusters — Amazon DocumentDB Describe DB Clusters
/v1

MCP Tools

amazon-documentdb-create-db-cluster

Amazon DocumentDB Create DB Cluster

amazon-documentdb-describe-db-clusters

Amazon DocumentDB Describe DB Clusters

read-only idempotent

Capability Spec

amazon-documentdb-general.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DocumentDB API
  description: 'Amazon DocumentDB API. 2 operations. Lead operation: Amazon DocumentDB Create DB Cluster. Self-contained Naftiko
    capability covering one Amazon Documentdb business surface.'
  tags:
  - Amazon Documentdb
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_DOCUMENTDB_API_KEY: AMAZON_DOCUMENTDB_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-documentdb-general
    baseUri: https://rds.amazonaws.com
    description: Amazon DocumentDB API business capability. Self-contained, no shared references.
    resources:
    - name: root
      path: /
      operations:
      - name: createdbcluster
        method: POST
        description: Amazon DocumentDB Create DB Cluster
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: describedbclusters
        method: GET
        description: Amazon DocumentDB Describe DB Clusters
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Action
          in: query
          type: string
          required: true
        - name: Version
          in: query
          type: string
          required: true
        - name: DBClusterIdentifier
          in: query
          type: string
          description: The identifier of the cluster to describe.
        - name: MaxRecords
          in: query
          type: integer
          description: The maximum number of records to include in the response.
        - name: Marker
          in: query
          type: string
          description: An optional pagination token provided by a previous request.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_DOCUMENTDB_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-documentdb-general-rest
    port: 8080
    description: REST adapter for Amazon DocumentDB API. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1
      name: root
      description: REST surface for root.
      operations:
      - method: POST
        name: createdbcluster
        description: Amazon DocumentDB Create DB Cluster
        call: amazon-documentdb-general.createdbcluster
        with:
          Action: rest.Action
          Version: rest.Version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: describedbclusters
        description: Amazon DocumentDB Describe DB Clusters
        call: amazon-documentdb-general.describedbclusters
        with:
          Action: rest.Action
          Version: rest.Version
          DBClusterIdentifier: rest.DBClusterIdentifier
          MaxRecords: rest.MaxRecords
          Marker: rest.Marker
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-documentdb-general-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DocumentDB API. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: amazon-documentdb-create-db-cluster
      description: Amazon DocumentDB Create DB Cluster
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-documentdb-general.createdbcluster
      with:
        Action: tools.Action
        Version: tools.Version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-documentdb-describe-db-clusters
      description: Amazon DocumentDB Describe DB Clusters
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-documentdb-general.describedbclusters
      with:
        Action: tools.Action
        Version: tools.Version
        DBClusterIdentifier: tools.DBClusterIdentifier
        MaxRecords: tools.MaxRecords
        Marker: tools.Marker
      outputParameters:
      - type: object
        mapping: $.