Skip to main content
Glama

Get Source Page

get_document_page
Read-only

Retrieve the complete text of one page from a PDF source document. Use this after search_knowledge() when more context or source verification is needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
documentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that the return is the 'complete text' of a single page, which is useful scope information, but says nothing about invalid/out-of-range page handling or result size limits.

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?

Two tight sentences with zero filler, and the core action is front-loaded before the usage hint.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only retrieval tool with no output schema, the description is adequate but leaves the document identifier format and page-boundary behavior unexplained—the exact details an agent needs to avoid a failed call.

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

Parameters2/5

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

Schema description coverage is 0%, so the schema documents only that 'document' is a string and 'page' is an integer. The description implies a page number within a PDF source, but does not clarify the document identifier format (name vs. ID) or whether page numbering is zero- or one-based, leaving required parameters under-specified.

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 specific verb (Retrieve), resource (complete text of one page), and scope (from a PDF source document). An agent can immediately distinguish this single-page retrieval from the broader search_knowledge and the listing-oriented list_documents sibling.

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?

Explicitly names the triggering tool and condition: 'Use this after search_knowledge() when more context or source verification is needed.' This gives clear routing context, though it does not state when NOT to use it or how it relates to list_documents.

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