Skip to main content
Glama

aws_dynamodb_query

Query AWS DynamoDB tables using key condition expressions to retrieve items as JSON objects, with support for filters, indexes, and sorting.

Instructions

Query a DynamoDB table using a key condition expression. Items are returned deserialized as plain JSON objects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profileNoAWS profile name from ~/.aws/config (e.g., 'default', 'production')
regionNoAWS region override (e.g., 'us-east-1', 'sa-east-1')
table_nameYesDynamoDB table name
key_condition_expressionYesKey condition (e.g., 'pk = :pkval AND begins_with(sk, :skprefix)')
expression_attribute_valuesYesValues for expression placeholders in DynamoDB format (e.g., {":pkval": {"S": "user#123"}})
expression_attribute_namesNoName placeholders for reserved words (e.g., {"#s": "status"})
filter_expressionNoAdditional filter applied after the query
index_nameNoName of a GSI or LSI to query
limitNoMaximum items to evaluate
scan_index_forwardNoTrue for ascending order, False for descending (default: True)
Install Server

Other 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/marcelobrake/aws-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server