Skip to main content
Glama

list_inbound_items

Read-onlyIdempotent

Search managed-renter physical mail through GET /v1/inbound-items?search_mode=documents. q uses literal AND terms across authorized saved metadata, exterior OCR and completed requested inside-page OCR (NFKC/lowercase, max 200 characters and 12 terms). Terms may match different pages of one item. received_after is inclusive and received_before exclusive; these filter intake time, never a printed letter date. status and kind narrow canonical item metadata. Sender/address terms use q; identify them from actual page evidence, not guessed fields. Returns item metadata and canonical owner/mailbox identity, not page text. Use get_inbound_item_sources for selected items. Saved-data reads only: no extraction, retry, signed image URL, facility action, provider call, email or charge. Exterior automation and authorized inside-page extraction have independent activation; these readers do not enable either. Limit 1–50 (default 25), offset 0–10000; follow pagination.has_more using offset plus returned count, stop at the cap and narrow query/date windows or report incomplete history. Results are not snapshot-consistent. Bound concurrency, honor Retry-After when present, back off on transient failures, and stop on access errors. No new exterior-ready webhook or unbounded export is promised. Requires saved-document reads enabled for the account, an active eligible managed mailbox, and both inbound.item.read and inbound.item.scan.read, even for empty searches. Live member keys are owner-scoped; Live agent keys see only their current assigned mail. No facility, Sandbox or package.read compatibility access. Stop on denial; never switch keys, accounts or mail APIs to bypass it. A member key cannot select agent duties; use get_mailbox_md separately with the intended agent's agent.read scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoLiteral AND search of authorized saved metadata and OCR; NFKC/lowercase, at most 200 characters and 12 terms. No fuzzy search or new extraction.
kindNo
limitNo
offsetNo
statusNo
received_afterNoInclusive canonical intake time (RFC3339 with timezone, up to six fractional-second digits); not a date printed in a letter.
received_beforeNoExclusive canonical intake time (RFC3339 with timezone, up to six fractional-second digits); not a date inferred from OCR.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, and non-destructive. The description adds substantial behavioral detail: 'Saved-data reads only', 'Results are not snapshot-consistent', 'Bound concurrency, honor Retry-After... back off on transient failures', and scope restrictions. It also clarifies that these readers do not enable exterior automation or inside-page extraction beyond already-authorized data. No contradiction with annotations.

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 long but logically organized: search semantics → filters → return type → exclusions → pagination → consistency → rate limits → auth requirements. It is front-loaded with the core purpose and every sentence carries information not already present in the schema or annotations. For a tool with 7 parameters and many behavioral constraints, the length is justified.

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 output schema exists and the tool's complexity (search semantics, date filtering, pagination limits, scopes, concurrency, error handling), the description covers every invocation-relevant aspect. It even addresses edge cases like empty-search scope requirements and the prohibition on switching keys or accounts. Nothing an agent needs to call it correctly is missing.

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

Parameters5/5

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

Schema description coverage is only 43%, but the description compensates thoroughly. It explains q's literal AND behavior, NFKC/lowercase normalization, 200-character/12-term limits, and cross-page matching. It clarifies received_after/before as inclusive/exclusive intake-time filters, and provides pagination guidance for limit/offset: 'follow pagination.has_more using offset plus returned count'. This prevents ambiguity for undocumented parameters.

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 opens with a specific verb-resource pair: 'Search managed-renter physical mail through GET /v1/inbound-items?search_mode=documents.' It also clarifies what it returns ('item metadata and canonical owner/mailbox identity, not page text') and explicitly directs to a sibling for page sources, which distinguishes it from related tools.

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 explicitly names an alternative ('Use get_inbound_item_sources for selected items') and lists many non-goals ('no extraction, retry, signed image URL, facility action, provider call, email or charge'). It also provides prerequisites (saved-document reads, active managed mailbox, required scopes) and detailed pagination/error-handling guidance, giving an agent clear when-to-use and when-not-to-use context.

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