Skip to main content
Glama

get_inbound_pages

Read-onlyIdempotent

Read an item's scanned pages through GET /v1/inbound-items/:id/pages: exterior (the envelope, present from arrival) and interior pages (after a completed Open & scan), each with ocr_status, the page's OCR text when ready or needs_review, is_blank and uncertain_spans. signed_urls: true adds one-hour image URLs on live keys (sandbox keys always get url: null). Key scope: inbound.item.read (agent.inbox.read also works). Member keys read their own live items; agent keys read items bound or assigned to them, in their key's environment. Proposals are agent-only and always wait for the owner: they never charge credits, buy postage, open, forward or discard anything by themselves. Forward destinations and discard proposals are checked against the agent's structured inbound policy. Image URLs are never issued to agents.

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": "get_inbound_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoPage kind: exterior (the envelope, from arrival), interior (after a completed Open & scan) or evidence.
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.
signed_urlsNotrue adds one-hour page image URLs on live keys; sandbox keys always get url: null.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field 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."
  2. Changed5 schema fields changed
    • addedInput schema / properties / item_id / description
      Added value: +"Inbound item id (UUID) from a list or search result."
    • addedInput schema / properties / kind / description
      Added value: +"Page kind: exterior (the envelope, from arrival), interior (after a completed Open & scan) or evidence."
    • 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 / signed_urls / description
      Added value: +"true adds one-hour page image URLs on live keys; sandbox keys always get url: null."
  3. Changed1 schema field changed
    • addedInput schema / properties / signed_urls
      Added value: +{
      +  "type": "boolean"
      +}
  4. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, and the description adds meaningful behavior beyond them: one-hour signed image URLs on live keys, url: null on sandbox keys, and the rule that image URLs are never issued to agents. The proposals/forward/discard sentences are irrelevant boilerplate, but the substantive behavioral disclosures are strong.

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?

The purpose is front-loaded in the first sentence and the key information is packed densely. The two closing sentences about proposals, postage, forwarding and discard policy are off-topic for a read tool and do not earn their place, costing it a point on tightness.

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?

A basic read tool with an output schema, so return-value detail is unnecessary; the description covers auth scope, image-URL restrictions and page-kind timing well. The only defect is the unrelated policy boilerplate that adds length without addressing anything an agent needs to call this endpoint.

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%, so the schema already documents kind, limit, offset and signed_urls, and the description largely restates those ('signed_urls: true adds one-hour image URLs on live keys' duplicates the schema wording). It does add one nuance the schema lacks — that exterior pages exist from arrival while interior pages only appear after a completed Open & scan — but most of the text is redundant with 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?

The description opens with a specific verb and resource ('Read an item's scanned pages through GET /v1/inbound-items/:id/pages') and enumerates the page kinds returned (exterior envelope, interior pages after Open & scan). It is clear what the tool does, though it never names a sibling such as get_inbound_item to delimit when this differs from a general item read.

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?

Key-scope rules ('inbound.item.read, agent.inbox.read also works', member keys read their own live items, agent keys read bound/assigned items in their environment) give real usage boundaries. However, there is no explicit when-to-use-vs-alternative statement, and the trailing sentences about proposals, forwarding and discard policy have nothing to do with reading pages, so they do not guide invocation of this tool.

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.