Skip to main content
Glama

List sitemap URLs

list_sitemap_urls
Read-only

Downloads a sitemap from the site itself and lists its page URLs with lastmod, or its child sitemaps when it is a sitemap index. Use it to compare the sitemap with search_analytics_query pages or to choose URLs for inspect_urls. This is the live file, which can differ from what Google last downloaded. Page through large sitemaps with startRow and nextStartRow. Gzipped sitemaps are not supported.

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": {
      "projectId": "<projectId>",
      "sitemapUrl": "<sitemapUrl>"
    },
    "name": "list_sitemap_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowLimitNo
startRowNo
projectIdYesSite to act on, from list_sites. Only its connected Search Console property is used.
sitemapUrlYesA sitemap or sitemap index on the site’s Search Console property, such as one from list_sitemaps.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint/destructiveHint, it discloses that this fetches the live remote file (network-dependent, may differ from what Google crawled), that gzipped sitemaps are unsupported, and that large sitemaps must be paged with startRow/nextStartRow. The gzip limitation in particular is a failure mode the annotations could never convey.

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?

Five short sentences, front-loaded with what it returns, then when to use it, then the caveats and paging note. Every sentence carries distinct information and nothing is repeated from the annotations or schema.

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?

With no output schema, the description still covers the return shape (page URLs with lastmod, or child sitemaps), the pagination contract, and the unsupported gzip case. Nothing an agent needs in order 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 50%: projectId and sitemapUrl are already documented in-schema, and the description adds little to them. It does give real meaning to startRow (paging) and reveals the nextStartRow return field, but rowLimit is never explained in either place, so compensation for the coverage gap is only partial.

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 ("Downloads a sitemap ... lists its page URLs with lastmod") and explicitly covers the index case ("or its child sitemaps when it is a sitemap index"). The line "This is the live file, which can differ from what Google last downloaded" implicitly separates it from list_sitemaps, which reports Google's copy, so an agent can distinguish the two without opening a 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?

Gives concrete purposes and names two alternatives: compare against search_analytics_query pages, or pick URLs for inspect_urls. It also signals the live-vs-Google-copy distinction that would steer an agent toward list_sitemaps instead, though no explicit "do not use this when..." clause is present.

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