Skip to main content
Glama

list_agent_inbox_scans

Read-onlyIdempotent

Deprecated: superseded by the tool named in _meta.successor. Still served unchanged during the alias window. List/search completed facility-captured scan jobs for this assigned member sample through /v1/agent-inbox/:id/scans. Sandbox agent key only, with both read scopes even without q. q is literal AND search of saved capture identifiers and authorized captured-page OCR, normalized NFKC/lowercase, max 200 characters and 12 terms, before pagination. Returns request_id, bundle_id, page count and OCR status, not text. Pagination uses pagination.has_more with offset plus scans.length, up to offset 10000. A completed scan may have null, queued, processing, ready, needs_review or failed OCR; completion is not extraction success. Separate from seeded sample /context; after indexed rollout, item search also includes these captures. No provider, retry, acknowledgment or receipt is triggered. Required scopes: agent.inbox.read, agent.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

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_id": "<item_id>"
    },
    "name": "list_agent_inbox_scans"
  }
}

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.
item_idYesInbound item id (UUID) from a list or search result.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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."
  2. Changed4 schema fields changed
    • addedInput schema / properties / item_id / description
      Added value: +"Inbound item id (UUID) from a list or search result."
    • 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."
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing auth constraints (agent-scoped bearer key, no member/facility impersonation), scope requirements, pagination ceiling of offset 10000, and the crucial caveat that completion is not extraction success because OCR may be null/queued/processing/ready/needs_review/failed. It also states no provider send, retry, acknowledgment, or receipt is triggered, which is exactly the side-effect clarity an agent needs.

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?

Front-loads the deprecation notice, which is the right priority, but the remainder is a run of dense fragments mixing auth, pagination, OCR states, and rollout caveats without grouping. Nearly every clause carries information, yet the lack of structure makes it harder to scan than it needs to be.

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 an output schema exists, the description need not explain returns, yet it still summarizes request_id, bundle_id, page count, and OCR status. Combined with deprecation routing, scope/auth requirements, pagination mechanics, and the shared-REST behavior note, an agent has everything needed to call it 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 100%, so the baseline is 3, but the description adds real meaning: q is a literal AND search over capture identifiers and OCR text with NFKC/lowercase normalization, 200-char and 12-term caps, applied before pagination, and next-page math is offset plus scans.length. The only redundancy is restating limits already in the schema.

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?

States a specific verb and resource: list/search completed facility-captured scan jobs for the assigned member sample via /v1/agent-inbox/:id/scans. It also draws a boundary against the seeded sample /context and against the singular get_agent_inbox_scan implied by the sibling set, though it never names that sibling directly.

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?

Gives clear context: deprecated in favor of the tool named in _meta.successor, still served during the alias window, sandbox agent key only, and requires both read scopes even without q. It does not explicitly say 'prefer the successor for new work,' leaving that inference to the reader, which keeps it below a 5.

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.