Skip to main content
Glama

read_sitemap

Read a sitemap (or a sitemap index and up to 10 of its child sitemaps) and return up to 200 page URLs. Nothing is captured; pass the URLs to batch_capture in groups no larger than your per-minute rate limit (10 by default). Private addresses, compressed (.xml.gz) sitemaps and sitemaps over 5 MB are refused. Requires the capture scope; 10 reads per minute.

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

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the sitemap, for example https://example.com/sitemap.xml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses read-only behavior ('nothing is captured'), refusal cases (private addresses, .xml.gz, >5 MB), the required capture scope, and a 10 reads/minute limit. It stops short of describing the shape of the returned URLs or error responses, which matters somewhat given there is no output schema.

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 sentences, front-loaded with what is returned, then workflow, then refusals, then auth and rate limits. No filler and every clause carries operational information.

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 one-parameter read tool with no output schema, the description covers return volume, downstream workflow, refusal conditions, permissions, and throttling. The only gap is the format of returned URLs and how partial failures on child sitemaps are reported.

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% and the single parameter is already documented with an example, so the baseline is 3. The description adds real meaning beyond the schema by clarifying that the url may point to a sitemap index whose children are also traversed.

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 (read a sitemap) plus precise scope: sitemap index with up to 10 child sitemaps, up to 200 page URLs returned. It also distinguishes itself from the write path by naming batch_capture as the consumer of its output.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says nothing is captured and directs the agent to pass URLs to batch_capture in groups sized to the per-minute rate limit (10 by default). That is a concrete when-to-use and what-to-do-next instruction rather than implied usage.

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.