Skip to main content
Glama

dynamodb_table_update

Modify a DynamoDB table by updating its attribute definitions using the AWS MCP Server. Ensure accurate and efficient schema changes for your database setup.

Instructions

Update a DynamoDB table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attribute_definitionsYesUpdated attribute definitions
table_nameYesName of the DynamoDB table

Implementation Reference

  • Executes the dynamodb_table_update tool by calling AWS DynamoDB 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, specifying table_name and attribute_definitions as required parameters.
    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 (indirectly via get_aws_tools() which includes get_dynamodb_tools()) in the MCP server's tool list.
    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