Skip to main content
Glama

Compare a site against its last audit

what_changed

Re-audit a site and report what moved since it was last checked: which findings are new, which were resolved, and how each category score shifted. Use it after the user says they fixed something, or to verify that a deployment did not regress anything. Returns comparable=false when the site has no earlier snapshot, which is not an error — it means history starts now. Unlike the other tools this one WRITES: it stores a durable snapshot of the result, because a comparison against history requires contributing to it. The baseline is the most recent retained snapshot and snapshots are kept at most once per site per six hours, so baselineAt may not be the deployment immediately before this one — read baselineAt rather than assuming it is the last change. Check comparable before attributing any score movement to the site: when the ruleset differed between the two measurements it is false, and the difference then includes a change in grading rather than a change in the website.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe website to inspect. A bare domain works — "example.com" is treated as https://example.com.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOne end of the comparison.
fromNoOne end of the comparison.
hostYes
noteNo
scoreNoPresent instead of a diff when history starts with this call.
summaryNo
resolvedNo
worsenedNo
currentAtNo
directionNo
spanHoursNo
baselineAtNoTimestamp of the snapshot being compared against. Snapshots are retained at most once per site per six hours, so this may not be the deployment immediately before the current one.
categoriesNo
comparableYesFalse when the two measurements used different rulesets, or when no earlier snapshot exists. Check this before attributing any score movement to the website.
scoreDeltaNo
newProblemsNo
schemaChangedNo
partlyImprovedNo
rulesetChangedNoNull when one snapshot predates version tracking.
comparabilityNoteNoPlain-language account of whether the two ends can be compared.

TDQS

A4.4/5.0
Behavior5/5

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

Goes far beyond the annotations (readOnlyHint=false, idempotentHint=false). It discloses the write behavior ("Unlike the other tools this one WRITES: it stores a durable snapshot"), the 6-hour snapshot retention limit, the baselineAt caveat, and the comparable flag semantics including the ruleset-difference scenario. This is exemplary transparency with no contradiction to annotations.

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 description is long but every sentence carries non-obvious, decision-relevant information (write behavior, snapshot rate limiting, baselineAt, comparable flag, ruleset caveat). It is front-loaded with purpose and usage before the caveats. Slightly dense, but the complexity of the tool justifies the length — no wasted words.

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?

Given an output schema exists (covering return values), the description correctly focuses on behavioral semantics rather than return format. It covers write side-effects, snapshot retention policy, baseline ambiguity, and the critical comparable flag pitfall. For a tool with this complexity, nothing important appears 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 coverage is 100% — the input schema already fully documents the url parameter, including the bare-domain normalization ("example.com" treated as https://example.com). The description adds no parameter-specific meaning beyond the schema, 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?

The description opens with a specific verb+resource statement: "Re-audit a site and report what moved since it was last checked: which findings are new, which were resolved, and how each category score shifted." It clearly distinguishes from the sibling compare_websites (which compares two sites) by anchoring on comparison against past history rather than another site.

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?

Provides explicit trigger conditions: "Use it after the user says they fixed something, or to verify that a deployment did not regress anything." It also hints at differentiation from "the other tools" by noting this one writes. However, it does not explicitly name alternatives or state when NOT to use it (e.g., when comparing two arbitrary sites, which would be compare_websites).

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.

TDQS

A4.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes: full audit vs. single-category check vs. score-only vs. comparison vs. badge embed vs. inventory vs. change tracking. However, check_ai_visibility overlaps with check_category's 'ai' area, potentially causing confusion for agents. Descriptions help delineate but the overlap is notable.

Naming Consistency4/5

Seven of eight tools follow a consistent verb_noun snake_case pattern (audit_website, check_ai_visibility, check_category, compare_websites, get_badge_embed, get_score, get_site_inventory). Only 'what_changed' breaks the pattern by using a question phrase. Otherwise naming is uniform and predictable.

Tool Count5/5

8 tools is well-scoped for a website intelligence server. Each tool addresses a distinct need (full audit, narrow check, AI visibility, comparison, score, badge, inventory, diff tracking) without being excessive or sparse. The set feels complete for its domain.

Completeness5/5

The tool surface covers the full lifecycle of analyzing a website: comprehensive audit (audit_website), granular category checks (check_category, check_ai_visibility), score retrieval (get_score), comparison (compare_websites), change monitoring (what_changed), asset inventory (get_site_inventory), and even a sharing artifact (get_badge_embed). No obvious dead ends or missing operations for the stated purpose.

Resources