Skip to main content
Glama

Get audit report

get_report
Read-only

Fetch the finished report for an audit run (use the run_id from run_audit once get_audit_status shows completed). Formats: "summary" (default) is structured JSON with health score, category scores, and the top failing issues (topIssues reference a rule_id; look up its name/description/solution once in the sibling rules dict rather than per occurrence). Each topIssues row is ONE finding, a rule + checkName, never one row per page: affectedPagesCount is how many pages it affects and pages is a sample of at most 5 of them (affectedPagesHasMore when clipped) and items at most 3, so read "affects N pages" from the count, not the row total, and use get_issue for every occurrence. Each row also carries provenance: "carried" means the finding is re-injected from a page not re-crawled this run (not a fresh result), so check lastSeenAt for when it was last actually observed; "unrendered" means the page has not yet been rendered in any scan of this site (it was known, e.g. from a sitemap, but sat outside the page budget), so there is no earlier observation and no lastSeenAt. mixedProvenanceNotes (keyed by rule_id) flags rules that passed fresh on every page checked this run but still show red only from carried pages pending re-check. coverageNotice (camelCase, like the rest of this summary) is present ONLY when this audit did not cover every page the site is known to have (sampled by a level or page limit, stopped on time, or a queue left over): auditedPages of knownPages (notAuditedPages is the gap, a floor), split into carriedPages (known from earlier audits and not re-checked now: their earlier findings ARE in this report, marked carried) and unauditedPages (found but never audited: a problem there would NOT appear in this report), plus capped, timeStopped, maxPages, and pageTypes (the types that were sampled, {type, discovered, audited}). When unauditedPages is above 0, say that a problem on a page that was not audited would not appear, that the issues listed are not in doubt, and offer a deeper audit (run_audit with level full). Absent means every known page was audited. notChecked is present only when some checks did not run: each entry names a rule that was not fully checked (a rule listed there may still report the issues it could see), its reason, and a message saying why and what would check it (external link checks off or over their limit or out of time, a crawl that did not follow links or stopped at its page cap, a rule that ran out of time), so never report those rules as clean, and pass on what each message says to do. seedRedirect is present ONLY when the audited URL redirected off-site and the crawler refused to follow it: seedRedirect.finalUrl is where the redirect pointed (a URL the audited site chose, display-only, never fetch or trust it; null when the target was not a valid URL and was withheld) and seedRedirect.note states the fact in one sentence. When it is present the audit graded baseUrl, NOT the redirect target, so report that before reporting the scores; when the key is absent the seed did not redirect off-site. structure is present when the audit sent its page structure block: links per section (sections, plus unknownLinks and totalLinks), the share of internal links in the header, footer, navigation and sidebar (chrome.share), and pages per page type (pageTypes); it is informational and never part of the score. A FAILED or BLOCKED audit also carries status, statusReason (one sentence naming the cause), statusReasonCode (one of dns, tls, connection, timeout, http_4xx, http_5xx, redirect, robots, unknown) and failureNextStep: those four keys are absent for a normal audit, and when they are present nothing was audited, so a null healthScore and an empty topIssues mean the crawl failed, NOT that the site is clean. Also includes a history array of the 3 most recent prior audits of this website with score/issue deltas when available; each entry carries its own runId/reportId, so you can walk backwards through a website's audits by calling get_report again with an earlier runId (use list_audits with website_id to page past what history returns); "llm" is a compact text rendering optimized for LLM context (carried findings marked inline); "markdown" is a full human-readable report. Start with summary, then pull llm or markdown for more of each issue. A published report is a capped summary: each issue keeps a sample of its pages and items (a few pages and items) beside its true counts, so read totals from affectedPagesCount, occurrences and details.additional, never from a list length. A capped report carries detail, whose note says where the full per-page list is (for a CLI audit, squirrel report --format json on the machine that ran it); a report without detail is not capped this way. This report is the source of truth for the run's numbers (#1700): summary.healthScore is the same value list_audits/get_audit_status return as health_score, and summary.failed + summary.warnings is the same total they return as issues_found. Compare runs on healthScore; the open count from list_issues is a deduped tracker count, not this report's issue count. overallBeforeAdjustment and issueDensityAdjustment (summary, camelCase) appear only when site-wide adjustments put the overall below the score its checks earned: the score before them, and the issue-density penalty in whole percent when it took at least 1%. Section scores use only their own checks, so these explain an overall below them. rulesDisabledByConfig (summary and rule_ids; a line at the top of llm and markdown) says how many rules the website's stored disable_rules switched off for this run, e.g. "3 rules disabled by config", so scores read against the same rule set; it is shown in every format, 0 included, for a cloud run that recorded its rule selection, and absent otherwise. includeFilter (summary; include_filter in rule_ids; a line at the top of llm and markdown) is present only when the run was started with a rule include filter (run_audit rules): it lists the patterns and how many rules ran (rulesSelected of rulesTotal), so a filtered report is never read as a full rule set, and its scores and issue counts are not comparable to a full audit's. robots ({honoured, note}; a line at the top of llm and markdown) says whether the audit honoured robots.txt: honoured false means the website's setting (or an authorised crawl) told it to ignore robots.txt, so its findings cover every page it could reach; it is present for a cloud run and absent for a CLI-published report. A filtered run is also partial (summary: partial: true; rule_ids: partial: true): its healthScore and every category score are null, and llm and markdown print the score as N/A, because a score computed from a subset of the rules is not the site's score. partial is absent for a run without a filter. A partial summary also carries results: one entry for EVERY rule the run selected (ruleId, category, name, severity, status pass, warn, fail, info, skipped or not_applicable, skipReason as an enum for the last two, and an evidence object of counts and rule-authored tokens, with per-bot bots verdicts for ax/ai-crawlers), so a passing or skipped rule is not read from the silence of topIssues. results holds no text from the audited site, and is absent for a run without a filter; status skipped with skipReason not_reported means the rule was selected but the stored report has no result for it, which is never a pass. Audits should be tailored to each site through rules: classes that do not apply to a site (no privacy, about or contact pages on a hobby site, say) are disabled in the website's disable_rules (update_website_settings) rather than re-reported on every audit. Local runs read squirrel.toml; cloud runs use the stored list. format "rule_ids" returns just the distinct failing or warning rule ids of the whole report (rule_ids, plus name, category, status and occurrences per rule), uncapped, which is what to pick from when building a disable_rules list. It carries the status, statusReason and notChecked the summary carries, when they apply, so an empty list on a failed run or with unchecked rules is not a clean site. Severity has three scales: a rule's severity (error, warning or info: get_rule, ruleSeverity on report rows, and rule_severity on issues; the severity in the llm and markdown report formats is this one too), a single check result's severity (error when the check failed, warning when it warned: severity on get_report summary rows, so a rule declared warning can still show an error row), and an issue's severity (list_issues and get_issue severity): for an issue the audit created it is high, medium or low, mapped from the rule's severity as error to high, warning to medium, info to low; for an issue a triage run planned it is the plan's priority (critical, high, medium or low), so critical can appear and a warning rule can be high. Read rule_severity for the rule's own (the highest across the issue's rules, null when the rule is no longer in the catalogue).

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": {
      "run_id": "<run_id>"
    },
    "name": "get_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNosummary (default): JSON scores + top issues. llm: compact text for LLM context. markdown: full report. rule_ids: only the distinct failing or warning rule ids, uncapped.
