Skip to main content
Glama

Render a web page

render_page
Read-only

Renders a public web page in a real headless browser (JavaScript runs, redirects are followed) and returns it as clean markdown, a PNG screenshot or a PDF. One call, one payment, no account. A render that fails is not charged. Price: $0.01 per call in USDC (x402).

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page to render. Private, local and cloud-metadata addresses are refused.
widthNoViewport width in px, default 1280.
formatNomarkdown: the page's main content as text. screenshot: a PNG image. pdf: a PDF document.markdown
heightNoViewport height in px, default 800.
fullPageNoscreenshot: capture the whole page, up to 8000px tall.
selectorNoCSS selector. markdown: convert only that element. screenshot: capture only that element.
pdfFormatNopdf: paper size, default A4.
timeoutMsNoNavigation timeout, default 15000.
waitUntilNoWhen the page counts as loaded, default networkidle2.
waitForSelectorNoWait until this CSS selector exists before capturing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description goes well past them: it discloses that JavaScript executes and redirects are followed (real browser, not a fetcher), that each call costs $0.01 in USDC via x402, that no account is required, and that failed renders are not billed. Cost and billing semantics are exactly the kind of behavior an agent cannot infer from 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?

Three sentences, each carrying distinct information: capability first, then commercial/access terms, then billing exception. The price is placed last where it belongs, and there is no redundant restatement of the title.

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?

With no output schema, the description must convey results, and it does name the three return artifacts. What it omits is how a binary result (PNG/PDF) is delivered back to the caller — inline, base64, or a URL — which matters for a 10-parameter rendering tool whose non-markdown formats are opaque.

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% with 10 well-documented parameters including enums and defaults, so the schema does the heavy lifting and baseline 3 applies. The description adds no parameter-level detail beyond naming the three output formats, which the schema's format enum already explains.

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?

It names a specific verb and resource ('Renders a public web page') and adds the mechanism ('real headless browser, JavaScript runs, redirects followed') plus the three concrete output artifacts. Nothing here overlaps with the siblings host_file or schedule_callback, so an agent can select it unambiguously.

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?

The phrase 'One call, one payment, no account' and 'A render that fails is not charged' give useful operating context, and 'public web page' scopes eligibility. However, the description never states when to prefer this over another approach or names any alternative, so the 'when to use' guidance is only implied.

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