Skip to main content
Glama

Cloudflare Edge Compute (Browser Run, Sandboxes & Vectorize RAG)

edge_browser_pdf

Render any public HTTPS webpage into a PDF archive via Cloudflare Browser Run with signed SHA-256 attestation. ($0.04 via Base USDC _meta["x402/payment"] or Atlas spend_key)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "edge_browser_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
formatNo
full_pageNo
spend_keyNoOptional Atlas prepaid spend key (sbk_*).
schema_hintNo
payment_signatureNoOptional x402 v2 Base USDC PAYMENT-SIGNATURE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden and does add real behavioral context: Cloudflare Browser Run as the execution backend, a signed SHA-256 attestation, per-call cost of $0.04, and two payment rails (x402 Base USDC or Atlas spend_key). It omits failure modes, whether auth-walled or non-HTTPS URLs are rejected, latency, and any rate limits, so it is informative but incomplete for a paid external-browser call.

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?

Two dense sentences with the operation and output front-loaded, followed by the payment and attestation details. Nothing is padding, though the inline _meta["x402/payment"] syntax is cryptic without surrounding explanation.

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?

For a 6-parameter, no-output-schema, no-annotation tool, the description covers the critical unknowns an agent needs: that it is a paid external render, the accepted input class (public HTTPS), and the integrity guarantee. The remaining gaps are the unexplained non-payment parameters and the odd format enum, which the description never reconciles with PDF output.

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 33%, so the description must compensate, and it largely does not: full_page, schema_hint, and the role of payment_signature relative to spend_key are left to the schema, which documents only the latter two. The 'format' enum (png/webp) is also unexplained despite sitting on a PDF-output tool, leaving a real ambiguity about parameter behavior.

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 names a specific verb and resource ('Render ... webpage into a PDF archive'), which distinguishes it from the extract/markdown/screenshot siblings by the PDF archive output. It doesn't explicitly name an alternative, but the output artifact and the attestation framing make the function 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?

It implies when the tool applies by constraining input to 'any public HTTPS webpage' and stating the cost, so an agent knows login-walled pages are out of scope. However, it gives no explicit guidance on choosing PDF over edge_browser_screenshot, edge_browser_markdown, or edge_browser_extract, and offers no exclusions or prerequisites beyond the public-HTTPS note.

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