Skip to main content
Glama

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
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.3/5 across 1 of 1 tools scored.

Server CoherenceA
Disambiguation5/5

Only one tool exists, so there is no ambiguity between tools.

Naming Consistency5/5

With a single tool, naming consistency is trivially satisfied.

Tool Count4/5

A single tool for focused PDF generation is reasonable, though more tools could be added for related operations.

Completeness3/5

The server provides PDF generation from multiple sources, but lacks other common PDF operations like merging or splitting. It is minimal but covers its core purpose.

Available Tools

2 tools
generate_pdfGenerate PDFA
Idempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesWhat to render. Provide exactly one of: html, url, or (template|templateId) with data.
optionsNoOptional page and print settings.
idempotencyKeyNoA 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

ParametersJSON Schema
NameRequiredDescription
byteSizeNoSize of the PDF in bytes.
pageCountNoNumber of pages in the PDF.
bytesBase64YesThe generated PDF, base64-encoded.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover idempotentHint, readOnlyHint, destructiveHint, and openWorldHint. The description adds meaningful context: output format (base64), pricing per document, idempotency ensuring no double-generation, and blocked 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise at two sentences. The first sentence covers core functionality, the second adds essential behavioral context (pricing, idempotency, canonical usage). No wasted words, front-loaded with key information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (3 parameters, nested objects, output schema exists), the description is thorough: it explains all input modes, output format, idempotency, billing, and usage recommendations. The output schema is present but description covers return type adequately.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description summarizes the three source types and output format but does not add new semantic details beyond the schema. It provides high-level context but no additional parameter constraints or examples.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates PDFs from HTML, URL, or template with JSON, and returns base64. It specifies the verb (Generate) and resource (PDF), and positions itself as the canonical tool for this task, distinguishing it effectively even without siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides strong guidance by labeling it the 'canonical way' for AI agents to create shareable PDFs. It also notes idempotency and billing. However, it does not explicitly state when not to use it or mention alternative tools, which is acceptable given no siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_pdfRead PDF
Read-onlyIdempotent
Inspect

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesThe PDF to read. Provide exactly one of: url or base64.
optionsNoOptional read settings.
idempotencyKeyNoA stable key. Repeat calls with the same key return the stored result instead of re-reading or re-billing.

Output Schema

ParametersJSON Schema
NameRequiredDescription
contentYesExtracted text in the requested format.
needsOcrNoTrue when the PDF is scanned (no text layer) and needs OCR.
pageCountNoNumber of pages read.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources