Skip to main content
Glama

speed_audit

Read-only

Run a read-only WordPress speed audit to score performance and identify fixes for load time, caching, database junk, and oversized images. Each finding names the tool that resolves it.

Instructions

Read-only speed report with a 1-100 score: homepage load time and size, script/stylesheet counts, compression and caching headers, caching plugin, object cache, autoloaded option weight (with the 8 heaviest named), database junk, oversized images (up to 40, largest first), plugin count and PHP version. Every finding names the tool that fixes it. Changes nothing. Run it before and after optimizing to compare.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "speed_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, and the description reinforces rather than contradicts this with 'Read-only' and 'Changes nothing.' It adds genuinely new behavioral context beyond the annotation: result caps ('up to 40, largest first'), a fixed sample size ('the 8 heaviest named'), and the fact that each finding carries a remediation pointer. It does not mention runtime, auth requirements, or pagination, keeping it below a 5.

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?

Front-loaded with the core purpose and score range, then the measurement list, then the remediation promise, then the before/after guidance — a sensible ordering. It is dense and somewhat list-like, but each clause carries a distinct fact about the output, so little is wasted.

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?

With no output schema available, the description compensates by enumerating the return contents and their ordering/limits, which is exactly what an agent needs to interpret results. Combined with the readOnly annotation and the remediation-pointer contract, nothing essential for correct invocation or result handling is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to elaborate and the baseline of 4 applies. The description's implicit claim that the audit runs against the current site with no scoping inputs is consistent with the empty schema.

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?

Names a specific verb and resource ('speed report') and immediately states the deliverable is a 1-100 score. The enumeration of exactly what is measured (load time/size, script/stylesheet counts, compression and caching headers, autoloaded option weight, database junk, oversized images, plugin count, PHP version) makes it unmistakably distinct from siblings like get_site_info or db_cleanup_preview.

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 an explicit usage pattern: 'Run it before and after optimizing to compare,' which tells the agent when to invoke it. It also routes remediation by promising each finding names the fixing tool, so the agent knows this is the entry point into the sibling tools. It stops short of naming an alternative or stating when not to use it.

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