Skip to main content
Glama

GeekVault

web_tools_pdf_export

[$x402 pago por llamada] Exporta una página real a PDF (con fondos), vía navegador headless (CDP Page.printToPDF).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL completa (http:// o https://), máx. 2000 caracteres.
x_paymentNoOpcional. Header X-PAYMENT (x402) ya construido por el cliente/agente llamador. Si se omite, la llamada devuelve 402 con los requisitos de pago, igual que la API HTTP directa.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two important traits: the call is paid (x402) and rendering happens through a headless browser using CDP printToPDF. It is silent on rendering wait behavior, timeouts, whether JS-heavy or protected pages are supported, and what happens on failure beyond the schema's 402 note.

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 description is a single compact sentence with the payment caveat front-loaded and no wasted clauses. The bracketed x402 tag is slightly cryptic but efficient.

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?

For a two-parameter tool with no output schema, the description should say what is returned (PDF bytes, base64, or a download URL). It also lacks detail on rendering timeouts and page limits. Payment behavior is partly covered by the schema, which keeps this from being lower.

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 both parameters are already well documented in the schema. The description adds only the rendering detail 'con fondos,' which is marginally useful but does not add parameter-level meaning beyond the schema.

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 gives a specific verb and resource: 'Exporta una página real a PDF' via a headless browser. The parenthetical 'con fondos' and CDP `Page.printToPDF` add useful precision. It does not explicitly distinguish itself from siblings like web_tools_screenshot or docs_tools_to_markdown, so it stops 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 Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The '$x402 pago por llamada' tag signals a cost constraint but does not help an agent decide between this tool and PDF-adjacent siblings.

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