Skip to main content
Glama
SEOBlogBot

SEOBlogBot

Official
by Citability

Audit Sitemap

audit-sitemap

Validate sitemap.xml accessibility, content-type, and structure to confirm Google can fetch it correctly for SEO compliance.

Instructions

Validate sitemap.xml accessibility, content-type, and structure for SEO compliance. Checks if Google can fetch the sitemap correctly.

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": {
      "siteUrl": "<siteUrl>"
    },
    "name": "audit-sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteUrlYesBase URL of the site (e.g., https://example.com)
sitemapPathNoPath to sitemap (default: /sitemap.xml)/sitemap.xml

Output Schema

NameRequiredDescriptionDefault
issuesYes
urlCountYes
accessibleYes
sampleUrlsYes
statusCodeYes
contentTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses what is inspected but never states that this is a non-destructive fetch-only operation, whether it makes live network requests, or whether results are cached; 'Validate' implies read-only but does not declare it.

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 sentences, zero filler, with the concrete checks front-loaded before the Google-fetch framing. Nothing could be removed without losing information.

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 two-parameter tool with a full output schema, the description covers what is validated and for what purpose, which is enough to call it correctly. The remaining gap is behavioral (network/auth/side-effect disclosure), which is modest for a read-only validator.

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%, with both siteUrl and sitemapPath documented including the default, so the schema does the heavy lifting. The description mentions sitemap.xml implicitly via sitemapPath but adds no accepted formats, URL normalization rules, or path semantics beyond the schema.

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 resource ('sitemap.xml') and enumerates the three things checked: accessibility, content-type, and structure. It is clearly distinct from check-robots-txt or audit-lighthouse by resource, but it never names a sibling or explicitly scopes itself against them.

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?

The framing 'Checks if Google can fetch the sitemap correctly' implies the diagnostic scenario (pre- or post-indexing verification), but there is no explicit when-to-use, when-not-to-use, or named alternative such as check-indexing-status. The agent must infer the trigger condition.

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