Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Manage local audit history

audit.history
Destructive

Opt-in local-only site-audit snapshot history. Save a previous hosted audit_public_site structured result as JSON, list saved IDs, or retrieve an exact version.

Instructions

Opt-in local-only site-audit snapshot history. Save a previous hosted audit_public_site structured result as JSON, list saved IDs, or retrieve an exact version. A single compact local JSON file retains at most 10 versions; saving the 11th removes the oldest. No database, background task, or network request.

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": {
      "action": "<action>"
    },
    "name": "audit.history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoFor get: saved version ID returned by list or save.
actionYesSave a snapshot, list versions, or retrieve one by ID.
snapshotJsonNoFor save: JSON-serialized structuredContent from hosted audit_public_site, max 60 KB. Raw HTML is not stored.

Output Schema

NameRequiredDescriptionDefault
countYes
errorNo
itemsYes
evicted_idNo
snapshot_jsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, and the description explains exactly what gets destroyed: a single local JSON file capped at 10 versions where the 11th save evicts the oldest. It also discloses the negative behavior surface – no database, no background task, no network request – which supports openWorldHint=false. It could have noted that only 'save' mutates while 'list'/'get' are reads.

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

Conciseness5/5

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

Four short sentences, front-loaded with the scope, then actions, then the retention rule, then the negative guarantees. Every sentence carries distinct information; nothing is redundant with the title.

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-value detail is unnecessary, and the description covers storage location, source of input, retention behavior, and absence of network/side effects. Missing only edge-case behavior such as retrieving an unknown or evicted ID, which matters given the 10-version cap.

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 all three parameters (id, action, snapshotJson) are already documented, including the 60 KB cap and that raw HTML is not stored. The description reinforces the source of snapshotJson and implies 'get' returns an exact version rather than a diff, but adds no syntax or format detail beyond the schema. Baseline 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?

States the specific resource (local site-audit snapshot history) and enumerates the three verbs it performs: save a hosted audit_public_site result, list saved IDs, retrieve an exact version. The 'local-only' scope cleanly separates it from hosted audit siblings like audit.trends or audit.production_change.

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?

Clarifies that this is opt-in and that the input for save is a prior hosted audit_public_site structured result, which tells the agent the prerequisite and where the payload comes from. It stops short of explicitly naming when to prefer it over the hosted audit siblings, so it does not reach the top band.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.