Skip to main content
Glama

Get Document Page

get_page
Read-only

Returns one page of an FAA document from Aviation Resources: an image of the whole page plus the full text of the passages on it. Use it after search_documents to read a page in full or to see figures, charts and tables, or to read on with nextPageNumber / previousPageNumber. Cite the page with its viewerUrl.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNumberYes1-based page number in the PDF, as search_documents returns it (not the number printed on the page).
resourceIdYesThe document's ID, from search_documents.
includeImageNoSet false to get only the text, for example when reading through several pages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
imageYesDescribes the image content block (the whole page), or null when there is none.
indexedYesFalse when the document has no text index yet; passages is then empty.
passagesYesEvery indexed passage that covers this page, in document order.
resourceYes
viewerUrlYesOpens this page in the Aviation Resources web app. Give this to the user as the source link.
pageNumberYes
nextPageNumberYesThe page after, or null on the last page.
previousPageNumberYesThe page before, or null on the first page.
imageUnavailableReasonYesWhy image is null when an image was asked for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already establish readOnlyHint=true and openWorldHint=false, and the description adds useful behavioral context: it returns both an image and text, supports page-to-page navigation fields, and tells the caller to cite viewerUrl. It does not cover permission or rate-limit behavior, but that is less critical for a read-only paging tool with an output schema.

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 compact and front-loaded: the first sentence states what is returned, and the remaining clauses cover usage, navigation, and citation. Every sentence contributes directly to correct invocation.

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 rich schema, existing output schema, and read-only annotations, the description supplies the missing context an agent needs: when to call it, what content it returns, how to page through results, and how to cite the page. Nothing essential is omitted.

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 input schema already documents resourceId, pageNumber, and includeImage thoroughly. The description does not add parameter-level meaning beyond the schema; its mention of nextPageNumber/previousPageNumber appears to refer to output navigation fields rather than input 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 uses a specific verb and resource: it returns one page of an FAA document from Aviation Resources, including the page image and full text. It also distinguishes the tool from search_documents by positioning it as the follow-up read step after searching.

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 explicitly says to use this tool after search_documents to read a page in full, inspect figures/charts/tables, or continue reading with nextPageNumber/previousPageNumber. That gives clear when-to-use guidance and names the sibling tool that precedes it.

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