Skip to main content
Glama

dynamodb_item_delete

Remove specific items from a DynamoDB table using table name and key. Simplify data management with direct deletion via the AWS MCP Server.

Instructions

Delete an item from a DynamoDB table

Input Schema

NameRequiredDescriptionDefault
keyYesKey to identify the item
table_nameYesName of the DynamoDB table

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "Key to identify the item", "type": "object" }, "table_name": { "description": "Name of the DynamoDB table", "type": "string" } }, "required": [ "table_name", "key" ], "type": "object" }

Implementation Reference

  • The handler logic within handle_dynamodb_operations that executes the DynamoDB delete_item operation using the provided table_name and key arguments.
    elif name == "dynamodb_item_delete": response = dynamodb_client.delete_item( TableName=arguments["table_name"], Key=arguments["key"] )
  • Defines the input schema and description for the dynamodb_item_delete tool.
    Tool( name="dynamodb_item_delete", description="Delete an item from a DynamoDB table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" }, "key": { "type": "object", "description": "Key to identify the item" } }, "required": ["table_name", "key"] } ),
  • The MCP server.list_tools() handler that returns the list of tools including dynamodb_item_delete via get_aws_tools().
    async def list_tools() -> list[Tool]: """List available AWS tools""" logger.debug("Handling list_tools request") return get_aws_tools()

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