dynamodb_describe_ttl
Retrieve Time-to-Live (TTL) settings for a specified DynamoDB table using the AWS MCP Server. Input the table name to access TTL configuration details.
Instructions
Get the TTL settings for a table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the DynamoDB table |
Input Schema (JSON Schema)
{
"properties": {
"table_name": {
"description": "Name of the DynamoDB table",
"type": "string"
}
},
"required": [
"table_name"
],
"type": "object"
}
Implementation Reference
- src/mcp_server_aws/server.py:208-211 (handler)Executes the core logic for the 'dynamodb_describe_ttl' tool by calling describe_time_to_live on the DynamoDB client with the provided table name.elif name == "dynamodb_describe_ttl": response = dynamodb_client.describe_time_to_live( TableName=arguments["table_name"] )
- src/mcp_server_aws/tools.py:386-399 (schema)Defines the input schema and metadata for the 'dynamodb_describe_ttl' tool, specifying that a 'table_name' string is required.Tool( name="dynamodb_describe_ttl", description="Get the TTL settings for a table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" } }, "required": ["table_name"] } ),
- src/mcp_server_aws/server.py:136-140 (registration)Registers the tool by including it in the list of available tools returned via get_aws_tools(), which is called in response to list_tools requests.async def list_tools() -> list[Tool]: """List available AWS tools""" logger.debug("Handling list_tools request") return get_aws_tools()