WeasyPrint by pagespool
Server Details
Hosted WeasyPrint: render HTML and print CSS to PDF, with PDF/A output on the paid plans.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 1 tool
With only one tool, there is no possibility of misselection or overlap; its purpose (render HTML to PDF) is stated explicitly and unambiguously. An agent cannot confuse it with anything else on this server.
The single name `render_pdf` follows a clean verb_noun snake_case pattern and matches the documented action exactly. There are no competing conventions to conflict with it.
The service is genuinely single-purpose (HTML-to-PDF conversion), so one tool is defensible, but the surface is thin and the tool itself points users to a REST API for anything non-trivial. It sits at the borderline of the 1-2 tools 'feels thin' band.
The core render operation, page count, size, and expiring download link are all covered, but the 256 KB cap forces agents to abandon the MCP for larger documents, and there is no way to pass page/layout options or re-fetch a PDF after expiry without re-rendering. These are notable gaps an agent will hit in real use.
Available Tools
1 toolrender_pdfRender an HTML document to a PDFARead-onlyInspect
Render up to 256 KB of HTML to a PDF with WeasyPrint. Returns a download link.
Give the user the download_url so they can open the PDF. The link
works for 15 minutes; after that, render again. The result is
{"download_url": "<link>", "pages": <page count>, "size_bytes": <PDF size>, "expires_in_minutes": 15}.
Only HTML and CSS are rendered; JavaScript is not run.
For documents larger than 256 KB, use the REST API
(POST /v1/weasyprint/render).
Credits: 1 per call.
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | A complete HTML document, up to 256 KB. Inline images, fonts and CSS as data: URIs; external resources are not loaded. | |
| pdf_variant | No | Write the PDF as PDF/A-2b or PDF/A-3b, for archiving. Paid plans only. Leave it out for a regular PDF. |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only declare readOnlyHint/openWorldHint; the description adds the substantive behavior an agent can't infer: links expire in 15 minutes, results are ephemeral and must be re-rendered, JavaScript is never executed, external resources are not fetched, and each call costs 1 credit. That is exactly the extra context annotations don't carry.
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?
Front-loaded with the core action and limit, then behavior, then cost — nothing is buried. The one redundancy is reproducing the full JSON result shape verbatim while a dedicated output schema already exists, which costs a couple of lines that could have been trimmed.
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?
For a two-parameter render tool with an output schema and annotations already supplied, everything an agent needs is present: size limit, execution constraints, expiry handling, cost, and the escalation path for larger inputs. No material gap remains for correct invocation.
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 both parameters are already documented — including the data: URI requirement and the paid-plan caveat on `pdf_variant`. The description's only genuine addition is 'JavaScript is not run', which constrains what the `html` value may rely on; otherwise it restates the schema.
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?
Opens with a specific verb+resource ('Render ... HTML to a PDF') plus the rendering engine (WeasyPrint) and a hard input ceiling (256 KB). An agent knows exactly what the tool produces and under what constraint, without needing siblings to differentiate against.
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?
Gives explicit downstream usage ('Give the user the `download_url`'), an expiry condition with the remedy ('after that, render again'), and routes oversized documents to the REST API endpoint. What's missing is any when-to-use framing beyond size — e.g. that external assets or JS-driven pages should be inlined or pre-rendered elsewhere.
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
- First observed
render_pdf
Related MCP Connectors
Cloud PDF generation from HTML, CSS and XSL-FO, with PDF/A and PDF/UA support.
Hosted Gotenberg: HTML, Markdown, web pages and Office files to PDF with Chromium and LibreOffice.
21Render PDFs and images (invoices, receipts, OG images) from templates or HTML. 1 cent each.
Turn HTML or a live URL into polished PDF and Excel files — hosted downloads, async jobs, history.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables converting HTML and CSS into PDFs with print-CSS control over paper size, margins, headers, footers, and page numbers, without a headless browser or JavaScript.MIT

@sheetrender/mcpofficial
AlicenseAqualityBmaintenanceRenders PDFs from HTML templates or saved templates and spreadsheet data, with batch job support and document retrieval.11154 npm1MIT- AlicenseNot gradedqualityDmaintenanceGenerates PDF documents from HTML or Markdown content with customizable page size, margins, and orientation, supporting pay-per-call payments via x402.MIT
- AlicenseNot gradedqualityBmaintenanceTurn HTML or a URL into a pixel-accurate PDF in a single tool call.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.