Skip to main content
Glama

Screenshot a web page

screenshot_page

Capture any URL as an image with a real browser, including JavaScript and fonts. Choose full page, CSS element, or mobile/desktop viewport.

Instructions

A real browser renders a URL (JavaScript runs, fonts load) and returns the picture as a media key: the viewport, the full page, or one element by CSS selector, on a phone or laptop viewport. Free: budgetUsd (default 2, max 10) is held while it runs and released. Needs the write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe absolute URL of the page to open.
selectorNoCSS selector of one element to shoot instead of the page.
viewportNoWhich screen to shoot it on. Defaults to desktop.
budgetUsdNoOptional: the most this call may spend, in dollars, default 2, max 10.
full_pageNoCapture the whole scroll height instead of the first fold.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
mediaYes
outputNoThe tool's own result, shaped by the tool.
chargedUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A3.8/5.0
Behavior4/5

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

Adds real behavioral context beyond annotations: budgetUsd 'is held while it runs and released' and 'Needs the write scope' — auth requirement and cost-hold mechanics the agent would not otherwise know. Annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false) cover the safety surface, so this extras layer earns credit. No detail on failure/timeout behavior or media key expiry.

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?

Two tight sentences, front-loaded with the rendering behavior and capture modes, with cost/scope constraints following. Every clause carries information; no filler. Slightly dense, but no wasted sentences.

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 screenshot tool with an output schema (so return format need not be explained), the description covers rendering model, capture options, cost mechanics, and the required write scope. Nothing essential to correct invocation is missing.

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 100%, so all five parameters are already documented in the schema. The description restates budgetUsd's default/max and viewport options without adding syntax or format info beyond the schema. Baseline 3 is correct when the schema does the heavy lifting.

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?

Specific verb+resource: 'A real browser renders a URL ... returns the picture as a media key', with the three capture scopes (viewport, full page, one element) spelled out. It implicitly differentiates from text-oriented siblings like read_page by noting JavaScript runs and fonts load, but never names a sibling to route against. Clear purpose, no explicit sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied by the JS-rendering framing (use when you need a real render rather than parsed text), but there is no explicit when-to-use/when-not or named alternative among the many page/render siblings (render_thumbnail, demo_page, inspect_page_style, capture_tweet). Adequate context, no routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.