Skip to main content
Glama
Allentgt

dynamodb-mcp-server

by Allentgt

scan_table

Read-onlyIdempotent

Scan a DynamoDB table to fetch all items, with optional filtering to limit results. Ideal for browsing the full dataset when the partition key is unknown.

Instructions

Scan a DynamoDB table to read all items, optionally filtering results.

Scans read every item in the table (or index), consuming read capacity proportional to table size regardless of filters. Use queries when possible.

When to use:

  • To browse all items in a table

  • When you don't know the partition key value

  • For ad-hoc searches across all items

When NOT to use:

  • When you know the partition key (use query_table — much more efficient)

  • For large tables without filters (expensive and slow)

Returns: Items from the scan with count, scanned_count, and pagination key. Format controlled by 'format' parameter (json or markdown).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior; the description enhances this by warning that scans consume read capacity proportional to table size regardless of filters and that filters are applied after reads. It also documents the response includes count, scanned_count, and pagination key, adding operational context beyond the safe-read annotation.

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 well-structured with clear sections for usage, non-usage, and return values. Every sentence serves a purpose, and the total length is appropriate for the tool's complexity.

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

Completeness5/5

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

Given the tool's complexity (DynamoDB scan, filtering, pagination) and the strong annotations and schema, the description covers all critical aspects: performance implications, when to use alternatives, and response contents. It also aligns with the output schema's mention of format, making it a complete guide.

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 0%, so the description must compensate. It does mention the 'format' parameter and its values (json or markdown), and notes that filter_expression does not reduce read capacity, but it does not explain other parameters like table_name, limit, index_name, exclusive_start_key, or expression attribute placeholders. Since the schema itself provides detailed descriptions for all parameters, the description adds marginal value but not enough to fully cover the low coverage gap, warranting a mid score.

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 clearly defines the tool's function with 'Scan a DynamoDB table to read all items' and distinguishes it from the sibling tool by explicitly referencing query_table as a more efficient alternative. This makes its purpose specific and non-overlapping.

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?

The description provides explicit 'When to use' and 'When NOT to use' sections, including concrete scenarios such as browsing all items or not knowing the partition key. It also names the alternative tool (query_table) and warns against scanning large tables without filters, giving clear decision criteria.

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/Allentgt/dynamodb-mcp-server'

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