Skip to main content
Glama

Compare Project Audits

project_site_audit_compare
Read-onlyIdempotent

Compares completed audits of the same host within this project. audit_id is current; baseline_id is earlier. Returns new/fixed/unchanged counts, not_assessed, rules_not_compared, both health scores on one scale and samples of up to 500 findings per group. include_unchanged adds that sample. Audits that read different numbers of pages are compared on the pages both read; findings on pages only one read are not_assessed. Read comparison_notes: absent evidence or unassessed rules cannot prove a fix. Audits of different hosts and excessively large comparisons are explicitly refused. Free and read-only. Uses only this organization's project evidence. Does not crawl, create/cancel/delete audits, alter suppression or change schedules. Requires the existing Site Audit service.

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": {
      "project_id": "<project_id>",
      "audit_id": "<audit_id>",
      "baseline_id": "<baseline_id>"
    },
    "name": "project_site_audit_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
audit_idYesAudit ID from project_site_audits_list.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID from projects_list in this connection's organization.
baseline_idYesA different completed audit of this project and host.
idempotency_keyNoOptional and ignored: this read never charges.
include_unchangedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses output composition (new/fixed/unchanged counts, not_assessed, rules_not_compared, both health scores on one scale, samples capped at 500 per group), the partial-overlap comparison rule, refusal conditions, cost (free), evidence boundary (this organization only), and an explicit negative scope list of things it will not do. The caveat that absent evidence cannot prove a fix is exactly the kind of interpretation guidance annotations cannot carry.

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 output contents are front-loaded before the caveats, and every sentence carries distinct information. It is dense and slightly list-like in the negative-scope sentence, but nothing is truly redundant with the annotations.

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?

With no output schema, the description fully compensates by describing the return payload, the sample cap, the partial-page comparison semantics, and the refusal behavior. Nothing an agent needs in order to invoke this correctly or interpret the result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 83%, so the baseline is 3, and the description earns above that by explaining the ordering relationship between audit_id and baseline_id and by giving include_unchanged concrete meaning (it adds the unchanged sample). The verbosity enum is only covered by the schema, which is acceptable.

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 first sentence gives a specific verb (compares), resource (completed audits), and scope constraint (same host, within this project), which cleanly separates it from project_site_audit_get and project_site_audit_findings_list. The follow-up sentences enumerate exactly what the comparison produces, so an agent knows the shape of the answer before calling.

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 states the required precondition that audit_id is current and baseline_id is earlier, and gives explicit when-not cases: different hosts and excessively large comparisons are refused. It also instructs the agent to read comparison_notes before treating a result as proof of a fix. It does not name a sibling alternative for single-audit inspection, so it stops short of full routing guidance.

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.

Resources