Skip to main content
Glama

sitemap_parse

Read-only

Fetch/parse an XML sitemap into JSON. Enumerate a site's pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesSitemap URL.
maxUrlsNoMax 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / url / description
      Added value: +"Sitemap URL."
  2. Changed2 schema fields changed
    • changedInput schema / properties / maxUrls / description
      Previous value: -"Max URLs to return from a urlset (default 100, max 1000). Has no effect on sitemapindex (all child sitemaps are always returned)."New value: +"Max 1000."
    • removedInput schema / properties / url / description
      Removed value: -"Sitemap URL (http:// or https://). Accepts sitemap.xml, sitemap_index.xml, or any XML sitemap."
  3. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description's 'Fetch/parse' is consistent with a read operation. The description adds the JSON output format, which is useful, but it doesn't disclose other behavioral traits such as rate limits, auth requirements, or handling of invalid sitemaps. With annotations present, this is adequate but not rich.

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?

The description is two short sentences, front-loaded with the primary action and output. Every word earns its place—no filler, no repetition of schema or annotations. This is an example of efficient, well-structured prose.

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 simple read-only tool with two parameters and no output schema, the description covers the core purpose (fetch/parse sitemap to JSON) and use case (enumerate pages). It doesn't elaborate on return value structure, but the 'into JSON' statement is sufficient for this complexity level. Minor gap: no mention of size limits, but maxUrls in schema covers that.

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%, so the parameters (url and maxUrls) are already documented in the schema. The description does not add additional meaning beyond the schema, so it meets the baseline but provides no extra value for parameter understanding.

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 states a specific action ('Fetch/parse'), resource ('XML sitemap'), and output ('into JSON'), plus a use case ('Enumerate a site's pages'). This clearly distinguishes it from siblings like rss_parse (RSS not sitemap) and fetch_html (general fetching not parsing).

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 phrase 'Enumerate a site's pages' implies when to use this tool (when you need page lists from a sitemap), but it does not explicitly state alternatives or exclusions. There is no guidance on when not to use it, so it stops at implied usage rather than clear context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.