Skip to main content
Glama

check_site_health

Run a comprehensive WordPress health audit to detect core, PHP, database, plugin, theme, cron, HTTPS, URL, and permalink issues, returning a 0–100 score for prioritizing fixes.

Instructions

Comprehensive WordPress site health report. Checks: core integrity (verify-checksums), PHP version, database health, plugin/theme updates, WP-Cron, HTTPS, URL consistency, permalinks. Returns a 0-100 health score.

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": {
      "wpPath": "<wpPath>",
      "conversationId": "<conversationId>"
    },
    "name": "check_site_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
wpPathYesAbsolute path to the WordPress installation.
conversationIdYesThe conversation ID obtained from learn_wordpress_api.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose the check inventory and the return shape ('0-100 health score'), which is genuinely useful behavioral context. However, it never states that the operation is read-only / non-mutating, whether it requires an authenticated connection or elevated filesystem access, how long a full sweep takes, or whether it fails hard on the first failing check — all material for a diagnostic that runs checksum verification and DB inspection.

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?

Front-loaded with the one-line purpose, followed by a compact checklist and the return value. Three sentences, no filler, and every clause carries information an agent can use.

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-call diagnostic with no output schema, the description covers what is inspected and that a 0-100 score comes back, which is enough to decide to call it. The remaining gap is the absence of read-only/permission framing and any notion of per-check output detail beyond the aggregate score.

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% for both parameters, including the pointer to learn_wordpress_api for conversationId, so the baseline of 3 applies. The description adds nothing about wpPath (e.g., whether a multisite root or wp-content path is acceptable) beyond what the schema already documents.

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?

States a specific resource and action ('Comprehensive WordPress site health report') and enumerates the concrete checks performed (checksums, PHP version, database health, updates, WP-Cron, HTTPS, URL consistency, permalinks). That enumeration functionally separates it from siblings like analyze_database or analyze_plugin, but no sibling is named, so it falls short of full explicit differentiation.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., 'run before deploying' or 'use instead of debug_wordpress for a quick pass'), and no exclusions. The agent must infer the trigger condition from the tool name alone.

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