Skip to main content
Glama

Server Details

Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.

Ownership verified
Status
Healthy
Last Tested
Transport
Streamable HTTP ยท MCP 2025-11-25
URL

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

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.

Naming Consistency5/5

Both tools follow the exact same verb_noun pattern (generate_pdf, read_pdf), making the API predictable and easy to navigate.

Tool Count3/5

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.

Completeness3/5

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 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.

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 PDFA
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.

TDQS

A4.6/5.0
Behavior5/5

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.

Conciseness4/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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. 1 tool update
    • Addedread_pdf
  2. 1 tool update
    • First observedgenerate_pdf

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources