Skip to main content
Glama
DynamoDB MCP Server

DynamoDB MCP Server

create_table

Creates a new DynamoDB table with specified key schema and optional global secondary indexes; the operation is asynchronous.

Instructions

Creates a new DynamoDB table with optional secondary indexes. This is an asynchronous operation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "table_name": "<table_name>",
      "attribute_definitions": "<attribute_definitions>",
      "key_schema": "<key_schema>"
    },
    "name": "create_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
key_schemaYesSpecifies primary key attributes of the table.
table_nameYesThe name of the table to create.
region_nameNoThe aws region to run the tool
billing_modeNoSpecifies if billing is PAY_PER_REQUEST or by provisioned throughput
attribute_definitionsYesDescribe the key schema for the table and indexes.
provisioned_throughputNoProvisioned throughput settings. Required if BillingMode is PROVISIONED.
global_secondary_indexesNoGSIs to be created on the table.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden, and it does deliver one genuinely important behavioral fact: the operation is asynchronous. However, it omits other material behavior such as cost implications of billing mode, what happens if the table already exists, whether creation is reversible, and how the caller should wait for completion.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and resource, then the single most consequential behavioral caveat. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Parameters and nesting are fully covered by the schema, so the main missing piece is behavioral: for a mutation tool with no annotations and no output schema, the agent gets no signal about permissions, cost, idempotency/error on name collision, or the return value (e.g., table ARN or status). The async note helps but does not close those gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented in the schema (including the PROVISIONED-dependency note on provisioned_throughput). The description only adds the notion of optional secondary indexes, which the schema already conveys, so it is a baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Creates a new DynamoDB table') plus a scope detail ('optional secondary indexes'), which maps directly onto the global_secondary_indexes parameter. It is clearly distinguishable by name from siblings like delete_table, describe_table, and update_table, though it does not explicitly say so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives, and no prerequisites are stated (e.g., that the table name must be unique, that billing_mode drives whether provisioned_throughput is required). The agent must infer all usage conditions from the schema alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.