Skip to main content
Glama

Snapshot a web page as PDF

url_to_pdf

Fetch a public http/https URL and render the live page to a PDF. Returns a file_id (chainable into the PDF tools) and a ~1h download URL. Private/internal hosts are blocked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe http/https URL to snapshot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds value beyond this by disclosing the private-host blocking behavior, the returned file_id being chainable into PDF tools, and the ~1h download URL expiry. This behavioral detail complements the annotations and does not contradict them — 'render' is consistent with the non-read-only flag.

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, zero filler. The core action is front-loaded, followed by return-value info and then the access constraint. Every sentence earns its place with distinct information.

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 present, the description correctly covers the return format (file_id, ~1h download URL). For a single-parameter tool with 100% schema coverage and annotations carrying the open-world/side-effect profile, the description is adequately complete. Minor omissions like rate limits or auth requirements are not material for this simple fetch-and-render tool.

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 coverage is 100%, so the schema already documents the single url parameter; baseline is 3. The description adds slight value by specifying the URL must be public and http/https, which is a meaningful constraint on the input value, but it doesn't add format or syntax details beyond that.

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 states a specific verb-resource pair ('Fetch a public http/https URL and render the live page to a PDF') and distinguishes the output (PDF) from siblings like url_to_screenshot. It names the chainable file_id output, which further separates it. It doesn't explicitly contrast with render_html_to_pdf, but the core purpose is unambiguous.

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 description implies usage context by stating 'public http/https URL' and 'Private/internal hosts are blocked', which tells an agent when the tool will reject a call. However, it never names alternatives (e.g., read_url, scrape_page, url_to_screenshot, render_html_to_pdf) or gives when-to-use vs when-not-to-use guidance against the 21 siblings. Usage context is implied, not explicit.

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