Skip to main content
Glama

list_batch_mail

Read-onlyIdempotent

The caller's batches, newest first. Sandbox keys list sandbox batches only; agent keys see their own agent's batches.

Input Schema

NameRequiredDescriptionDefault
limitNoPage size, default 25.
offsetNoBatches to skip, default 0.
statusNoOnly batches in this status.

Output Schema

NameRequiredDescriptionDefault
resultYesbatches and pagination.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile needs no restating. The description adds genuinely non-obvious context: results are key-scoped, with sandbox keys seeing only sandbox batches and agent keys only their own agent's batches. It stops short of describing pagination traversal or result volume.

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 compact sentences with no filler; the ordering and scope information comes first, and the key-type nuance follows. Every clause carries information an agent would otherwise have to guess.

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?

With a full output schema and rich annotations, the description only needs to cover access scoping — which it does — and ordering. The one remaining gap is pagination semantics (offset-based traversal, no total-count hint), which is minor given the schema documents limit/offset.

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% — limit, offset, and status are each documented, and status has an enum. The description adds nothing param-specific beyond the 'newest first' ordering note, so the baseline 3 applies when the schema carries the parameter burden.

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

Purpose4/5

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

The fragment "The caller's batches, newest first" combined with the name clearly identifies a collection-listing operation over batch mail, including scope (caller's own) and ordering. It does not explicitly distinguish itself from siblings like get_batch_mail (single fetch) or list_outbound_mail, but the resource is unambiguous.

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 sentence about sandbox keys vs agent keys tells an agent what it will see, which implicitly frames when the tool is appropriate. However, there is no explicit 'use this instead of X' guidance against get_batch_mail or list_outbound_mail, and no stated preconditions for calling it.

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.