Skip to main content
Glama

build_segmented_sitemaps

Read-onlyIdempotent

Build origin-validated segmented XML sitemaps and a sitemap index from provided URLs without network requests.

Instructions

Generate origin-validated segmented XML urlsets and sitemapindex without network requests.

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": {
      "siteUrl": "<siteUrl>",
      "urls": "<urls>"
    },
    "name": "build_segmented_sitemaps"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYes
siteUrlYes
maxUrlsPerFileNo
sitemapBasePathNo/

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorldHint=false), and "without network requests" usefully reinforces that no fetching occurs. However, the description leaves important behavior opaque: what "origin-validated" actually does with a mismatched URL (reject? filter? error?), and how segmentation splits output across files, is not disclosed.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity comes at the cost of the missing detail noted elsewhere rather than from disciplined editing.

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

Completeness2/5

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

For a tool that batches up to 200,000 URLs into multiple files with configurable file-size and base-path parameters, and that has no output schema, one sentence is far too thin. An agent cannot tell what the return value looks like, how files are named, or what happens to invalid origins.

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% across four parameters, so the description must compensate and does not. Neither siteUrl, urls, maxUrlsPerFile, nor sitemapBasePath is mentioned; "segmented" only obliquely gestures at the per-file cap, and the 50,000 default and 200,000 item ceiling are never surfaced.

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 ("Generate") and concrete artifacts ("segmented XML urlsets and sitemapindex"), which is a clear resource for an agent to match against a sitemap-building need. It is distinguishable from siblings like build_llms_bundle by naming the XML sitemap outputs, though "origin-validated" is unexplained jargon.

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 guidance on when to use this tool versus alternatives, and no prerequisites or preconditions stated. The only hint of scope is "without network requests," which tells the agent something about execution but not about selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.