Skip to main content
Glama

Shotkiln

Render a PDF

render_pdf
Read-only

Render a public web page (url) or raw HTML (html) to PDF. Returns the PDF as an embedded resource.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
htmlNoRaw HTML (max 1 MB); use instead of url
formatNoA4
marginNoCSS length for all sides, e.g. 10mm, 0.5in10mm
landscapeNo
print_backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds two facts the annotations do not carry: the output is delivered as an embedded resource (important since there is no output schema), and only public pages are renderable, which warns an agent off authenticated URLs.

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 tight sentences, input modes stated first and the return shape second, with no filler. Every clause carries information.

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

Completeness3/5

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

Because there is no output schema, the embedded-resource sentence usefully covers the return value, and the public-page constraint covers access scope. However, for a 6-parameter tool with 33% description coverage, there is no guidance on page-load behavior (JS execution, timeouts) or on the rendering options, leaving meaningful gaps.

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 only 33%, so the description should compensate but does not: format, landscape, and print_background are undocumented anywhere, and margin/format semantics are absent from the description. Only url vs html are addressed, and html's 1 MB cap lives in the schema rather than the description.

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?

States a specific verb and resource ('Render ... to PDF') with both accepted inputs, so an agent can distinguish it from take_screenshot and generate_og_image purely by the PDF output. It stops short of naming those siblings explicitly, so the differentiation is inferred rather than stated.

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?

'url or raw HTML' implies the two mutually exclusive input modes, and 'public web page' hints at a scope limit. There is no explicit when-to-use-this-vs-alternatives guidance and no statement of when-not to use it, leaving selection against the screenshot/image siblings to inference.

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.

Resources