Skip to main content
Glama

dynamodb_item_get

Retrieve specific items from Amazon DynamoDB tables using primary keys to access stored data for analysis or processing.

Instructions

Get an item from a DynamoDB table

Input Schema

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

Implementation Reference

  • Handler logic for the 'dynamodb_item_get' tool. Calls boto3 dynamodb_client.get_item() with the provided table_name and key from arguments.
    elif name == "dynamodb_item_get": response = dynamodb_client.get_item( TableName=arguments["table_name"], Key=arguments["key"] )
  • Input schema definition for the 'dynamodb_item_get' tool, specifying table_name (string) and key (object) as required parameters.
    Tool( name="dynamodb_item_get", description="Get an item from 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" } }, "required": ["table_name", "key"] } ),
  • Registers the 'dynamodb_item_get' tool (among others) via the MCP server.list_tools() handler by returning get_aws_tools(), which includes it.
    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