Skip to main content
Glama

wp_performance_stats

Retrieve real-time performance statistics and metrics for WordPress sites, including requests, cache, and system data, to monitor health and diagnose issues.

Instructions

Get real-time performance statistics and metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNoSpecific site ID for multi-site setups (optional for single site)
formatNoDetail level of the response (summary, detailed, raw)
categoryNoCategory of metrics to return (overview, requests, cache, system, tools, all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.9.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While 'Get' implies a read operation, it doesn't specify whether this requires authentication, has rate limits, returns real-time versus cached data, or what format the statistics come in. The description is too minimal for a tool that presumably accesses system metrics.

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?

The description is extremely concise at just 6 words, with no wasted language. It's front-loaded with the core purpose and doesn't include any unnecessary elaboration or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a performance statistics tool with no annotations and no output schema, the description is insufficient. It doesn't explain what types of statistics are returned, whether the data is real-time or historical, what authentication is required, or how this differs from other performance tools. The minimal description leaves too many contextual gaps.

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 schema description coverage is 100%, so the schema already documents all three parameters thoroughly. The description adds no additional parameter information beyond what's in the schema, which meets the baseline expectation when schema coverage is complete.

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?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('real-time performance statistics and metrics'), making it easy to understand what the tool does. However, it doesn't explicitly differentiate itself from sibling performance tools like wp_performance_alerts, wp_performance_benchmark, or wp_performance_history, which prevents a perfect score.

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?

The description provides no guidance on when to use this tool versus alternatives. With multiple sibling performance tools available (performance_alerts, benchmark, export, history, optimize), there's no indication of what distinguishes this statistics tool from those others or when each should be selected.

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