Skip to main content
Glama

agdata

Website screenshot or PDF of any URL

screenshot
Read-only

Screenshot API for AI agents: send {url} and get a JPEG, PNG, WebP or PDF of the page as base64 in JSON, with final URL, byte size and pixel size. Pick a desktop, mobile or tablet viewport, full page, dark mode, a delay or one element by CSS selector. It shows what a normal browser sees and does not get past bot protection (use unblock for those pages' text). A page that can't be captured, or renders blank, is not charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesabsolute http or https URL of a public page, e.g. "https://example.com/"
widthNocustom viewport width in pixels (overrides the device)
deviceNoviewport: desktop 1920x1080, desktop_hd 1366x768, mobile (phone), tabletdesktop
formatNoimage or document format of the capture; pdf is always the full pagejpeg
heightNocustom viewport height in pixels (ignored with fullPage)
delayMsNoextra wait after the page loaded, in milliseconds
fullPageNocapture the whole scrollable page (height is capped at 16,384 px), not just the viewport
selectorNoCSS selector: capture only the first matching element
colorSchemeNoemulated prefers-color-scheme
waitForSelectorNoCSS selector to wait for before capturing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare the read-only/open-world/idempotency profile; the description goes further by disclosing the return payload shape (final URL, byte size, pixel size), the billing rule ('a page that can't be captured, or renders blank, is not charged'), and a real capability limit around bot protection. These are exactly the traits annotations cannot convey.

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 sentences, front-loaded with the input/output contract before options and caveats. Dense but each sentence carries distinct information (payload, options, limitation/billing); the capability list is slightly compressed but not wasteful.

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 and 10 parameters, the description supplies the missing return-value and failure semantics, which is the main gap it needed to fill. It stops short of mentioning auth/API-key requirements or rate limits, which are the only remaining unknowns for an agent invoking 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 description coverage is 100%, so every one of the 10 parameters is already documented with ranges, defaults and enums. The description's recap of viewport/fullPage/dark mode/delay/selector adds grouping but little syntax or meaning beyond the schema, so the baseline 3 applies.

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 (capture/screenshot) and resource (a page at {url}) plus the exact output artifacts (JPEG/PNG/WebP/PDF as base64 JSON). It also differentiates itself from the sibling 'unblock', so an agent can route between them without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states the condition under which this tool is the wrong choice ('does not get past bot protection') and names the alternative to use instead ('use unblock for those pages' text'). That is a clear when/when-not/alternative triad, not mere implied usage.

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