Skip to main content
Glama

win_html_to_pdf

Read-only

Renders any public URL or raw HTML into a print-ready PDF using real Windows Edge/Chrome with full CSS Paged Media, @media print, SVG/Canvas, and Windows system fonts. Returns a downloadable PDF artifact URL. [Price: base $0.02 (+ $0.005 for landscape/A3); Base: $0.020 USDC via x402 on eip155:8453]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "win_html_to_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
htmlNo
formatNoA4
wait_msNo
landscapeNo
margin_mmNo
print_backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

With only readOnlyHint=true supplied, the description does real work: it discloses the rendering engine, the CSS/SVG/Canvas capabilities, the system-font dependency, and that the result is a downloadable artifact URL. It also states cost including the landscape/A3 surcharge and the x402 payment rail, which an agent needs before invoking a paid tool. Gaps remain around timeouts, failure modes, and the url-vs-html precedence, so not a 5.

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 core capability is front-loaded in the first sentence, the return value in the second, and pricing bracketed at the end where it is easy to skim. The pricing clause is dense but earns its place for a paid endpoint; nothing else is padded.

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

Completeness2/5

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

For a seven-parameter tool with no output schema and zero schema descriptions, the description should at minimum explain the url/html choice and the behavioral knobs. It covers purpose, return type, and cost adequately but leaves the parameter surface almost entirely undocumented, which is the main source of misfires here.

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

Parameters2/5

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

Schema description coverage is 0% across seven parameters, so the description carries the full burden and largely fails it. It only indirectly alludes to format and landscape via the pricing note; wait_ms, margin_mm, print_background, and the relationship between url and html are never explained, and with zero required parameters an agent has no cue that one of url/html must be provided.

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

Purpose4/5

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

The description opens with a specific verb and resource pair — 'Renders any public URL or raw HTML into a print-ready PDF' — plus the engine used and fidelity features, so the agent knows exactly what comes out. It never names a sibling tool, so the boundary with win_doc_convert or win_js_render_markdown is left implicit, which keeps it short of a 5.

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

Usage Guidelines3/5

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

'any public URL or raw HTML' implies the input conditions for use, but there is no when-to-use vs when-not guidance and no mention of alternatives. Nothing tells the agent whether to prefer this over win_doc_convert for an existing document, nor what to do when neither url nor html is supplied.

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.