Skip to main content
Glama

dynamodb_item_put

Insert or update an item in a DynamoDB table by specifying the table name and item data, enabling efficient data management within AWS infrastructure.

Instructions

Put an item into a DynamoDB table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYesItem data to put
table_nameYesName of the DynamoDB table

Implementation Reference

  • Executes the DynamoDB put_item operation directly using the boto3 dynamodb_client with the provided table_name and item.
    elif name == "dynamodb_item_put": response = dynamodb_client.put_item( TableName=arguments["table_name"], Item=arguments["item"] )
  • Defines the tool schema including input validation for table_name and item parameters.
    Tool( name="dynamodb_item_put", description="Put an item into a DynamoDB table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" }, "item": { "type": "object", "description": "Item data to put" } }, "required": ["table_name", "item"] } ),
  • Registers the list_tools handler which returns all AWS tools, including dynamodb_item_put 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