Skip to main content
Glama

Lookup Kit

sitemap_parse

Read-only

Sitemap parser, get all URLs from a website's sitemap.xml. Read an XML sitemap (or a site's robots.txt-listed sitemap when you send just the domain) and return its URLs with last-modified dates, or the child sitemaps of a sitemap index. Up to 1000 entries; .gz sitemaps supported. Price: $0.002 per call (x402, USDC on Base).

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": "sitemap_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond them by disclosing the 1000-entry ceiling, .gz support, the two distinct return shapes (flat URL list vs. sitemap index children), and a concrete per-call price with payment rail (x402, USDC on Base). The cost disclosure is exactly the kind of behavioral fact an agent cannot infer from structured fields and could get burned by.

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?

Four dense clauses, front-loaded with the core action before the fallback behavior and constraints. Price and format specifics are appended rather than buried, and nothing is redundant with the title or schema.

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?

With no output schema, the description carries return-value burden and does so for both the normal and index cases, plus cost and size limits. Small gaps remain: no statement about behavior when the site has no sitemap, and no note on whether a sitemap index recurses or must be re-parsed per child.

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 0%, so the description must carry the parameter meaning. It successfully explains the `url` parameter's dual mode (full sitemap URL vs. bare domain) and implies the 1000 cap via 'Up to 1000 entries', but the `limit` parameter's 200 default and its role as a page-size control are never mentioned. Partial compensation for a real coverage gap.

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?

States a specific verb and resource ('get all URLs from a website's sitemap.xml') and then refines the scope: it reads an XML sitemap or a robots.txt-listed sitemap when given a bare domain, and returns either URLs with last-modified dates or child sitemaps of an index. An agent knows exactly what it will get back, which is more than most definitions in this catalog offer.

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?

The domain-vs-URL input convention is effectively a when-to-use instruction: send a domain to have robots.txt resolved, send the sitemap URL to parse directly. The .gz note tells the agent it need not pre-decompress. It does not name an alternative tool or state exclusions, but for a self-contained parser there is little ambiguity to resolve.

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