Skip to main content
Glama
noGarne

visual-regression-mcp

by noGarne

capture_baseline

Saves a screenshot of a URL as a visual baseline. Use on a known-good page, then compare later screenshots to detect visual regressions.

Instructions

Capture a screenshot of a URL and save it as the visual baseline under a given name. Run this once on a known-good version of the page. Later use compare_visual against the same name to detect regressions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to capture, e.g. http://localhost:3000/login
nameYesBaseline identifier, e.g. 'login-page'. Used as the filename.
widthNoViewport width in px (default 1280)
heightNoViewport height in px (default 720)
waitMsNoExtra wait after network idle, in ms (default 500)
fullPageNoCapture the entire scrollable page (default true)
selectorNoCSS selector to capture only one element instead of the page
maskSelectorsNoCSS selectors for dynamic regions to mask out (timestamps, ads, random content)
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses the core behavior: captures a screenshot and saves it as a baseline. It also adds valuable context about using a known-good version. Minor gaps remain (e.g., overwrite behavior, storage location), but the primary side effect is clearly stated.

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 sentences, front-loaded with the action, and no redundant content. Every phrase earns its place: action, purpose, usage context, and relation to sibling.

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 capture tool with rich schema annotations and no output schema, the description covers the workflow comprehensively. It explains what the tool does, when to run it, and how to use the result. The sibling context and schema fill in remaining details.

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 the schema already documents all eight parameters. The description adds minimal parameter-specific meaning beyond naming 'name' as the baseline identifier, which is also in the schema. Baseline 3 is appropriate.

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?

The description uses a specific verb 'capture' and resource 'screenshot of a URL', clearly states it saves as a visual baseline under a given name. This distinguishes it from siblings like compare_visual, list_baselines, and delete_baseline.

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?

Provides explicit guidance: 'Run this once on a known-good version of the page' and directs to use compare_visual later, which differentiates from alternatives. This is clear when-to-use and points to relevant sibling.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/noGarne/visual-regression-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server