Skip to main content
Glama

Task402 PDF Tools

Prepare cited PDF context

prepare_document_context
Read-onlyIdempotent

Rank native-text pages for a question and return a bounded context pack with page, block, and excerpt evidence. No model call or OCR is used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNo
queryYes
max_charsNo
capabilityYes
document_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources