Skip to main content
Glama

web_sitemap

Read-only

Sitemap reader — Fetch and parse a sitemap.xml (or sitemap index): URL count, newest and oldest lastmod, and the URLs themselves. Pass ?domain= or ?url=, optional ?count= (1-500). Price: $0.004 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
urlYesor a full sitemap URL
countNooptional 1-500, default 100
domainYesdomain (uses /sitemap.xml)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/non-destructive, and the description adds genuinely new context: the response contents, that sitemap indexes are handled, and a paid pricing/auth requirement ($0.004 USDC via x402) which an agent must know before calling. It omits failure behavior for missing or non-XML sitemaps, so it falls short of a 5.

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 purpose, then response shape, then inputs, then price — an efficient order with almost no filler. The query-string notation (?domain=, ?count=) is slightly mismatched to a JSON-object schema and costs a little clarity, but nothing is redundant.

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 correctly spends words on the return payload, and it discloses the payment requirement, which is essential for a paid endpoint. It stops short of explaining behavior when no sitemap exists or how count interacts with a sitemap index, so it is strong but not exhaustive for this complexity.

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 the baseline is 3, but the description resolves a real ambiguity: the schema marks both domain and url as required, while the text makes clear they are alternative inputs ('Pass ?domain= or ?url='). It also confirms domain implies /sitemap.xml, though count's range is already fully specified in the schema.

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 ('Fetch and parse a sitemap.xml') and even enumerates what comes back: URL count, newest/oldest lastmod, and the URLs themselves. This sharply distinguishes it from adjacent web-inspection siblings like web_links or web_robots, and the sitemap-index case is covered explicitly.

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?

It tells the agent how to invoke it ('Pass ?domain= or ?url=', optional ?count=) but never says when sitemap reading is the right choice versus crawler-style siblings, nor any exclusion such as 'use this only when /robots.txt advertises a sitemap'. Usage is implied by the resource rather than stated.

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