Skip to main content
Glama

dynamodb_item_update

Update specific item data in a DynamoDB table by providing the table name, key, and updated item details. Part of the AWS MCP Server for managing DynamoDB operations.

Instructions

Update an item in a DynamoDB table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYesUpdated item data
keyYesKey to identify the item
table_nameYesName of the DynamoDB table

Implementation Reference

  • Executes the dynamodb_item_update tool by calling boto3 dynamodb_client.update_item with the provided table_name, key, and AttributeUpdates from the item argument.
    ) elif name == "dynamodb_item_delete": response = dynamodb_client.delete_item( TableName=arguments["table_name"], Key=arguments["key"] )
  • Defines the Tool object for dynamodb_item_update, including its name, description, and inputSchema requiring table_name (string), key (object), and item (object).
    Tool( name="dynamodb_item_update", description="Update an item in 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" }, "item": { "type": "object", "description": "Updated item data" } }, "required": ["table_name", "key", "item"] } ),
  • Registers the dynamodb_item_update tool (among other AWS tools) by returning get_aws_tools() from the list_tools handler, which includes get_dynamodb_tools() containing the tool definition.
    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