Skip to main content
Glama

dynamodb_batch_execute

Execute multiple PartiQL statements in a batch to process DynamoDB operations efficiently.

Instructions

Execute multiple PartiQL statements in a batch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
statementsYesList of PartiQL statements to execute
parametersYesList of parameter lists for each statement

Implementation Reference

  • Core handler implementation for the dynamodb_batch_execute tool, invoking boto3 DynamoDB client's batch_execute_statement with the provided statements and parameters.
    elif name == "dynamodb_batch_execute": response = dynamodb_client.batch_execute_statement( Statements=[{ 'Statement': statement, 'Parameters': params } for statement, params in zip(arguments["statements"], arguments["parameters"])] )
  • Schema definition for the dynamodb_batch_execute tool, specifying input requirements for statements and parameters.
    Tool( name="dynamodb_batch_execute", description="Execute multiple PartiQL statements in a batch", inputSchema={ "type": "object", "properties": { "statements": { "type": "array", "description": "List of PartiQL statements to execute", "items": { "type": "string" } }, "parameters": { "type": "array", "description": "List of parameter lists for each statement", "items": { "type": "array" } } }, "required": ["statements", "parameters"] } ),
  • Tool registration via the MCP server's list_tools handler, which returns all AWS tools including dynamodb_batch_execute through 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