docweave-mcp
Server Details
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP ยท MCP 2025-11-25
- URL
TDQS
Scored across 2 tools
generate_pdf creates PDFs from HTML/URLs/templates, while read_pdf extracts text from PDFs. These are opposite, non-overlapping operations with no ambiguity between them.
Both tools follow the exact same verb_noun pattern (generate_pdf, read_pdf), making the API predictable and easy to navigate.
With only 2 tools, the server is on the thin end of the spectrum. The pair is focused, but it barely covers a domain and leaves users wanting more.
The server covers the core write/read lifecycle for PDFs, but obvious PDF operations like merging, splitting, or converting are absent. The surface is minimal yet functional for basic document generation and extraction.
Available Tools
2 toolsgenerate_pdfGenerate PDFAIdempotentInspect
Generate a PDF from raw HTML, a public URL, or a template + JSON data. Returns the PDF as base64. Priced per document; retries with the same idempotencyKey never double-generate. The canonical way for an AI agent to turn content into a shareable, correctly-formatted PDF.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | What to render. Provide exactly one of: html, url, or (template|templateId) with data. | |
| options | No | Optional page and print settings. | |
| idempotencyKey | No | A stable key (e.g. an invoice id). Repeat calls with the same key return the stored result instead of re-rendering or re-billing. |
Output Schema
| Name | Required | Description |
|---|---|---|
| byteSize | No | Size of the PDF in bytes. |
| pageCount | No | Number of pages in the PDF. |
| bytesBase64 | Yes | The generated PDF, base64-encoded. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds behavioral details beyond annotations: pricing, idempotency (reinforcing the idempotentHint), and base64 output format. No contradictions with annotations (readOnlyHint false, idempotentHint true).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no wasted words. First sentence nails purpose and output. Second sentence covers pricing, idempotency, and positioning. Perfectly front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (3 parameters, nested objects, output schema exists), the description covers key behaviors (input modes, output format, pricing, idempotency). Minor gaps like error handling are compensated by schema and annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal new semantic value beyond summarizing the input sources, which is acceptable but not exceptional.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb (generate), resource (PDF), and three distinct input methods (raw HTML, public URL, template+data). It distinguishes from the sibling tool 'read_pdf' which is for reading, not generating.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains pricing per document and idempotency behavior ('retries with the same idempotencyKey never double-generate'). It positions the tool as the canonical way to create a PDF, implicitly guiding when to use it over the read-only sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
read_pdfRead PDFARead-onlyIdempotentInspect
Read a PDF and return its text as markdown (or plain text). Accepts a public URL or base64 bytes. Extracts the embedded text layer; a scanned, image-only PDF returns a needs-OCR notice instead of empty text. Priced per document; retries with the same idempotencyKey never double-read. The canonical way for an AI agent to ingest a document's contents.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The PDF to read. Provide exactly one of: url or base64. | |
| options | No | Optional read settings. | |
| idempotencyKey | No | A stable key. Repeat calls with the same key return the stored result instead of re-reading or re-billing. |
Output Schema
| Name | Required | Description |
|---|---|---|
| content | Yes | Extracted text in the requested format. |
| needsOcr | No | True when the PDF is scanned (no text layer) and needs OCR. |
| pageCount | No | Number of pages read. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds significant behavioral details beyond annotations: extracting text layer, scanned PDF returns a needs-OCR notice, pricing per document, idempotencyKey ensures no double-read/billing, and blocking private URLs. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a moderate-length paragraph of 5 sentences. It is front-loaded with the main purpose and contains no fluff, but could be slightly more concise by removing redundant phrasing like 'never double-read' which is implied by idempotent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema and 100% parameter coverage, the description completes the picture with critical behavioral notes (scanned PDF handling, pricing, idempotency behavior). No gaps remain.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema coverage, baseline is 3. The description adds value by explaining that private URLs are blocked and that idempotencyKey prevents double-billing, which is not apparent from the schema alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool reads a PDF and returns text as markdown or plain text, accepts URL or base64, and handles scanned PDFs with a notice. It also positions itself as the canonical ingestion tool, clearly differentiating from its sibling 'generate_pdf'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly states it is for reading PDFs, but does not explicitly list when not to use it or alternatives beyond the sibling. However, it notes that private addresses are blocked, which provides a usage constraint.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- Added
read_pdf
1 tool update
- First observed
generate_pdf
Related MCP Connectors
PDF, image, video, OCR, screenshot, SQL, QR and text tools for agents. No API key, no signup.
Generate invoice and receipt PDFs from JSON. Agent-callable document API with a free demo quota.
Turn a description into a shareable, editable PDF โ invoices, certificates, reports, resumes.
Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to parse and extract text, metadata, and statistics from PDF documents via URL, with x402 micropayments on Base Mainnet.-

mcp-server-pdfnoodleofficial
AlicenseNot gradedqualityDmaintenanceEnables AI assistants to generate PDF documents from templates or raw HTML using natural language, with tools for template creation, PDF generation, and utility operations.6 npm1MIT- AlicenseNot gradedqualityBmaintenanceExtracts text and tables from PDFs for AI agents via MCP, enabling structured data retrieval from invoices, reports, and statements.28 PyPI1MIT
- AlicenseNot gradedqualityAmaintenanceGives AI agents tools to read PDFs, list form fields, apply operations, highlight, add notes, fill fields, place signatures, list signatures, and flatten PDFs.AGPL 3.0
Glama MCP Gateway
Add one secure layer between your agents and this server.