Skip to main content
Glama

Website screenshot

screenshot
Read-only

Opens the URL in a headless Chrome browser, waits for the page to settle and returns a PNG screenshot. Choose the viewport size and whether to capture the full scrolling page. Returns the image directly, or base64 JSON with format=json. Paid tool: $0.01 per call in USDC via x402 at GET https://x402-tools.com/v1/screenshot. Calling it here returns the endpoint, price and how to pay.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL to capture.
widthNoViewport width in pixels (default 1280, 320 to 1920).
formatNo'png' (default, raw image) or 'json' (base64 in JSON).
heightNoViewport height in pixels (default 800, 240 to 1600).
full_pageNoCapture the full scrolling page (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say read-only and open-world; the description adds substantial behavior the agent could not otherwise know: a headless Chrome render with a page-settle wait, direct image return vs base64-in-JSON, and a $0.01 USDC x402 charge per call. Most importantly it discloses that invoking the tool here returns payment/endpoint metadata rather than an image, which prevents a costly misinterpretation of the response.

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?

The capture behavior leads, options follow, and the payment/response caveat closes — a logical, front-loaded order with no filler. The sentence about choosing viewport size and full-page capture is slightly redundant against the 100%-covered schema, a minor bit of unearned length.

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?

For a five-parameter, no-output-schema tool, this covers everything an agent needs: rendering mechanics, output shapes, pricing, and the fact that the call here is a discovery stub returning endpoint and payment details. Nothing material is omitted.

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%, with url, width, height, format, and full_page all documented inline including defaults and bounds, so the baseline is 3. The description restates the viewport and full-page choice and adds that format=json yields base64 but does not extend parameter meaning beyond the schema.

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?

The description uses a concrete verb and resource chain: opens a URL in headless Chrome, waits for settle, returns a PNG screenshot, with viewport and full-page options. It is unmistakably a screenshot tool. It does not, however, distinguish itself from URL-consuming siblings like extract, markdown, or image, so an agent gets no explicit routing signal.

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?

There is clear context for invoking it: pick viewport size, choose full-page vs viewport capture, and pick png vs json output. Critically it discloses the pay-per-call model and that calling it here returns the endpoint, price, and payment instructions — essential preconditions for correct use. It stops short of naming when a sibling such as extract or markdown would be preferable.

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