Skip to main content
Glama

collect_messages

Collect buffered messages from an inbox, bin, front door or form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesresource id
allNoinclude already-collected

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavioral traits. However, it only names the sources and does not clarify side effects such as whether messages are removed or marked as collected, whether authorization is required, or what the return value looks like. The 'all' parameter hints at a collected state, but the description itself does not explain this.

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 that avoids redundancy. Every word contributes to understanding the tool's function without unnecessary elaboration.

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?

Given the tool has no output schema and no annotations, the description is incomplete. It does not explain what happens when messages are collected (e.g., whether they are deleted, returned, or marked as read) or how the 'all' parameter alters behavior. Users are left without critical information about the tool's outcome.

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

Parameters4/5

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

The schema covers both parameters (id and all), but the description adds meaningful context by clarifying that 'id' refers to one of the listed source types (inbox, bin, front door, form), which the schema's generic 'resource id' does not convey. This helps map parameters to real-world usage.

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 uses a specific verb ('collect') and resource ('buffered messages'), and lists the source types (inbox, bin, front door, form), which clearly differentiates it from sibling tools like queue_lease or attested_fetch. It is unambiguous about what the tool does.

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 description implies when to use the tool (when you have an inbox, bin, front door, or form with buffered messages) but provides no explicit guidance about when not to use it or which alternative tools might be preferred. It does not mention exclusions or prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources