pdf-triage-mcp
Server Quality Checklist
Latest release: v0.1.2
- Disambiguation5/5
Each tool addresses a distinct task—classifying the PDF, extracting full text, searching for terms, and extracting tables. There is no overlap; even pdf_extract and pdf_tables differ in scope (full vs. tables only). An agent can confidently choose the right tool based on intent.
Naming Consistency4/5All tools share the pdf_ prefix and use a verb or descriptive noun (classify, extract, search, tables). While 'tables' is a noun rather than a verb, the pattern is otherwise consistent and predictable.
Tool Count5/5With four tools covering classification, extraction, search, and table extraction, the set is well-scoped for a PDF triage server. Each tool has a clear purpose without redundancy.
Completeness5/5The toolset covers the full triage workflow: classify to decide if OCR is needed, extract to get full content, search to locate information, and tables for structured data. Missing functionality like OCR itself is deliberately outsourced, so the surface is complete for its intended domain.
Average 4.6/5 across 4 of 4 tools scored.
See the Tool Scores section below for per-tool breakdowns.
- No community issues in the last 6 months
- 9 commits in the last 12 weeks
- No stable releases found
- No critical vulnerability alerts
- No high-severity vulnerability alerts
- No code scanning findings
- CI is passing
This repository is licensed under MIT License.
This repository includes a README.md file.
No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.
Tip: use the "Try in Browser" feature on the server page to seed initial usage.
Add a glama.json file to provide metadata about your server.
If you are the author, simply .
If the server belongs to an organization, first add
glama.jsonto the root of your repository:{ "$schema": "https://glama.ai/mcp/schemas/server.json", "maintainers": [ "your-github-username" ] }Then . Browse examples.
Add related servers to improve discoverability.
How to sync the server with GitHub?
Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.
To manually sync the server, click the "Sync Server" button in the MCP server admin interface.
How is the quality score calculated?
The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).
Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.
Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).
Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.
Tool Scores
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals the detection mechanism (PDF drawing operations and text alignment, not OCR/model guesswork) and clarifies the output is limited to tables. This adds meaningful context beyond a simple 'extract tables' statement, though it does not discuss error handling or performance limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three focused sentences: the first states the core action, the second gives a use case, and the third explains the underlying method. Each sentence serves a distinct purpose, and there is no redundant information or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with three parameters and no output schema, the description provides a complete picture: what it returns, how it works, and when to use it. The Markdown output format is clearly stated, and the method explanation (drawing operations/text alignment) addresses common concerns about accuracy.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already provides 100% coverage for all three parameters, including descriptions for path, pages, and maxChars. The tool description does not add additional parameter-level detail, so it meets the baseline for schema-covered parameters without adding extra semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Return only the tables') and clearly identifies both the resource (local PDF) and the output format (Markdown). It explicitly differentiates itself from sibling tools by emphasizing it skips prose and focuses on tables, which pdf_extract, pdf_search, and pdf_classify do not.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines4/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description states when to use this tool ('Useful for invoices, financial statements and reports where the numbers are the point'). It implies a clear use case for table-focused extraction, but does not explicitly mention when not to use it or name alternative tools for non-table extraction scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and does well by stating it does not extract text, returns specific categories and a confidence score, and is fast (10-50ms). It conveys that the tool performs triage without side effects, though it does not explicitly state 'read-only' or discuss error behavior. The decision guidance about OCR routing adds context beyond basic operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise yet comprehensive, front-loading the primary purpose, then specifying return values, and finally providing actionable usage guidance. Every sentence adds value, and the entire description fits in three sentences without redundancy. It is well-structured with an imperative usage directive that is easy to follow.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Since there is no output schema, the description fully explains return values: document type, confidence score, and exact 1-indexed pages needing OCR. It also covers when to use the tool, what the outcome implies, and next steps. For a simple single-parameter tool with rich behavioral guidance, the description is complete and self-sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides 100% coverage with a detailed description of the 'path' parameter ('Absolute path, or path relative to an allowed root, of a .pdf file'). The tool description adds no additional parameter semantics, so a baseline score of 3 is appropriate. There is no further information about path handling beyond what the schema already states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Triage a local PDF without extracting its text' with specific outputs (classification, confidence, pages needing OCR). It distinguishes itself from siblings by emphasizing it does not extract text, unlike pdf_extract, and by specifying its classification purpose. The verb 'triage' precisely conveys the lightweight, pre-extraction role.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit usage guidance is provided: 'ALWAYS call this before pdf_extract on an unfamiliar or large document' and conditional routing: 'If it reports scanned, image_based, or encoding issues, do not extract — route the document to an OCR service instead.' This clearly indicates when to use the tool and when to avoid extraction, including alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior4/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses the return behavior (matching pages with surrounding context) and an efficiency trait (cheaper). It does not explicitly state it is read-only, but the search nature and usage guidance imply this. The gap is minor given the additional context provided.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, no wasted words. The first sentence states the purpose, and the second gives usage guidance with a specific alternative. Exceptionally concise and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description sufficiently explains the return value (matching pages with context). It also provides usage context and links to a sibling tool (pdf_extract). For a search tool with 5 params, this is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters3/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description adds minimal param-related meaning (e.g., 'surrounding context' hints at contextChars), but the schema already fully documents all parameters. No significant extra value is provided beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Find text inside a local PDF and return matching pages with surrounding context.' It uses specific verbs and resources, and contrasts with pdf_extract, distinguishing it from sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs when to use this tool: 'use this first on long documents, then pdf_extract with the `pages` it reports.' Also notes it is 'much cheaper than pdf_extract when you only need to locate something,' giving clear alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
- Behavior5/5
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It discloses default truncation to protect context window, explains the recommended pagination strategy, and warns about critical failure conditions (encoding issues, no text layer, right-to-left script) where output must not be quoted as fact. This is rich behavioral disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Conciseness5/5Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, each earning its place: the first states purpose, the second covers truncation and usage guidance, the third delivers warning/reliability information. It is front-loaded with the core action and contains no filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Completeness5/5Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having no output schema or annotations, the description covers the essential aspects: output format (Markdown), truncation behavior, pagination strategy, warning handling, and prerequisite classification. It provides complete context for a 4-parameter extraction tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Parameters4/5Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema covers 100% of parameters with detailed descriptions, earning a baseline of 3. The description adds practical value by specifically recommending pages over maxChars for long documents, clarifying the intended usage of these parameters beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Purpose5/5Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Extract a local PDF to Markdown' with specific preservation of headings, lists, and tables. This specific verb-resource-output combination distinguishes it from sibling tools like pdf_search and pdf_tables, which serve different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Usage Guidelines5/5Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance: 'Call pdf_classify first on unfamiliar documents' and advises using the pages parameter repeatedly rather than raising maxChars for long documents. This gives clear context and an explicit alternative workflow, exceeding basic requirements.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
GitHub Badge
Glama performs regular codebase and documentation scans to:
- Confirm that the MCP server is working as expected.
- Confirm that there are no obvious security issues.
- Evaluate tool definition quality.
Our badge communicates server capabilities, safety, and installation instructions.
Card Badge
Copy to your README.md:
Score Badge
Copy to your README.md:
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/vishalmeena2211/pdf-triage-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server