pdf-debug-mcp
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_pdf_objectA | Return a PDF indirect object by object/generation number, including raw object preview, parsed structure, object type, and stream metadata. |
| get_pdf_object_structureA | Recursively expand a PDF indirect object's structure and indirect references with maxDepth and circular-reference protection. |
| get_pdf_content_streamA | Return PDF content stream bytes and decoded text from either a 1-based page number or a stream object number, with optional operator parsing. |
| list_pdf_objectsA | List indirect objects in a PDF with object number, generation number, object type, PDF /Type, and stream metadata. |
| get_pdf_document_infoA | Return PDF header, trailer, catalog, xref style summary, page count, and indirect object count. |
| get_pdf_page_treeA | Return the PDF page tree rooted at the catalog /Pages object, including page/kids refs and content references. |
| get_pdf_page_resourcesA | Return a page's inherited Resources plus Fonts, XObjects, Annots, and related resource references. |
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 7 tools
Each tool targets a distinct aspect of PDF structure (content stream, document info, objects, page tree, resources, etc.) with no overlapping purposes.
All tools follow a consistent verb_noun pattern in snake_case, using 'get_pdf_' or 'list_pdf_' prefixes.
Seven tools provide comprehensive coverage for PDF debugging without being excessive or insufficient.
The set covers essential PDF inspection operations; missing potential features like annotation extraction or object filtering are minor gaps.