Validate a sitemap
validate_sitemapFetch the sitemap for a site and report its structure, URL count, and fetch errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
validate_sitemapFetch the sitemap for a site and report its structure, URL count, and fetch errors.
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety and network access are covered. The description adds what the report contains (structure, URL count, fetch errors), which is real value. It does not disclose whether sitemap-index files are followed, how the sitemap is located, or whether redirects/retries occur.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence, front-loaded with the action, with no filler. Every clause (fetch, report structure, URL count, errors) carries distinct information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description does sketch the return values, which is the right instinct. But for a one-parameter tool with an undocumented parameter, an agent still lacks the input format and sitemap-discovery behavior needed to call it confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter 'target' has 0% schema description coverage, so the description must carry the burden. 'For a site' only loosely suggests a domain, leaving it unclear whether a bare domain, a page URL, or a direct sitemap.xml URL is accepted — a materially different invocation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource: fetches a site's sitemap and reports structure, URL count and fetch errors. That is well beyond a restatement of the name and is clearly distinct from DNS/TLS siblings like check_dns_propagation or check_tls_configuration. No sibling overlap is explicitly named, so it stops short of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as test_robots_txt or audit_page_links, which are the nearest neighbors in the sibling set. Usage is only inferable from the name and the noun 'sitemap'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.