Skip to main content
Glama

Read a sitemap's URLs

get_sitemap_urls
Read-only

Read up to 500 page URLs from a sitemap on the Project's property, one level into a sitemap index.

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

Input Schema

NameRequiredDescriptionDefault
projectIdYes
sitemapUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description still adds real behavioral context beyond that: a hard cap of 500 URLs and the fact that a sitemap index is traversed only one level deep, which materially affects what the agent will get back.

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?

A single well-formed sentence with the scope and the 500-URL/depth limits front-loaded and zero filler. Every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The 500 cap and one-level index behavior cover the main unknowns, but with two undocumented required parameters and no output schema, the description leaves gaps: whether results are truncated silently, whether child sitemaps of an index must be fetched individually, and what the return shape is.

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

Parameters2/5

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

Schema description coverage is 0%, so neither projectId nor sitemapUrl is documented anywhere. The description only loosely implies project scoping ('on the Project's property') and says nothing about the required URI format, max length, or whether sitemapUrl may point at an index versus a plain sitemap.

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 and resource ('Read ... page URLs from a sitemap') plus scope ('on the Project's property'), which is enough to distinguish it from the sibling list_search_console_sitemaps that lists sitemaps rather than their URLs. It does not name that sibling explicitly, so differentiation is inferred 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g. that a sitemap must first be discovered via list_search_console_sitemaps), and no stated alternative such as inspect_urls. The agent must infer from the required sitemapUrl parameter that a known sitemap URL is a precondition.

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