Skip to main content
Glama

Website Screenshot

website_screenshot

Render a URL in a real headless Chromium browser and capture a PNG screenshot — either the viewport or the full scrolling page (capped at 10,000px tall). Options: viewport width/height, device scale factor (retina), wait condition, and extra delay for late-loading content. Returns a short-lived download URL (valid 1 hour) plus pixel dimensions, byte size and SHA-256; set includeBase64 for the PNG inline (up to 3 MB). Private/internal addresses are blocked. Pure rendering, no AI. For load-time numbers use page_performance_check or pagespeed_insights instead.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPage to capture, e.g. https://example.com (https:// is assumed if no scheme)
widthNoViewport width in CSS pixels, 320-1920 (default 1280)
heightNoViewport height in CSS pixels, 240-2160 (default 800)
delayMsNoExtra wait after load before capturing, 0-5000 ms (default 0)
fullPageNoCapture the full scrolling page instead of just the viewport (default false; capped at 10,000px tall)
waitUntilNoWhen navigation counts as finished (default load)
includeBase64NoAlso return the PNG as base64 in the response (default false; omitted if over 3 MB)
deviceScaleFactorNoDevice pixel ratio, 1-2 (default 1; 2 = retina)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The description does a lot of work the annotations don't: the returned download URL expires in 1 hour, results include pixel dimensions, byte size and SHA-256, base64 is omitted above 3 MB, and private/internal addresses are blocked. That is genuinely useful operational context; a weak point is that readOnlyHint=false is never reconciled with what is effectively a read/render operation.

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?

Front-loaded with the core action, then limits, then return shape, then the sibling redirect — a sensible order with no filler sentences. The semicolon-packed middle clause is dense, but every phrase carries information.

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

Completeness5/5

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

With no output schema, the description carries the return contract itself — URL, expiry, dimensions, byte size, hash, inline base64 limit — which is exactly what is needed. For an 8-parameter rendering tool the definition leaves nothing an agent must guess before calling it.

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 100%, so the schema already documents ranges, defaults and the waitUntil enum. The description only restates the option names and adds the retina=2 gloss for deviceScaleFactor, which is marginal added meaning over structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — render a URL in headless Chromium and capture a PNG — and scopes it (viewport vs full page, 10,000px cap). It also names the two siblings it is not (page_performance_check, pagespeed_insights), so an agent can separate it from nearby tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives an explicit redirect for the most likely confusion: "For load-time numbers use page_performance_check or pagespeed_insights instead." That is real routing guidance. It does not address other plausible overlaps in the catalog (e.g. html_to_pdf, image_resize), so it stops short of full when/when-not coverage.

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.