Skip to main content
Glama

aws_sqs_receive_message

Retrieve messages from an AWS SQS queue without removing them, using a brief visibility timeout to return messages quickly for inspection or processing.

Instructions

Receive (peek) messages from an SQS queue without deleting them. Uses a short visibility timeout so messages return to the queue quickly.

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')
queue_urlYesSQS queue URL
max_number_of_messagesNoMax messages to receive (1-10, default: 1)
visibility_timeoutNoSeconds to hide message from other consumers (default: 5)
Behavior4/5

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

With no annotations, the description carries full burden and successfully discloses the non-destructive nature ('without deleting') and timeout behavior ('messages return to the queue quickly'). Could improve by describing empty queue behavior or return payload structure.

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?

Two sentences, zero waste. Front-loaded with core action (receive/peek) and key distinction (no delete), followed by mechanism explanation (visibility timeout). Every word earns its place.

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

Completeness3/5

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

Lacks description of return values (message content, receipt handles, etc.) despite having no output schema. However, adequately covers the operational behavior for a 5-parameter tool with complete schema documentation.

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 has 100% description coverage, establishing baseline 3. The description adds context linking 'short visibility timeout' to the peek behavior but doesn't add syntax, format details, or semantic meaning beyond the schema definitions.

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 provides a specific verb ('Receive (peek)') and resource ('messages from an SQS queue'), and distinguishes from siblings by explicitly stating 'without deleting them' and contrasting with consume/delete patterns implied by 'peek' terminology.

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?

Implies usage pattern ('peek' vs full consumption) by stating messages aren't deleted and return quickly, but lacks explicit 'when to use' guidance or named alternatives for actual message deletion/processing.

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