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. Optional visualExclusions mask explicit rectangles only in visual diffs; raw changes and nonvisual findings remain. 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. If price, payment setup, a missing capability or an error stops a purchase, optional free product feedback is available at GET https://qa.honeygate.app/v1/feedback (POST contract in /openapi.json). Share only caller-authorized feedback; do not invent purchase intent or budget. Never include URLs, prompts, personal data or credentials. Follow existing payment recovery first; feedback never retries, pays or resolves an uncertain payment.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>",
      "baselineJobId": "<baselineJobId>"
    },
    "name": "compare_page"
  }
}

Input 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.
visualExclusionsNoOptional visual-only integer rectangles by viewport: at most 20 rectangles and 20% union coverage per screenshot. Raw evidence and nonvisual findings remain available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / baselineJobId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / visualExclusions / properties / desktop / $ref
      Removed value: -"#/properties/visualExclusions/properties/phonePortrait"
    • addedInput schema / properties / visualExclusions / properties / desktop / items
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "x": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "y": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / visualExclusions / properties / desktop / maxItems
      Added value: +20
    • addedInput schema / properties / visualExclusions / properties / desktop / type
      Added value: +"array"
    • removedInput schema / properties / visualExclusions / properties / phoneLandscape / $ref
      Removed value: -"#/properties/visualExclusions/properties/phonePortrait"
    • addedInput schema / properties / visualExclusions / properties / phoneLandscape / items
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "x": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "y": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / visualExclusions / properties / phoneLandscape / maxItems
      Added value: +20
    • addedInput schema / properties / visualExclusions / properties / phoneLandscape / type
      Added value: +"array"
    • addedInput schema / properties / visualExclusions / properties / phonePortrait / items / properties / height / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / visualExclusions / properties / phonePortrait / items / properties / width / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / visualExclusions / properties / phonePortrait / items / properties / x / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / visualExclusions / properties / phonePortrait / items / properties / y / maximum
      Added value: +9007199254740991
  2. Changed1 schema field changed
    • addedInput schema / properties / visualExclusions
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional visual-only integer rectangles by viewport: at most 20 rectangles and 20% union coverage per screenshot. Raw evidence and nonvisual findings remain available.",
      +  "properties": {
      +    "desktop": {
      +      "$ref": "#/properties/visualExclusions/properties/phonePortrait"
      +    },
      +    "phoneLandscape": {
      +      "$ref": "#/properties/visualExclusions/properties/phonePortrait"
      +    },
      +    "phonePortrait": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "height": {
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "width": {
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "x": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "y": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "x",
      +          "y",
      +          "width",
      +          "height"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 20,
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. 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."
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations (destructiveHint=true, openWorldHint=true) are backed up with substantive detail: the $0.12 USDC x402 charge, that settlement reduces payer balance and is irreversible, that an x402-aware client is required, and that the target site and existing baseline are not modified. That clarifies the destructive flag applies to payment settlement, not data mutation — information no structured field provides.

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

Conciseness3/5

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

The purpose, baseline prerequisite, and return payload are correctly front-loaded. However, roughly half the text is payment-recovery and feedback-endpoint policy (GET /v1/feedback, POST contract, what not to include) that only matters after a failed purchase and reads as policy boilerplate rather than tool selection guidance.

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 paid, mutation-adjacent tool with no output schema, the description covers returns, cost, auth prerequisites, irreversibility, and non-effects on the target site and baseline. Nothing an agent needs in order to call it correctly or anticipate the result appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns above that by explaining that visualExclusions mask explicit rectangles only in visual diffs while raw changes and nonvisual findings remain — semantics the schema's own description states only partially. It doesn't restate the URL/baselineJobId constraints, but those are fully documented in-schema.

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 and resource ('Compares screenshots and QA evidence') and enumerates the returned artifacts: pixel-diff percentages, new/resolved accessibility issues, error deltas, performance evidence, diagnosis. It also distinguishes itself from the sibling check_page by requiring that tool's baseline, so an agent can route 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 says 'Choose this for visual regression testing after check_page has produced a completed, unexpired baseline' — a named alternative plus the precondition that selects it. It further notes a missing capability or error stops the purchase, which tells the agent what to do when conditions aren't met.

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.