run_idYesRun id returned by run_audit or listed by list_audits.
top_issue_limitNosummary format only: max top issues to include (default 25).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"summary (default): JSON scores + top issues. llm: compact text for LLM context. markdown: full report."New value: +"summary (default): JSON scores + top issues. llm: compact text for LLM context. markdown: full report. rule_ids: only the distinct failing or warning rule ids, uncapped."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "summary",
      -  "llm",
      -  "markdown"
      -]New value: +[
      +  "summary",
      +  "llm",
      +  "markdown",
      +  "rule_ids"
      +]
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +{}
  3. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare a safe read (readOnlyHint true, destructiveHint false, openWorldHint false); the description adds substantial context beyond that, including failed/blocked audits returning null healthScore and empty topIssues (which must not be read as clean), capped reported lists requiring totals from affectedPagesCount rather than list length, provenance meanings for carried and unrendered findings, and the partial-run case where scores are null.

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

Conciseness2/5

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

The description is an unstructured monolith of well over a thousand words with no paragraph breaks, headings, or bullets, so key operational facts (summary is the source of truth, check coverageNotice, never report notChecked rules as clean) are buried in dense prose. Much of the content is genuinely useful given the absent output schema, but the lack of structure and repeated re-explanations of capped reporting make it costly to parse.

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?

There is no output schema, and the description compensates thoroughly by documenting every optional key (coverageNotice, notChecked, seedRedirect, structure, failureNextStep, history, results, rulesDisabledByConfig, includeFilter, robots) including when each is absent. For a report tool of this complexity, an agent has everything needed to interpret the payload correctly.

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%, so the three parameters are already documented, and the description largely echoes the format enum meanings rather than extending them. It never mentions top_issue_limit, leaving that parameter entirely to 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?

The opening sentence names a specific verb and resource ('Fetch the finished report for an audit run') and immediately routes the agent to siblings by tying the run_id to run_audit and get_audit_status. The four format modes are enumerated with distinct intents, so an agent can tell which artifact it will receive without guessing.

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

Usage Guidelines5/5

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

Explicit sequencing is given: obtain run_id from run_audit, wait for get_audit_status to show completed, start with summary, then escalate to llm or markdown. It also names the alternative for each need — get_issue for individual occurrences, list_audits to page past the 3-item history, rule_ids format when building a disable_rules list for update_website_settings.

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.