Skip to main content
Glama

Audit a page with AI Site Auditor

wp_audit_page
Idempotent

Runs AI-powered SEO and accessibility audit on one WordPress page, returning scores, issues, suggested SEO title, meta description, alt text suggestions, and a saved report without editing content.

Instructions

Runs AI Site Auditor on one page: rule-based SEO and accessibility checks plus a Claude review, with scores, issues, a suggested SEO title and meta description, and alt text suggestions for images. Takes 20–60 seconds and uses the site's Anthropic API credits, so audit only the pages you need. It saves a report and does not change the page.

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_audit_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: latency (20–60s), cost model (consumes the site's Anthropic API credits), output contents, and the side effect that it saves a report while not changing the page. This also reconciles the readOnlyHint=false annotation, which would otherwise be confusing since the tool reads a page but writes a report artifact.

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?

Three sentences, front-loaded with the action and outputs, then cost/time, then the side-effect profile. No redundant restatement of the title or name, and every sentence carries information the agent needs before invoking.

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, but the description enumerates the return contents (scores, issues, suggested title/meta, alt text suggestions), plus runtime, cost, and persistence behavior. For a one-parameter tool this leaves nothing an agent needs to know before calling it.

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?

The single parameter is fully documented in the schema ('id', Post ID, integer > 0), so schema coverage is 100% and the baseline of 3 applies. The description refers to 'one page' but adds no constraint or format detail beyond what the schema already states.

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 a specific verb and resource ('Runs AI Site Auditor on one page') and enumerates exactly what the run produces: SEO/accessibility checks, a Claude review, scores, issues, suggested title/meta, and alt text suggestions. The mention that it saves a report implicitly separates it from the retrieval sibling wp_get_audit_report, so an agent can tell the run from the read.

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?

Gives clear operating context — 20–60 seconds runtime and Anthropic credit consumption — with the explicit directive 'audit only the pages you need', which tells the agent to be selective rather than audit everything. It stops short of naming when to prefer the saved-report sibling over a fresh run, so it is strong context rather than a complete when/when-not/alternative map.

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