Skip to main content
Glama

Web screenshot: render a page in headless Chrome and return the image

web_screenshot

Use when an agent must see how a page looks (layout, charts, visual QA, previews), not just its text. Input: url, width (320-1920, default 1280), full_page=1 for the whole page, format png or jpeg (default). Output: JSON imageBase64 (decode to the image), contentType, bytes, viewport. Renders JavaScript. Daily cap or bad URL refused before payment. Example: ?url=https://example.com/ Price: $0.01 USDC (Base or Solana) via x402.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) page URL
widthNoViewport width in px (default 1280; height = 0.625 x width)
formatNoImage format (default jpeg)
full_pageNo1 = capture the whole scrollable page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

No annotations, so the description carries the full burden — and it does well: discloses JavaScript rendering, that over-cap or bad URLs are refused before payment, and that cost is $0.01 USDC via x402 on Base or Solana. Remaining gaps are minor (no stated cap value, no timeout or failure-mode detail beyond URL/cap).

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 decision criterion, then Input/Output/Price blocks in a compact labeled structure. Slightly dense — the inline example URL and price string crowd the tail — but nearly every clause carries information an agent needs.

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 4 params, no output schema, and no annotations, the definition still covers inputs, return payload fields (imageBase64, contentType, bytes, viewport), JS rendering, payment model, and failure behavior. Only the concrete daily cap and any timeout/latency expectation are left unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description goes further by giving width bounds (320–1920), restating defaults, explaining full_page=1 as whole scrollable page, and noting jpeg is the default format. It omits the schema's height = 0.625 x width relation, but otherwise adds usable meaning.

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+resource (render a page in headless Chrome, return the image) and frames the use case as visual inspection — layout, charts, visual QA, previews — which cleanly separates it from text-oriented siblings like web_read, convert_to_markdown, and web_metadata.

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?

Explicitly says when to use it ('when an agent must see how a page looks ... not just its text'), which implicitly routes text-only needs elsewhere. It does not name the alternative sibling tools outright, so the agent must infer that web_read/convert_to_markdown are the text counterparts.

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