Skip to main content
Glama

sitemap-to-index

Reads a website's sitemap.xml and returns each page's title, meta description and word count as JSON. Checks up to 25 pages per call (one level of sitemap index), with a 25-second time limit. Every page is fetched through a public-internet-only safe fetcher. Use it to audit a site's SEO basics or to get a quick content inventory before crawling. Paid only: $0.25 per call via x402 at https://tools.orchardshop.xyz/t/sitemap-to-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": {
      "url": "<url>"
    },
    "name": "sitemap-to-index"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYese.g. https://example.com/sitemap.xml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description does real work: 25-page cap per call, one level of sitemap index, 25-second time limit, a public-internet-only safe fetcher (ruling out localhost/internal targets), and a paid x402 gate at $0.25 per call. Remaining gap is truncation and failure semantics — it doesn't say whether exceeding 25 pages errors or silently truncates.

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?

Four front-loaded sentences: capability, limits, safety constraint, use case, then pricing. Efficient, though the pricing sentence packs cost, protocol, and endpoint URL into one line.

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 1-param tool with no output schema, the description supplies the return shape, operational limits, network restrictions, and cost. Only the behavior on oversize or non-sitemap inputs is left unstated.

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 already 100% and the single parameter's own description supplies the sitemap.xml example. The prose adds only that the target is a sitemap, not much beyond 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 concrete verb and resource (reads sitemap.xml) plus the exact return payload (title, meta description, word count as JSON). That return signature cleanly separates it from siblings like page-metadata, page-to-text, or site-crawl-markdown.

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 two intended uses (SEO-basics audit, quick content inventory) and a sequencing hint: run it 'before crawling', which implicitly positions it ahead of the crawl siblings. No explicit when-not or named alternative, so it stops short of a 5.

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