Skip to main content
Glama

Printwren: HTML to PDF and URL to PDF (real Chrome)

Web page to PDF

url_to_pdf
Read-onlyIdempotent

Print a public web page to PDF with real Chrome. Returns title, page count, size, a direct download URL and (include_base64=true) the PDF bytes as base64.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic http(s) URL or bare domain
formatNoA4
landscapeNo
page_numbersNo
include_base64No

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds value by specifying the output structure (title, page count, size, direct download URL) and the effect of include_base64=true. It does not contradict any annotation and provides useful behavioral detail beyond the structured fields.

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 filler. The main action is front-loaded, and the return values and key option (include_base64) are mentioned concisely. Every sentence earns its place.

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?

There is no output schema, so the description must explain the return, which it does. It also covers the main customization (include_base64) and the nature of the input (public URL). It lacks explicit guidance on error conditions or the relationship to html_to_pdf, but for a read-only, idempotent tool this is largely sufficient.

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 description coverage is only 20%, so the description must compensate. It explains include_base64's effect, but does not elaborate on format, landscape, or page_numbers beyond the enum names and defaults. The output list (title, page count, size) is not parameter-specific. This partial compensation is adequate but leaves several parameters semantically thin.

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 prints a public web page to PDF using real Chrome, and enumerates the return values (title, page count, size, download URL, base64). This is a specific verb+resource that distinguishes it from the sibling html_to_pdf, which presumably handles raw HTML rather than a URL.

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?

It gives clear context: 'public web page' and 'real Chrome' imply this tool is for live URLs, while html_to_pdf likely handles HTML strings. However, it does not explicitly name the alternative or state when not to use this tool, so it misses the explicit exclusion that would warrant a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.