Skip to main content
Glama

FMF Tools Browser

browser_pdf

Print a web page to PDF ($0.006 per call, paid via MPP on Tempo). Render a URL in headless Chrome and print it to PDF (A4 or Letter, portrait or landscape, backgrounds on). Returns the PDF. Daily capacity is limited; when it is reached, or the browser is momentarily busy, you get 402 and are not charged. HTTP POST https://mpp-browser.fmf-x402.workers.dev/mpp/browser/pdf. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": "browser_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
darkNoprefers-color-scheme: dark
paperNo
mobileNoiPhone viewport + UA
wait_msNoextra wait after load for JS, 0-4000 (default 500)
landscapeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the $0.006 per-call price, the payment mechanism, that the wrapper does not settle payment itself, that capacity limits or browser busy states return 402 without charge, and the HTTP endpoint. It omits timeout/latency expectations and what the failure body looks like.

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?

Purpose and price are front-loaded, followed by rendering options, return value, failure behavior, and payment logistics. Dense but every sentence carries operational information; the raw URL could arguably be demoted to an appendix.

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?

No output schema exists, yet the description states the return value (the PDF) and covers the non-obvious payment and 402 semantics that a caller cannot get from structured fields. Remaining gaps are minor parameter behavior details already partly covered by the schema.

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 50%; the description reinforces paper size, orientation, and background printing, but does not explain dark, mobile, or wait_ms behavior beyond what the schema already says. It does not compensate for the undocumented half of the parameters.

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?

Clear specific verb and resource: "Render a URL in headless Chrome and print it to PDF" with concrete output options (A4/Letter, portrait/landscape). It does not distinguish itself from the sibling browser_render or browser_screenshot, so an agent must infer that PDF output is the differentiator.

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 rather than stated: use it when you need a PDF of a page. There is no explicit guidance on choosing this over browser_render or browser_screenshot, and no prerequisites section, though the payment path (MPP Authorization header or mppx against the HTTP route) is spelled out.

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