Skip to main content
Glama

web_tools_screenshot

Screenshot of a live page in a real browser: desktop, laptop, tablet or phone, first screen, full page or one element, light or dark theme. Loads lazy content first, hides what you name, reports the HTTP status and load time. Price: $0.02 USDC via x402, charged only on success. Part of Web tools: A real browser for agents: screenshot any page on desktop or phone, read a page as clean Markdown, print a URL or HTML to PDF, draw HTML to an image, make social cards, audit a page for SEO, speed, accessibility and broken links, and compare two versions of a page pixel by pixel..

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) address of the page.
darkNoAsk the page for its dark theme (prefers-color-scheme: dark).
hideNoCSS selectors to hide first: cookie banners, chat bubbles, sticky bars.
scaleNoPixel density. 2 gives retina sharpness at four times the pixels.
widthNoViewport width; overrides the device preset.
deviceNodesktop 1280x800, laptop 1440x900, tablet 810x1080, phone 390x844 with a mobile browser identity.desktop
formatNopng
heightNo
waitMsNoExtra wait after the page has loaded, for animations or late content.
qualityNo
waitForNoCSS selector that must be visible before the capture.
fullPageNoCapture the whole scrolling page, not just the first screen. Lazy content is loaded first.
selectorNoCapture only this element.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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 substantial work: it discloses lazy-content pre-loading, element hiding, HTTP status and load-time reporting, and unusually specific pricing ($0.02 USDC via x402, charged only on success). It stops short of describing the return payload shape (image URL vs inline data) or what happens on payment/auth failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is well front-loaded and dense with decision-relevant facts. The trailing "Part of Web tools: ..." catalog runs long, enumerating eight sibling capabilities the agent did not ask about, which dilutes the description's focus.

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 13-parameter render tool with no annotations and no output schema, the description covers the major behavioral risks: cost model, lazy loading, hidden overlays, and the fact that status and timing come back with the image. The gap is the return-value shape, though the status/load-time mention partially compensates.

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 77%, so the structured fields already document most inputs, and the baseline applies. The description corroborates the high-value parameters (device presets, fullPage, selector, dark, hide) in prose, but adds no syntax or interaction detail the schema lacks — notably, it does not mention that width overrides the device preset or the scale/format tradeoffs.

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 ("Screenshot of a live page in a real browser") and immediately scopes it along the axes an agent cares about: device class, first screen vs full page vs element, light vs dark. The trailing catalog explicitly separates it from siblings that read Markdown, produce PDFs, render HTML, audit pages, or diff versions, so an agent can route correctly without opening another 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?

The "Part of Web tools" clause gives implicit routing: PDF, Markdown extraction, HTML rendering, audit and pixel diff are named as distinct capabilities, so an agent can infer screenshot-only intent. What's missing is an explicit when-to-use/when-not sentence, e.g. "use visual_diff to compare two captures" or a note that this returns a static image rather than extractable text.

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