Skip to main content
Glama

list_agent_inbox

Read-onlyIdempotent

Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. List/search current assigned postal mail using the same /v1/agent-inbox service. q is literal AND search of IDs, stored metadata and authorized stored OCR (NFKC/lowercase, max 200 characters and 12 terms), before pagination; nonempty q additionally needs agent.read. When indexed-source reads are enabled for the account, indexed search includes saved exterior and requested-content pages, including later sample captures. Optional received_after (inclusive) and received_before (exclusive) require that rollout and both read scopes; they filter the stored intake timestamp, not a date printed on a letter. Sender and address keywords match through q and OCR text; there is no separate sender field. Returns metadata, not text. No fuzzy search or new OCR. Sandbox sees isolated fixtures and enabled assigned member samples; Live sees approved assigned private mail. Pagination uses pagination.next_offset up to offset 10000. Required scopes: agent.inbox.read. Agent-scoped bearer key required; member/facility keys cannot impersonate an agent. Rollout switches, current member approval, assignment, credential environment and SQL authorization are shared with REST.

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_agent_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoLiteral AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal.
limitNoPage size, 1–50 (default 25).
offsetNoItems to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot.
received_afterNoInclusive intake time (ISO 8601 with offset): when the facility logged the item, not a printed date.
received_beforeNoExclusive intake time (ISO 8601 with offset); later than received_after.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip, 0–10000 (default 0). Advance by the number returned while more remain; results are a current view, not a snapshot."New value: +"Items to skip, 0–10000 (default 0). The next page starts at offset plus the number returned; results are a current view, not a snapshot."
    • changedInput schema / properties / q / description
      Previous value: -"Literal AND search: every term (max 12, 200 characters, NFKC-normalized and lowercased) must appear in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal."New value: +"Literal AND search: matches items where every term (max 12, 200 characters, NFKC-normalized and lowercased) appears in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal."
    • changedInput schema / properties / received_after / description
      Previous value: -"Inclusive intake time (ISO 8601 with offset): when the facility logged the item, never a printed date."New value: +"Inclusive intake time (ISO 8601 with offset): when the facility logged the item, not a printed date."
    • changedInput schema / properties / received_before / description
      Previous value: -"Exclusive intake time (ISO 8601 with offset); must be after received_after."New value: +"Exclusive intake time (ISO 8601 with offset); later than received_after."
  2. Changed5 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Page size, 1–50 (default 25)."
    • addedInput schema / properties / offset / description
      Added value: +"Items to skip, 0–10000 (default 0). Advance by the number returned while more remain; results are a current view, not a snapshot."
    • addedInput schema / properties / q / description
      Added value: +"Literal AND search: every term (max 12, 200 characters, NFKC-normalized and lowercased) must appear in the reference, the sender line or the OCR text of a readable page. Not fuzzy; punctuation is literal."
    • addedInput schema / properties / received_after / description
      Added value: +"Inclusive intake time (ISO 8601 with offset): when the facility logged the item, never a printed date."
    • addedInput schema / properties / received_before / description
      Added value: +"Exclusive intake time (ISO 8601 with offset); must be after received_after."
  3. Changed3 schema fields changed
    • addedInput schema / properties / received_after
      Added value: +{
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedInput schema / properties / received_before
      Added value: +{
      +  "format": "date-time",
      +  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / result / properties / filters
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "received_after": {
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +      "type": "string"
      +    },
      +    "received_before": {
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses required scopes (agent.inbox.read, plus agent.read for a nonempty q), that member/facility keys cannot impersonate an agent, that results are a current view rather than a snapshot, the offset 10000 cap, and rollout-dependent indexed search. This is the kind of auth, consistency, and visibility detail annotations cannot express.

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

Conciseness3/5

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

The deprecation warning is correctly front-loaded, but the body is a chain of dense clauses that partially restates the q and date-range schema descriptions. It is informative yet would benefit from sentence breaks or a short list for auth, environment, and pagination constraints.

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 an output schema present, return shape needs no elaboration, and the description still notes that metadata rather than text is returned. Auth model, environment behavior, pagination limits, and search-index rollout conditions are all covered, leaving nothing an agent needs to call this correctly.

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?

Schema coverage is already 100%, so the baseline is 3, but the description adds real meaning: q is literal AND over IDs/metadata/OCR with NFKC-lowercasing and a 12-term limit, and received_after/received_before filter the stored intake timestamp rather than a printed date and require both read scopes. The added scope requirements and the "not a printed date" disambiguation are genuinely beyond the schema text.

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?

States a concrete verb and resource: "List/search current assigned postal mail using the same /v1/agent-inbox service," and immediately scopes it with "Returns metadata, not text." It also separates itself from adjacent tools (scans, sources, handling) by naming the underlying service and by clarifying there is no separate sender field.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The deprecation notice plus the "_meta.successor" pointer gives an explicit when-not-to-use signal and a routing alternative, and the account/environment gating (sandbox fixtures vs live approved mail) clarifies context. It stops short of naming which sibling to use for scans or source listings, so the agent must infer that from other tools' names.

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.