Skip to main content
Glama

Compare site audit snapshots

compare_site_audits
Read-onlyIdempotent

Compare the structured results of two earlier audit_public_site runs entirely offline. Identify changed page issue counts, unavailable checks, sitemap drift, and newly/no-longer observed grouped findings only within the same fully checked selected-page sample (not site-wide). This is not a Google indexing, ranking, or traffic-causality test. No webpages are fetched and results are not stored.

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

Input Schema

NameRequiredDescriptionDefault
currentYesLater structuredContent from audit_public_site, ideally the same sitemap batch.
baselineYesEarlier structuredContent from audit_public_site, without editing its page list.

Output Schema

NameRequiredDescriptionDefault
statusYes
overviewYes
limitationsYes
mixed_pagesYes
page_changesYes
improved_pagesYes
pages_comparedYes
regressed_pagesYes
current_site_urlYes
baseline_site_urlYes
coverage_lost_pagesYes
newly_selected_urlsYes
current_selected_pagesYes
expanding_issue_groupsYes
shrinking_issue_groupsYes
baseline_selected_pagesYes
no_longer_selected_urlsYes
coverage_recovered_pagesYes
newly_observed_issue_groupsYes
no_longer_observed_issue_groupsYes
issue_group_comparison_availableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / baseline / properties / content_duplicates
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "pairs": {
      +      "items": {
      +        "properties": {
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "first_url": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "first_words": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "kind": {
      +            "enum": [
      +              "exact",
      +              "near"
      +            ],
      +            "type": "string"
      +          },
      +          "language": {
      +            "maxLength": 16,
      +            "type": "string"
      +          },
      +          "second_url": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "second_words": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "similarity_percent": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "first_url",
      +          "second_url",
      +          "language",
      +          "kind",
      +          "confidence",
      +          "similarity_percent",
      +          "first_words",
      +          "second_words"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 8,
      +      "type": "array"
      +    },
      +    "pairs_truncated": {
      +      "type": "boolean"
      +    },
      +    "sampled_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "skipped_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total_pairs": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "skipped_pages",
      +    "coverage_limited",
      +    "limitations",
      +    "total_pairs",
      +    "pairs",
      +    "pairs_truncated"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / baseline / properties / content_quality
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "empty_main_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "families_compared": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "properties": {
      +          "affected_pages": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "code": {
      +            "maxLength": 80,
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "example_urls": {
      +            "items": {
      +              "maxLength": 512,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "message": {
      +            "maxLength": 320,
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "warning",
      +              "info"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "severity",
      +          "confidence",
      +          "message",
      +          "affected_pages",
      +          "example_urls"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 12,
      +      "type": "array"
      +    },
      +    "findings_truncated": {
      +      "type": "boolean"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "possible_low_value_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "repeated_boilerplate_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "sampled_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "short_main_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "skipped_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total_findings": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "skipped_pages",
      +    "families_compared",
      +    "empty_main_pages",
      +    "short_main_pages",
      +    "repeated_boilerplate_pages",
      +    "possible_low_value_pages",
      +    "coverage_limited",
      +    "limitations",
      +    "total_findings",
      +    "findings",
      +    "findings_truncated"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / baseline / properties / multilingual_clusters
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "properties": {
      +          "code": {
      +            "maxLength": 80,
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "example_urls": {
      +            "items": {
      +              "maxLength": 256,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "message": {
      +            "maxLength": 320,
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "error",
      +              "warning"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "severity",
      +          "confidence",
      +          "message",
      +          "example_urls"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 12,
      +      "type": "array"
      +    },
      +    "findings_truncated": {
      +      "type": "boolean"
      +    },
      +    "invalid_declarations": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 320,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "locales_observed": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "pages_with_alternates": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "sampled_pages": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "total_findings": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "unobserved_targets": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "pages_with_alternates",
      +    "locales_observed",
      +    "unobserved_targets",
      +    "invalid_declarations",
      +    "coverage_limited",
      +    "limitations",
      +    "total_findings",
      +    "findings",
      +    "findings_truncated"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / current / properties / content_duplicates
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "pairs": {
      +      "items": {
      +        "properties": {
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "first_url": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "first_words": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "kind": {
      +            "enum": [
      +              "exact",
      +              "near"
      +            ],
      +            "type": "string"
      +          },
      +          "language": {
      +            "maxLength": 16,
      +            "type": "string"
      +          },
      +          "second_url": {
      +            "maxLength": 512,
      +            "type": "string"
      +          },
      +          "second_words": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "similarity_percent": {
      +            "maximum": 100,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "first_url",
      +          "second_url",
      +          "language",
      +          "kind",
      +          "confidence",
      +          "similarity_percent",
      +          "first_words",
      +          "second_words"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 8,
      +      "type": "array"
      +    },
      +    "pairs_truncated": {
      +      "type": "boolean"
      +    },
      +    "sampled_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "skipped_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total_pairs": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "skipped_pages",
      +    "coverage_limited",
      +    "limitations",
      +    "total_pairs",
      +    "pairs",
      +    "pairs_truncated"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / current / properties / content_quality
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "empty_main_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "families_compared": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "properties": {
      +          "affected_pages": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "code": {
      +            "maxLength": 80,
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "example_urls": {
      +            "items": {
      +              "maxLength": 512,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "message": {
      +            "maxLength": 320,
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "warning",
      +              "info"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "severity",
      +          "confidence",
      +          "message",
      +          "affected_pages",
      +          "example_urls"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 12,
      +      "type": "array"
      +    },
      +    "findings_truncated": {
      +      "type": "boolean"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 300,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "possible_low_value_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "repeated_boilerplate_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "sampled_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "short_main_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "skipped_pages": {
      +      "maximum": 8,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "total_findings": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "skipped_pages",
      +    "families_compared",
      +    "empty_main_pages",
      +    "short_main_pages",
      +    "repeated_boilerplate_pages",
      +    "possible_low_value_pages",
      +    "coverage_limited",
      +    "limitations",
      +    "total_findings",
      +    "findings",
      +    "findings_truncated"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / current / properties / multilingual_clusters
      Added value: +{
      +  "properties": {
      +    "coverage_limited": {
      +      "type": "boolean"
      +    },
      +    "eligible_pages": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "findings": {
      +      "items": {
      +        "properties": {
      +          "code": {
      +            "maxLength": 80,
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "enum": [
      +              "observed",
      +              "potential"
      +            ],
      +            "type": "string"
      +          },
      +          "example_urls": {
      +            "items": {
      +              "maxLength": 256,
      +              "type": "string"
      +            },
      +            "maxItems": 2,
      +            "type": "array"
      +          },
      +          "message": {
      +            "maxLength": 320,
      +            "type": "string"
      +          },
      +          "severity": {
      +            "enum": [
      +              "error",
      +              "warning"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "severity",
      +          "confidence",
      +          "message",
      +          "example_urls"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 12,
      +      "type": "array"
      +    },
      +    "findings_truncated": {
      +      "type": "boolean"
      +    },
      +    "invalid_declarations": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "limitations": {
      +      "items": {
      +        "maxLength": 320,
      +        "type": "string"
      +      },
      +      "maxItems": 4,
      +      "type": "array"
      +    },
      +    "locales_observed": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "pages_with_alternates": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "sampled_pages": {
      +      "maximum": 16,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "scope": {
      +      "const": "sampled_pages_only",
      +      "type": "string"
      +    },
      +    "total_findings": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "unobserved_targets": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "scope",
      +    "sampled_pages",
      +    "eligible_pages",
      +    "pages_with_alternates",
      +    "locales_observed",
      +    "unobserved_targets",
      +    "invalid_declarations",
      +    "coverage_limited",
      +    "limitations",
      +    "total_findings",
      +    "findings",
      +    "findings_truncated"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes beyond annotations by stating the comparison is entirely offline, no pages are fetched or stored, and analysis is limited to the same fully checked selected-page sample rather than site-wide. These are substantive behavioral constraints not captured by readOnly/openWorld/idempotent hints.

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 action and scope, then adds useful exclusion and offline-behavior notes. Minor redundancy between 'entirely offline' and 'No webpages are fetched' keeps it just short of maximally tight.

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?

For a comparison tool taking two large structured audit objects and returning an output-schema-defined result, the description supplies the key scope, offline behavior, and sample constraints. It does not cover mismatch handling (e.g., different site URLs or fingerprints), but the output schema carries return 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 coverage is 100% and both baseline/current parameters already have descriptions. The description reinforces that inputs are earlier audit_public_site structuredContent and should share the same sample, but adds little parameter-level detail beyond the 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 'Compare' and resource 'structured results of two earlier audit_public_site runs', and scopes it to structured-content inputs. It distinguishes the comparison operation from the audit tool itself and makes clear it is not a new crawl.

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?

Explains the tool is for comparing two prior audit_public_site runs offline and identifies the specific change classes it reports. It includes useful exclusions (not site-wide, not an indexing/ranking/traffic test), but does not name sibling compare tools as alternatives.

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.