Skip to main content
Glama

List held emails

list_held_emails
Read-onlyIdempotent

The emails Trackberry is holding because it could not trust the sender, waiting for a member to release or dismiss them, newest first. Each has an id such as "msg_5120" (the one release_held_email and dismiss_held_email take), the sender_email, whether the address was a known_sender (a member or an approved sender), the authentication result (result "dkim", "spf" or "none" and, for a failure, failure: unsigned, signed_by_other_domain, signature_broken or ambiguous_headers), the shipment it threads onto (shipment_id, shipment_reference, transport_reference) and when it was received and held. A held email is a stranger's, or a forgery, until a member vouches for it, so its body, summary and attachments are never shown, and neither are the sender's name and the subject, which the sender chose. Use it for "are any emails waiting", "who is trying to reach this shipment" and before release_held_email or dismiss_held_email.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_held_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 100.
starting_afterNoPaging cursor: the id of the last result of the previous page. Only when has_more was true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), but the description adds real behavioral context beyond them: the body, summary, attachments, sender name and subject are never shown because the sender is untrusted. That redaction behavior is exactly what an agent needs to avoid promising content that isn't in the response. Only the lack of any note on paging envelope/limits keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with what a held email is and what the list returns, and there is no filler. The long parenthetical enumerating every returned field and authentication failure value is dense but does real work as a return-value substitute; it could be split into a short field list for readability.

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?

With no output schema, the description carries the full burden of describing return values, and it does so thoroughly: id format, sender_email, known_sender, authentication results and failure variants, and shipment threading fields. Combined with the explicit use cases, an agent has everything needed to call and interpret it.

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 coverage is 100%, so limit and starting_after are already documented in the schema. The description's "newest first" note implies why paging matters, but it adds no syntax or cursor guidance beyond the schema. Baseline 3 applies.

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 names a specific verb and resource (listing emails held because the sender could not be trusted) and states the ordering (newest first). It also distinguishes this tool from release_held_email and dismiss_held_email by explaining that those take the ids this list returns.

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?

It gives concrete invocation scenarios: "are any emails waiting", "who is trying to reach this shipment", and explicitly recommends calling it before release_held_email or dismiss_held_email. The routing to the sibling mutation tools is unambiguous.

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