Skip to main content
Glama

dynamodb_table_update

Modify DynamoDB table configurations to adjust attribute definitions and update table properties for AWS database management.

Instructions

Update a DynamoDB table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
table_nameYesName of the DynamoDB table
attribute_definitionsYesUpdated attribute definitions

Implementation Reference

  • Executes the dynamodb_table_update tool by calling boto3's update_table with the provided table name and attribute definitions.
    elif name == "dynamodb_table_update": update_params = { "TableName": arguments["table_name"], "AttributeDefinitions": arguments["attribute_definitions"] } response = dynamodb_client.update_table(**update_params)
  • Defines the input schema for the dynamodb_table_update tool, requiring table_name and attribute_definitions.
    Tool( name="dynamodb_table_update", description="Update a DynamoDB table", inputSchema={ "type": "object", "properties": { "table_name": { "type": "string", "description": "Name of the DynamoDB table" }, "attribute_definitions": { "type": "array", "description": "Updated attribute definitions" } }, "required": ["table_name", "attribute_definitions"] } ),
  • Registers the dynamodb_table_update tool (among others) with the MCP server by including it in the list returned from 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