Skip to main content
Glama

Agent Data Hub

Sitemap reader: every page URL of a site

web_sitemap
Read-onlyIdempotent

Give a site (or a sitemap URL) and get its page list the way search engines see it: finds sitemaps via robots.txt, /sitemap.xml or /sitemap_index.xml, follows sitemap indexes (newest first, up to 6 files, .xml.gz supported) and returns URLs with lastmod, changefreq and priority. Optional 'contains' filter (e.g. /blog/). Up to 2000 URLs. Use to plan a crawl, find new or changed pages, or count a site's pages. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.

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": {
      "url": "<url>"
    },
    "name": "web_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesSite or sitemap URL, e.g. https://stripe.com or https://example.com/sitemap.xml
limitNoMax URLs 1–2000 (default 500)
containsNoOptional: only URLs containing this text, e.g. /blog/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety bar is low. The description goes well past them, disclosing discovery order (robots.txt, /sitemap.xml, /sitemap_index.xml), index traversal limits (newest first, up to 6 files), .xml.gz support, a 2000-URL ceiling, and per-call pricing with a free daily tier — all behavior an agent cannot infer 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?

Front-loaded with the core action and dense with useful specifics; no filler sentences. It is a single long run-on paragraph, and the pricing clause could sit separate from the operational description, but nothing is redundant.

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?

Covers discovery mechanics, traversal limits, return fields (lastmod, changefreq, priority), result caps, and cost — everything needed to decide whether and how to call a read-only sitemap reader without an output schema. No meaningful gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds an example of the 'contains' filter usage and reinforces the 2000-URL cap, marginally enriching the schema's default-based 'limit' documentation.

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+resource ('Give a site ... get its page list the way search engines see it') and clarifies the scope is sitemap-level, which distinguishes it from page-level siblings referenced in the catalog. It stops short of naming an alternative (e.g. page_links) explicitly, so sibling differentiation is implied rather than stated.

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?

'Use to plan a crawl, find new or changed pages, or count a site's pages' gives concrete scenarios for selecting this tool. It does not state when NOT to use it or point to a competing tool for single-page link extraction.

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