Skip to main content
Glama

dynamodb_table_delete

Delete a DynamoDB table by specifying its name to remove unused or outdated data storage from AWS.

Instructions

Delete a DynamoDB table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_nameYesName of the DynamoDB table

Implementation Reference

  • The core handler logic within handle_dynamodb_operations that performs the DynamoDB table deletion using the boto3 client.
    elif name == "dynamodb_table_delete": response = dynamodb_client.delete_table( TableName=arguments["table_name"])
  • Defines the Tool schema including inputSchema for validating the table_name parameter.
    Tool( name="dynamodb_table_delete", description="Delete a DynamoDB table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" } }, "required": ["table_name"] } ),
  • Registers the tool by including it in the list_tools response via get_aws_tools() which sources from get_dynamodb_tools().
    async def list_tools() -> list[Tool]: """List available AWS tools""" logger.debug("Handling list_tools request") return get_aws_tools()
  • Dispatches calls to dynamodb_table_delete to the appropriate handler function based on name prefix.
    return await handle_dynamodb_operations(aws, name, arguments)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rishikavikondala/mcp-server-aws'

If you have feedback or need assistance with the MCP directory API, please join our Discord server