dynamodb_table_describe
Retrieve detailed information about a DynamoDB table by specifying its name. This tool helps users understand table structure, settings, and metadata for effective data management.
Instructions
Get details about a DynamoDB table
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the DynamoDB table |
Implementation Reference
- src/mcp_server_aws/server.py:194-196 (handler)Executes the DynamoDB describe_table operation using the boto3 client with the user-provided table_name argument.elif name == "dynamodb_table_describe": response = dynamodb_client.describe_table( TableName=arguments["table_name"])
- src/mcp_server_aws/tools.py:144-153 (schema)Defines the input schema for the tool, which requires a single 'table_name' string property.inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" } }, "required": ["table_name"] }
- src/mcp_server_aws/tools.py:141-154 (registration)Registers the tool in the get_dynamodb_tools() function by creating and returning the Tool object with name, description, and schema.Tool( name="dynamodb_table_describe", description="Get details about a DynamoDB table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" } }, "required": ["table_name"] } ),