Skip to main content
Glama

Compare captured production HTML changes

compare_production_snapshots
Read-onlyIdempotent

V10 offline comparison of two caller-supplied HTML versions of one safe page, oldest first. SHA-256 page/content fingerprints, static metadata/robots/canonicals, links and bounded main text differences. Failed HTTP delivery suppresses HTML repair claims. No fetch, browser, storage, deployment, Google indexing, traffic or ranking inference.

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": {
      "page_url": "<page_url>",
      "baseline": "<baseline>",
      "current": "<current>"
    },
    "name": "compare_production_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
currentYesLater captured HTML and claimed response time/status.
baselineYesEarlier captured HTML and claimed response time/status.
page_urlYesExact same safe URL of both observations, not fetched.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
statusYes
currentYes
baselineYes
findingsYes
overviewYes
h1_changedYes
limitationsYes
links_addedYes
links_removedYes
noindex_addedYes
title_changedYes
robots_changedYes
total_findingsYes
noindex_removedYes
coverage_limitedYes
main_words_addedYes
canonical_changedYes
findings_truncatedYes
main_words_removedYes
description_changedYes
http_status_changedYes
time_order_ambiguousYes
jsonld_blocks_changedYes
html_fingerprint_changedYes
main_text_fingerprint_changedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and closed-world, and the description adds real behavioral context on top: the operation is offline with no fetch/browser/storage/deployment, and 'Failed HTTP delivery suppresses HTML repair claims' discloses an output-suppression rule an agent would not otherwise know. The 'bounded main text differences' note sets an expectation about output limits. It stops short of stating limits on diff size or how ordering affects the result beyond 'oldest first'.

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?

The core purpose is front-loaded in the first clause and the remaining sentences are dense, non-repetitive fragments that each carry a scope or behavior fact. It is telegraphic to the point of terseness ('V10', 'safe page', 'bounded') and sentence fragments make it slightly harder to parse, but nothing is padding.

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?

With an output schema present, the description does not need to explain return values, and it correctly spends its budget on scope boundaries, the input trust model, and off-limits inferences (indexing, traffic, ranking). For a three-parameter nested-object comparison tool this is close to complete; only explicit routing among sibling compare tools 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 description coverage is 100%, so the schema already documents page_url, baseline and current including the 'not independently observed' caveat on observed_at. The description contributes the ordering semantics ('oldest first') and reinforces the caller-supplied trust model, but adds no format or constraint detail beyond what the schema states. 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?

The description names a concrete operation and resource: comparing two caller-supplied HTML versions of one page, listing the specific diff classes (SHA-256 fingerprints, metadata/robots/canonicals, links, bounded main text). 'Offline' and 'caller-supplied' implicitly separate it from audit/fetch-based siblings such as compare_site_audits, though no sibling is named explicitly. The 'V10' prefix and 'safe page' phrasing add noise rather than clarity.

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 rather than stated: the agent can infer this tool is for cases where it already holds two HTML captures, and the 'No fetch, browser, storage' clause signals what it is not for. However, no explicit when-to-use condition or named alternative (e.g. compare_historical_audits, compare_site_audits) is offered, so routing between the several compare_* siblings is left to inference.

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.