Skip to main content
Glama
Angioz
by Angioz

capture_screenshot

Take screenshots of webpages or the current page with a real browser; set viewport, full-page, selector, and delay options, then return the saved image path.

Instructions

Capture a screenshot of a webpage or current page. Returns path to saved screenshot.

Input Schema

NameRequiredDescriptionDefault
urlNoURL to navigate to (optional if page already loaded)
widthNoViewport width in pixels (default: 1280)
formatNoImage format (default: png)
heightNoViewport height in pixels (default: 720)
delayMsNoSleep this many ms after load, before capture (intro animations)
qualityNoJPEG quality 0-100 (only for jpeg format)
scrollYNoScroll the page to this vertical offset in px before capture
timeoutNoNavigation timeout in ms (default: 30000). On timeout the page is captured as rendered so far.
filenameNoFile name inside ./screenshots (ignored when outputPath is set)
fullPageNoCapture full page (default: visible viewport)
selectorNoCSS selector for specific element to screenshot
waitUntilNoNavigation wait condition (default: load)
outputPathNoFull file path for the image (default: ./screenshots/screenshot-<ts>.<format>)
hideSelectorsNoCSS selectors to hide before capture (cookie banners, chat widgets)
waitForSelectorNoWait for this CSS selector to appear before capture
scrollToSelectorNoScroll this element into view (top aligned) before capture
deviceScaleFactorNoDevice pixel ratio, e.g. 2 for retina captures (default: 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the return value (a saved file path), but says nothing about side effects (writing a file to ./screenshots or outputPath), whether a browser session must already exist, navigation behavior, or failure/timeout handling — all of which matter for a 17-parameter capture tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two front-loaded sentences with zero filler: the action first, the return value second. Nothing is repeated from the schema.

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?

The description is terse but functional: the schema is fully self-documenting and the description fills the one gap structured fields can't (the return value, since there is no output schema). Since the purpose is narrow and the action is obvious, this level of detail is sufficient.

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% and all 17 parameters (including defaults, enums, and interactions like quality being JPEG-only) are documented in the schema. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 and resource ('Capture a screenshot of a webpage or current page') and notes the return value (path to saved file). It does not differentiate itself from siblings like open_browser or list_screenshots, so an agent can't tell from the description alone when this is the right entry point.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance is given, and no sibling is named as an alternative. The only contextual hint ('optional if page already loaded') lives in the url schema entry, not in the description, and it is not surfaced as guidance for choosing this tool over open_browser.

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