Skip to main content
Glama

Sitemap Extractor API - all URLs of a website from its sitemaps

sitemap_extractor
Read-onlyIdempotent

Find a site's sitemaps (robots.txt Sitemap: lines, /sitemap.xml, sitemap indexes, .gz, .txt) and return every page URL with lastmod, changefreq and priority, up to 50,000. Filter by a word in the URL. For SEO audits, crawling plans and content monitoring. Live fetch, ~1-5 s. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/sitemap-extractor.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "radarbg.com",
      "maxItems": 50
    },
    "name": "sitemap_extractor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoDomain or sitemap URL, e.g. example.com or https://example.com/sitemap.xml
containsNoOnly URLs containing this text, e.g. /blog/
maxItemsNoMax URLs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations' readOnly/idempotent/openWorld hints, it discloses latency (~1-5 s live fetch), a hard result cap (50,000), and both the free quota (5 calls/day per IP) and paid auth paths (X-API-Key or x402 per-call billing) with links. That is exactly the operational context an agent cannot get from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with purpose, then scope, then operational facts in tight succession. The dense pricing/payment URLs are justified by auth needs but make the final third feel crowded; a small structural cost, not real waste.

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?

There is no output schema, and the description compensates by naming returned fields (page URL, lastmod, changefreq, priority) and the cap. For a three-parameter read-only fetch tool, nothing an agent needs to call it correctly 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?

Schema coverage is 100% and all three parameters are already documented, so the baseline applies. The description only echoes the URL-word filter and the 50,000 ceiling already present in the schema, adding no syntax or format detail beyond it.

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 names a specific verb and resource ('Find a site's sitemaps ... return every page URL') and enumerates the discovery sources it checks (robots.txt Sitemap: lines, /sitemap.xml, sitemap indexes, .gz, .txt), so an agent knows precisely what it retrieves without opening the schema.

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 gives concrete usage contexts ('SEO audits, crawling plans and content monitoring') and implies narrowing via the URL-word filter, but it never names a sibling alternative or a when-not-to-use condition, so routing against website_intelligence or website_tech_stack_detector is left to inference.

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.

Resources