Skip to main content
Glama

aws_dynamodb_scan

Retrieve all items from a DynamoDB table for analysis or data export. Apply filters to narrow results and set limits for large datasets. Use query operations when partition keys are known.

Instructions

Scan a DynamoDB table (reads every item). Use sparingly on large tables. Prefer query when you know the partition key.

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
filter_expressionNoFilter expression (e.g., '#s = :val')
expression_attribute_valuesNoValues in DynamoDB format (e.g., {":val": {"S": "active"}})
expression_attribute_namesNoName placeholders (e.g., {"#s": "status"})
limitNoMaximum items to evaluate (default: 100)
Behavior3/5

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

No annotations provided, so description carries full burden. It successfully discloses the exhaustive nature ('reads every item') and cost implications ('use sparingly'), but lacks critical operational details like pagination behavior (NextToken/LastEvaluatedKey), consistency model, or read capacity consumption that agents need for safe invocation.

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?

Three sentences, zero waste. Front-loaded with the action ('Scan a DynamoDB table'), followed by critical warnings and alternative guidance. Every clause earns its place in guiding agent selection.

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

Completeness4/5

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

Given 7 parameters with nested objects and no output schema, the description adequately covers the primary selection criteria (operation type, cost warnings, and query alternative). However, it lacks return value documentation and pagination semantics which would be necessary for complete operational understanding.

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?

Schema description coverage is 100%, establishing a baseline of 3. The description does not add parameter-specific semantics, examples, or syntax guidance beyond what the schema already provides for the complex expression attributes and DynamoDB format objects.

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?

Excellent specificity: 'Scan' is the exact API operation, 'DynamoDB table' identifies the resource, and '(reads every item)' clarifies the exhaustive scope. Critically, it distinguishes from the sibling aws_dynamodb_query tool by stating when to prefer that alternative.

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

Usage Guidelines5/5

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

Provides explicit guidance: 'Use sparingly on large tables' warns against expensive operations, and 'Prefer query when you know the partition key' directly names the alternative tool and condition for using it. Covers both when-not-to-use and alternatives.

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

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