Document Reader MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_document_infoA | Get metadata about a document: total pages (PDF), chunks (Word/PPT), or sheet names (Excel). ALWAYS call this first before reading to understand the document size. |
| read_document_pageA | Read a specific page, chunk, or sheet from a document. For PDF: provide the page number (e.g. '1'). For Word/PPT/CSV: provide the chunk number (e.g. '1'). For Excel: provide the exact sheet name (e.g. 'Sheet1'). Use get_document_info first to know valid ranges. |
| search_documentA | Search for a query string across an entire document. Returns the matched pages/chunks with surrounding context snippets. Much more efficient than reading the whole document page by page. |
| list_directoryB | List all supported document files (.pdf, .docx, .xlsx, .xls, .pptx, .ppt, .csv) in a directory. Useful for discovering which files are available to read. |
| read_full_documentA | Read the ENTIRE content of a document at once. WARNING: Only use this for small documents (< 5 pages/chunks). For large documents, prefer read_document_page or search_document to preserve context. |
| ocr_pdfA | OCR (Optical Character Recognition) for scanned or image-based PDF files. Use this ONLY when read_document_page returns empty or garbled text, which indicates the PDF contains scanned images instead of selectable text. WARNING: OCR is slow (3-10 seconds per page). Prefer read_document_page first. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly bounded role: discovery (list_directory), sizing (get_document_info), targeted reading (read_document_page), bulk reading (read_full_document), full-text lookup (search_document), and a fallback OCR path (ocr_pdf). The descriptions explicitly resolve the only plausible overlap by directing agents to try read_document_page before ocr_pdf, and to prefer paging over read_full_document for large files.
Five of six names follow a clean snake_case verb_noun pattern (get_document_info, read_document_page, search_document, list_directory, read_full_document). ocr_pdf is the sole deviation, reading as a tool/format label rather than a verb_noun action, but it remains unambiguous.
Six tools is a tight, well-scoped set for a read-only document reader, with no redundant entries. Each tool covers a distinct access strategy (metadata, paging, bulk read, search, OCR, discovery) and none feels like filler.
The read lifecycle is well covered end to end: find files, inspect structure, page through, full read, search, and OCR fallback for scanned content. Minor gaps exist, such as searching across an entire directory rather than a single document, but agents can work around this by iterating list_directory results.