Skip to main content
Glama
giovanemartins

LocalStack MCP Server

dynamodb_query

Query a DynamoDB table in LocalStack using key condition expressions to filter and retrieve matching items.

Instructions

Query items in a DynamoDB table by key condition in LocalStack

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of items to return
tableNameYesTable name
filterExpressionNoAdditional filter expression
keyConditionExpressionYesKey condition expression (e.g. pk = :pk)
expressionAttributeValuesYesExpression attribute values as JSON string (e.g. {":pk": "123"})
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It only states the basic action and LocalStack context, but does not disclose return format, pagination behavior, or the safe read-only nature. This is a significant gap for a query tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no redundancy. It efficiently conveys purpose and context without wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters, no annotations, and no output schema, the description should explain return behavior or pagination, but it does not. The tool is relatively simple, but the description is too sparse to be fully complete for an agent, especially regarding what the query returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% description coverage for all five parameters, so the baseline is 3. The description adds little beyond the schema, only mentioning 'key condition' which maps to keyConditionExpression, but the schema already explains that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Query') and resource ('DynamoDB table'), and includes 'by key condition' which distinguishes it from siblings like dynamodb_scan and dynamodb_get_item. It clearly communicates the core operation and scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'by key condition' implies this tool is for key-condition queries, offering some usage context. However, it does not explicitly mention alternatives or when not to use it, leaving the agent to infer from the name and siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/giovanemartins/localstack-mcp-server'

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