Skip to main content
Glama

web_screenshot

web_screenshot
Read-only

Screenshot of a public page taken by a real headless Chromium after JavaScript runs, returned as a base64 JPEG or PNG with final URL, HTTP status and title. Viewport from 320x240 to 1920x2000, optional full-page capture and extra settle time. For visual checks, layout QA, archiving and vision-model input. Price: $0.03 USDC per call (x402).

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_screenshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL to capture
widthNoViewport width in pixels, 320-1920 (default 1280)
formatNojpeg (default, quality 70) or png
heightNoViewport height in pixels, 240-2000 (default 800)
wait_msNoExtra milliseconds to wait after load, 0-8000 (default 500)
full_pageNotrue to capture the whole scrollable page (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds substantial context beyond that: JS is executed before capture, output is base64 JPEG/PNG accompanied by final URL, HTTP status and title, and each call costs $0.03 USDC via x402. It does not cover failure behavior (non-200 pages, timeouts, blocked sites) or how the payment handshake works.

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?

Three dense sentences, front-loaded with what is captured and how, then capabilities, then purpose and price. The viewport range and full-page/settle mention partially duplicate the schema, which is the only real waste.

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?

With no output schema, the description does the work of explaining the return payload (base64 image plus final URL, status, title), and it discloses the per-call price. Remaining gaps are error/edge-case behavior and the mechanics of the x402 payment, which matter for a paid tool but are secondary to calling it correctly.

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 description coverage is 100%, so the schema already documents every parameter including defaults and ranges. The description restates the viewport bounds and mentions full-page and settle time but adds no new semantics such as format tradeoffs or when full_page is preferable.

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+resource (screenshot of a public page) plus the mechanism (real headless Chromium after JavaScript runs), which is far more informative than the tautological title. It does not explicitly distinguish itself from the closest sibling, web_render, so an agent must infer the boundary.

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 concrete usage contexts: visual checks, layout QA, archiving, and vision-model input. It stops short of exclusions or naming an alternative (e.g., 'use web_read for text extraction'), so the when-not guidance is absent.

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