Skip to main content
Glama

Compare two to ten supplied site audit versions

compare_historical_audits
Read-onlyIdempotent

Pure, offline historical trends for 2–10 supplied timestamped compact audit_public_site results in oldest-first order. Compares adjacent and first/last observations and error/warning trends for the exact page cohort fully checked in every version. Distinguishes coverage loss from improvements and gates disappearing issue groups on fully checked identical sitemap samples. No hosted storage, saved IDs, scheduled monitoring, network requests, raw site URLs/messages, or ranking/indexing assertions.

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": {
      "versions": "<versions>"
    },
    "name": "compare_historical_audits"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionsYesTwo to ten caller-supplied timestamped compact site-audit results, oldest first; <=60 KB each and 610 KB combined. Hosted service never reads a local archive or stores versions.

Output Schema

NameRequiredDescriptionDefault
errorNo
scopeYes
sourceYes
statusYes
findingsYes
overviewYes
limitationsYes
total_findingsYes
comparisons_madeYes
coverage_limitedYes
first_last_changeYes
historical_pointsYes
versions_comparedYes
findings_truncatedYes
consecutive_changesYes
partial_transitionsYes
stable_cohort_pagesYes
time_order_ambiguousYes
comparable_transitionsYes
cohort_metrics_availableYes
not_comparable_transitionsYes
complete_stable_cohort_pagesYes
total_coverage_lost_transitionsYes
total_improved_page_transitionsYes
total_regressed_page_transitionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, yet the description still adds substantial behavior: pure offline computation with no network requests, no raw URLs or messages in results, comparison restricted to the exact page cohort fully checked in every version, coverage loss separated from genuine improvements, and issue-group disappearance gated on identical sitemap samples.

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?

Two sentences, both carrying weight, with the core purpose and input shape front-loaded and the exclusions consolidated at the end. The phrasing is extremely dense — 'gates disappearing issue groups on fully checked identical sitemap samples' takes effort to parse — but nothing is redundant.

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, return values need no explanation, and the description covers input shape, comparison semantics, and analytical limitations well. It omits one operationally relevant point: whether all supplied versions must share the same site_url and what happens on cohort mismatch, which an agent would want before calling.

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 coverage is 100% and the schema already specifies minItems 2, maxItems 10, per-item and combined size caps, and oldest-first ordering, so the description largely restates structured facts. Its only added meaning is the interpretive framing of the versions array as a cohort-aligned time series.

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 states a specific verb and resource — comparing historical trends across 2–10 caller-supplied timestamped compact audit_public_site snapshots — and pins down the ordering requirement (oldest first). It differentiates itself indirectly from live/hosted siblings by excluding storage, saved IDs, scheduling and network requests, though it never names an alternative tool explicitly.

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

Usage Guidelines4/5

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

It makes the preconditions clear: you must already hold 2–10 complete snapshot objects, ordered oldest first, and it explicitly excludes hosted storage, saved IDs and scheduled monitoring, telling the agent what this is not for. It stops short of naming a sibling to use instead when snapshots aren't in hand.

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.