Skip to main content
Glama

Puptra PDF Snapshot

Capture a PNG, JPEG or WebP screenshot with Puppeteer's page

screenshot

Capture a PNG, JPEG or WebP screenshot with Puppeteer's page.screenshot() options (fullPage, clip, omitBackground, quality 0-100 for jpeg/webp only). Price: $0.005 a call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoThe page to capture (https). Set url or html, not both.
htmlNoHTML to render instead of a URL.
cookiesNo
deliverNo{store, name?}: keep the image in file storage
selectorNoScreenshot this element instead of the page
viewportNo{width,height,deviceScaleFactor,...}; default 1920x1080
userAgentNo
scrollPageNoScroll the page before capturing (lazy content)
addStyleTagNo
bestAttemptNo
gotoOptionsNo{waitUntil, timeout}
addScriptTagNo
authenticateNo
waitForTimeoutNo
waitForSelectorNo
emulateMediaTypeNo
screenshotOptionsNoPuppeteer page.screenshot() options as documented at pptr.dev/api/puppeteer.screenshotoptions.
allowResourceTypesNo
allowRequestPatternNo
rejectResourceTypesNo
setExtraHTTPHeadersNo
rejectRequestPatternNo
setJavaScriptEnabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a 23-parameter tool. It does disclose one genuinely useful fact (price: $0.005 a call) and the jpeg/webp-only constraint on quality, but says nothing about authentication, rate limits, failure behavior, or what the response 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?

Two tight sentences that are front-loaded with the core capability and format list, then the pricing caveat. Nothing is padded, though the parenthetical enumerates options the schema already documents.

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 23-parameter, nested-schema tool with no annotations, no output schema, and low schema coverage, the description is far too thin. An agent cannot tell how the image is returned (deliver vs inline) or how the many rendering/filtering parameters interact.

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 only 35% across 23 parameters, so the description would need to compensate, yet it only name-drops fullPage, clip, omitBackground, and quality. Cookies, deliver, selector, bestAttempt, waitForSelector, and the many request-filtering options get no explanation anywhere.

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?

States a specific verb (Capture) plus resource (screenshot) and enumerates the supported output formats (PNG, JPEG, WebP), so an agent knows exactly what the tool produces. It does not explicitly differentiate itself from the pdf or snapshot siblings, which is the only thing keeping it from 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?

No guidance on when to pick this over pdf, snapshot, or links, and no prerequisites or exclusions are stated. The only usage-relevant detail is the note that quality applies to jpeg/webp only.

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