Skip to main content
Glama

compare_page

Destructive

Choose this for visual regression testing after check_page has produced a completed, unexpired baseline. Compares screenshots and QA evidence, returning pixel-diff percentages, new or resolved accessibility issues, error deltas, performance evidence, and diagnosis. Costs $0.12 USDC via x402. Successful paid calls settle the authorized USDC payment and create a stored report; settlement reduces the payer's balance and cannot be undone by this tool. The target website and existing baseline report are not modified. Requires an x402-aware client; standard AI assistants cannot automatically sign x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic HTTPS page URL. Private, loopback, credentialed, and non-HTTPS URLs are rejected.
baselineJobIdYesCompleted, unexpired ViewportWitness check job to use as the visual baseline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / baselineJobId / description
      Added value: +"Completed, unexpired ViewportWitness check job to use as the visual baseline."
    • addedInput schema / properties / url / description
      Added value: +"Public HTTPS page URL. Private, loopback, credentialed, and non-HTTPS URLs are rejected."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With annotations declaring destructiveHint=true, the description goes well beyond them by explaining the actual destructive surface: the paid call settles an authorized USDC payment, reduces the payer's balance, and cannot be undone by this tool. It also clarifies what is NOT mutated (target website and baseline report) and adds the $0.12 cost and x402 signing requirement.

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-loads the selection rule and output list before the cost/settlement caveats. Dense and mostly waste-free, though the payment/settlement sentences could be slightly tightened without losing meaning.

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?

No output schema exists, yet the description enumerates the return payload (diff percentages, new/resolved accessibility issues, error deltas, performance evidence, diagnosis) and covers cost, settlement effects, and client prerequisites. An agent has everything needed to decide and invoke.

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 both url (public HTTPS only) and baselineJobId (completed, unexpired job). The description reinforces the baseline concept but adds no syntax, format, or constraint detail beyond what the schema provides, so the baseline of 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 (compares) and resource (screenshots and QA evidence) and enumerates the concrete outputs: pixel-diff percentages, accessibility issue deltas, error deltas, performance evidence, diagnosis. It also distinguishes itself from the sibling check_page by naming it as the prerequisite that produces the 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?

"Choose this for visual regression testing after check_page has produced a completed, unexpired baseline" gives an explicit when-to-use plus the precondition and the sibling it depends on. It also states the client requirement (x402-aware client; standard assistants cannot sign x402), which is a real selection filter.

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.