Skip to main content
Glama
PageSpeed MCP Server

PageSpeed MCP Server

sitemap_robots_audit

Validate sitemap.xml and robots.txt files to check existence, format, URL counts, and common issues, helping diagnose crawl and indexing blockers.

Instructions

Validate sitemap.xml and robots.txt files. Checks existence, format, URL count, and common issues.

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": {
      "url": "<url>"
    },
    "name": "sitemap_robots_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and leaves key behavior undisclosed: whether this performs live network fetches, whether it is read-only and safe to repeat, whether it follows redirects, and what form the results take. It lists the check categories, which is useful, but nothing about side effects, permissions, or failure modes.

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?

Two tight sentences, front-loaded with the action and resource, then the concrete checks. No filler, hedging, or redundancy.

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 network-touching audit with no annotations, no output schema, and an undocumented parameter, the description is too thin. An agent knows roughly what the tool inspects but not how to call it correctly or what it will get back.

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

Parameters2/5

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

The single parameter 'url' has 0% schema description coverage, and the description never mentions it. It is ambiguous whether 'url' should be the site root (with the tool discovering /sitemap.xml and /robots.txt) or a direct path to one of those files – a critical distinction the agent cannot resolve from any supplied field.

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 verb (validate) and named resources (sitemap.xml and robots.txt), plus the checks performed (existence, format, URL count, common issues). An agent can distinguish this from performance_audit or security_headers_audit, though it doesn't explicitly clarify its boundary against the broader technical_seo_audit sibling.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'validate' – an agent can infer this belongs in a crawlability/indexability check, but there is no explicit when-to-use, no prerequisites (e.g., site must be publicly reachable), and no named alternative for related checks.

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