Skip to main content
Glama

fetch_sitemap

Fetches and parses sitemap.xml, following nested indexes, to return all declared page URLs. Use it first to collect a site's URL list for technical SEO audits.

Instructions

Fetch and parse a sitemap.xml, following sitemap-index nesting, and return every page URL it declares. Call this first when auditing a site you do not have a URL list for.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sitemap_urlYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It discloses that the tool follows sitemap-index nesting and returns every declared page URL, which are meaningful behavioral details beyond what the schema shows. It does not mention failure modes or network behavior, but for a straightforward fetch-and-parse read operation this is reasonably transparent.

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 with no filler. The first sentence states what the tool does and the second gives usage guidance. The most important behavioral details are front-loaded.

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 one-parameter tool with an output schema present, the description is complete: it explains what the tool does, how it behaves with index nesting, what it returns, and when to call it. Nothing essential for correct invocation is missing.

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?

The schema has 0% description coverage, so the description must compensate. It indirectly clarifies that sitemap_url should point to a sitemap.xml and that index nesting is followed, but it does not explicitly describe the URL format, required scheme, or example values. Because the single parameter is highly self-evident from the tool name and description, this is adequate but not enriched.

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?

The description clearly states the action: 'Fetch and parse a sitemap.xml' and the specific outcome: 'return every page URL it declares.' It also mentions the non-obvious behavior of following sitemap-index nesting, which distinguishes this from simply fetching one XML file. The phrase 'Call this first when auditing a site' also separates it from siblings like audit_urls and sitemap_coverage.

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?

It provides explicit guidance: 'Call this first when auditing a site you do not have a URL list for.' This clearly tells an agent when to use it. However, it does not name alternative tools or explicitly state when not to use it, so it falls just short of full usage differentiation.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huanmxwp-crypto/seo-audit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server