Skip to main content
Glama

Export PDF

pdf

Export the current Chromium page as a portable document for saving, printing, or sharing.

Instructions

Export the current page as a PDF artifact. Chromium only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo
pageIdNoPage id. Defaults to the active page.
printBackgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only the Chromium-only limitation. It never says what happens to the artifact (returned, downloaded, saved to a path), whether the operation is read-only against the page, or what the caller receives on completion.

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 short sentences with the action stated first and the platform constraint second; nothing is wasted. The brevity borders on under-specification rather than verbosity, but structurally it is clean and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter tool with no annotations and no output schema, the description is too thin: it omits where the PDF artifact goes, what the caller gets back, and the meaning of the two undocumented options. The Chromium-only note is the sole piece of context beyond the name.

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 coverage is only 33% — only pageId is documented — and the description adds nothing about the undocumented format and printBackground parameters, such as accepted format values or what printBackground controls. With a low-coverage schema the description was expected to compensate, and it does not.

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?

"Export the current page as a PDF artifact" gives a specific verb (export) and resource (current page, PDF artifact), so the agent knows exactly what the tool produces. It does not differentiate itself from the related screenshot tool, which is the most likely confusion point among siblings.

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?

The description offers no when-to-use guidance and names no alternative, even though screenshot is an obvious sibling competing for the same 'capture the page' intent. The only usage-level information is the browser constraint "Chromium only," which is a prerequisite rather than routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.