Skip to main content
Glama
renvk

pdf-search-mcp

by renvk

read_page

Read the full text of a specific page from an indexed PDF to access content around search matches. Use after search for clear page content.

Instructions

Read the full text of a specific page from an indexed PDF.

Use after search() to read the complete page content around a match. If the result contains garbled text, broken symbols, or unreadable formulas, use read_page_image() instead — it renders the page as a PNG that preserves formulas, diagrams, and tables exactly. For tables and dense data, crop to the relevant region to read values reliably.

Args: filename: PDF filename exactly as shown in search results. page: 1-based page number. subfolder: Subfolder as shown in search results. Required when duplicate filenames exist; pass "" for the root folder.

Returns: Full extracted text of the page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes
pageYes
subfolderNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses that the tool returns full extracted text and notes when output may be garbled, advising an alternative. Does not mention error cases or side effects, but for a simple read tool this is adequate.

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 well-structured: a one-sentence summary, usage guidelines, parameter details, and return value. Each sentence is informative and concise, with no redundant or wasted words.

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?

Despite having an output schema (not shown), the description states 'Returns: Full extracted text of the page,' which is sufficient. It also covers practical context (when to use image version, subfolder handling). The tool is simple, and the description covers all necessary aspects.

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

Parameters5/5

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

With 0% schema description coverage, the description adds detailed meaning: filename must be exact from search results, page is 1-based, subfolder is required when duplicates exist and empty string means root. This fully clarifies parameter usage beyond the schema types.

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 states 'Read the full text of a specific page from an indexed PDF,' which is a specific verb+resource pair. It distinguishes itself from sibling tools like read_page_image (renders as PNG) and search (used before reading).

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?

Explicitly says 'Use after search() to read the complete page content around a match' and 'If the result contains garbled text... use read_page_image() instead — it renders the page as a PNG.' Also explains when subfolder parameter is required, providing clear use vs. non-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/renvk/pdf-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server