Skip to main content
Glama

Read the last audit report

wp_get_audit_report
Read-only

Retrieve the last saved AI Site Auditor report for a WordPress page by post ID to review prior audit results without running a new audit.

Instructions

Returns the last AI Site Auditor report saved for a page, without running a new audit. Needs AI Site Auditor.

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": {
      "id": "<id>"
    },
    "name": "wp_get_audit_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint=true and openWorldHint=false, the description discloses two meaningful traits: the result is a previously saved report (cached/stale by nature) and the AI Site Auditor dependency must be present. It does not say what happens when no report exists for the page, which is the main remaining behavioral gap.

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?

Two short sentences, front-loaded with the outcome and followed by the non-obvious prerequisite; nothing is padded. The clipped "Needs AI Site Auditor." fragment is clear but slightly telegraphic.

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 single-parameter read tool with annotations covering the safety profile and no output schema, the description covers what is returned, that it is cached, and the plugin dependency. Only the missing-report/error behavior is left unexplained, which is minor for a tool this simple.

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 the single parameter is documented as "Post ID", so the schema already carries the semantics. The description only adds the loose mapping of that ID to "a page"; it adds no format, range, or validity meaning. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Returns the last AI Site Auditor report saved for a page" gives a specific verb and resource, and "without running a new audit" implicitly separates it from wp_audit_page's fresh-audit behavior. It stops short of naming that sibling explicitly, so the differentiation is inferred rather than stated.

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?

The phrase "without running a new audit" supplies a clear condition for choosing this tool over running an audit, and the plugin prerequisite sets context. It never states an explicit exclusion or names the alternative tool an agent should pick when it wants a fresh audit, so the guidance is clear but not complete.

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