Skip to main content
Glama

webcapture

render_pdf

Render a web page to PDF, PNG, JPEG, WebP or Markdown. Returns the download URL of the finished file; fetch it with your API key as the Bearer token.

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute http(s) URL of the page to render
formatNoOutput format, defaults to pdf
fullPageNoCapture the full scrollable page. Defaults to true; set false for a viewport-only capture. Applies to png, jpeg and webp
viewportNoLayout viewport in pixels before capture, 200 to 7680 each. Applies to png, jpeg and webp
landscapeNoLandscape orientation, defaults to false
colorSchemeNoRender the page as if the visitor prefers light or dark mode; site keeps the page's own choice. Defaults to light

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that the return value is a download URL and that fetching it requires the API key as a Bearer token, but it omits rendering latency, URL expiration, failure behavior, and whether the render call itself requires auth.

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, tightly written and front-loaded with the action and outputs, followed by the return-handling instruction. Every sentence earns its place with no repetition.

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, and the description correctly explains the return value and how to use it. The six parameters, including the nested viewport object and two enums, are fully covered by the schema. Minor omission of render-time expectations or URL lifetime keeps it from a 5.

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 100%, so the schema already documents every parameter, including defaults, ranges, enums, and which options apply only to image formats. The description adds no parameter-level detail beyond listing formats already present in the schema, making the baseline of 3 appropriate.

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 states a specific verb (render) and resource (web page) and enumerates the five output formats, so an agent can immediately tell what the tool does. Sibling tools get_pricing and get_usage are unrelated, so no further differentiation is needed.

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?

Usage is implied by the purpose (render a page when you need a PDF/image/Markdown file), but there is no explicit when-to-use, when-not-to-use, or alternative guidance. With no relevant siblings, this is the minimum viable level.

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