Skip to main content
Glama
DynamoDB MCP Server

DynamoDB MCP Server

update_time_to_live

Enable or disable Time to Live (TTL) on a DynamoDB table by specifying the attribute name and enabled status; TTL expiration times use epoch seconds.

Instructions

Enables or disables Time to Live (TTL) for the specified table. Note: The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.

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>",
      "time_to_live_specification": "<time_to_live_specification>"
    },
    "name": "update_time_to_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
table_nameYesTable Name or Amazon Resource Name (ARN)
region_nameNoThe aws region to run the tool
time_to_live_specificationYesThe new TTL settings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it never states that enabling TTL causes items to be permanently deleted after expiry, whether the change is reversible, what permissions or propagation delay apply, or what the call returns. The one behavioral note it does add — the epoch time format definition — does not map to any parameter in the schema, so it reads as boilerplate rather than useful context for this call.

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

Conciseness3/5

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

The first sentence is tight and front-loaded with the actual capability. The second sentence is a definitional aside about epoch time that appears irrelevant to the exposed parameters, so it dilutes rather than earns its place.

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

Completeness2/5

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

For a state-changing operation with no annotations and no output schema, the definition omits the consequences that most affect an agent's decision: that TTL expiry deletes data irreversibly, that enabling requires an attribute name, and that changes are not instantaneous. What remains is an accurate but thin statement of capability.

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 the schema already documents table_name (name or ARN), region_name, and the TTL specification object, and the baseline is 3. The description adds no meaning beyond that — notably it does not explain what AttributeName is expected to reference — and its epoch-time note does not correspond to any parameter present.

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?

The description names a specific verb pair (enables or disables) and a specific resource (Time to Live for the specified table), so an agent can immediately tell this is the TTL mutation tool rather than the read counterpart describe_time_to_live. It stops short of explicitly naming or contrasting that sibling, which keeps it below a 5.

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?

There is no when-to-use guidance: nothing says to call this only after confirming current TTL state, and no alternative such as describe_time_to_live is mentioned. The only usage signal is the implied one carried by 'enables or disables', which is minimal for a configuration-changing tool.

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