Skip to main content
Glama

site_readiness

Read-only

Run a read-only launch readiness audit on a WordPress site, checking headings, metadata, JSON-LD, images, headers, robots/sitemap and WooCommerce settings, then return structured pass/fail findings.

Instructions

Read-only exit code for the build-standard standard: runs every objective, machine-checkable part of a launch readiness pass and returns structured pass/fail findings shape-compatible with the pre-launch-audit skill's machine-readable block. Checks: heading order, alt-text coverage, title/meta description/Open Graph presence, JSON-LD validity (and aggregateRating/review misuse), href="#" count, placeholder text, image weight (300KB cap, 200KB on the LCP image), security headers (HSTS/nosniff/frame-ancestors/referrer-policy — deliberately does NOT require an enforcing CSP), llms.txt/sitemap/robots.txt status (including a 404 page served with a 200, a real bug this plugin shipped), 404 handling, snippet errors, legal-page wiring, and — only when WooCommerce is active — tax-rate sanity, stock policy, and registration/role defaults. Changes nothing on the site. A check that could not run (WooCommerce inactive, no HTTPS, a capability the owner disabled) is reported in skipped and is NEVER counted as a pass — always check skipped and not_verified before trusting pass. Some checks (viewport sweeps, console errors, rendered contrast, animation smoothness) are structurally impossible without a browser and are listed in not_verified with what a human should click instead.

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": "site_readiness"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsNoOptional extra absolute URLs to include in the page-level checks (e.g. a landing page not in the post table).
scopeNosite: crawl published pages/posts plus the site-level checks. page: check only post_id.site
post_idNoRequired when scope=page: the post/page to check.
request_headersNoOptional headers to send with every fetch OF THIS SITE, so a site behind a coming-soon gate, a maintenance-mode plugin or an HTTP-auth wall can be audited instead of returning one holding page for every URL. Usually a Cookie: e.g. {"Cookie": "preview_key=abc"}. Ignored for any URL not on this site's own origin. This does not reveal anything the caller could not already reach; it only presents the credential a human would use in a browser.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond readOnlyHint:true by specifying what is deliberately NOT enforced (an enforcing CSP), why skipped checks are never passes, which checks are structurally impossible without a browser and belong in not_verified, and that request_headers is restricted to the site's own origin and reveals nothing new. It also discloses historical bugs the plugin shipped, which is unusual and useful context.

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-loads the purpose and the result shape before the long check inventory, and the closing warning about skipped/not_verified is well placed. It is dense, one-sentence-per-idea run-ons with jargon ('build-standard', 'shape-compatible with the pre-launch-audit skill's machine-readable block') that could be trimmed, but the check list earns its space by telling the agent what is covered.

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?

For a complex, no-output-schema audit tool this is appropriately complete: it describes the return keys (pass, skipped, not_verified), the scope of checks, the conditional WooCommerce subset, and what is out of reach without a browser. An agent could decide whether to call it and how to interpret the result without further information.

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% and request_headers is already documented in detail in the schema, so the structured data carries parameter meaning. The description does not add anything about urls, scope, or post_id beyond what the schema states, so the baseline of 3 applies.

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 machine-checkable launch-readiness objectives and returns structured pass/fail findings — and enumerates the concrete checks, so an agent knows exactly what domain this covers versus single-purpose siblings like broken_links or get_site_info. The 'read-only exit code' framing makes the nature of the result unambiguous.

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?

Clear context for use: a pre-launch readiness pass, with the caveat that skipped/not_verified must be inspected before trusting pass. It does not explicitly say when to prefer this over narrower siblings (e.g. broken_links for link-only checks) or when not to run it, so guidance is strong but not fully comparative.

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