Skip to main content
Glama

Johto Data Sitemap to Markdown

sitemap_to_markdown
Read-only

Fetch up to 10 URLs from an authorized sitemap and return Markdown-ish text per page in one paid call. No JS rendering. Costs $0.2 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].

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

Input Schema

NameRequiredDescriptionDefault
maxPagesNoMax pages to fetch from sitemap locs
sitemapUrlYesAuthorized public sitemap.xml URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the price ($0.2 USDC per call), the payment protocol (x402) and the exact failure behavior plus the two ways to retry (X-PAYMENT / PAYMENT-SIGNATURE header or params._meta["x402/payment"]). It also rules out JS rendering, which prevents a wrong expectation. The only gap is error handling for unauthorized or partially failing sitemaps, and the openWorldHint=false reading is somewhat at odds with fetching live web pages.

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?

Three short sentences, front-loading capability, then the rendering limitation, then price and payment recovery. Every clause carries operational information and nothing is wasted.

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?

There is no output schema, and the description does characterize the return as Markdown-ish text per page in a single call, which is enough to set expectations for a multi-page result. For a paid, network-touching tool this is close to complete, though it omits partial-failure behavior and the exact shape when multiple pages are returned.

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 100%, so sitemapUrl and maxPages are already documented with bounds, and the default of 5 is in the schema. The description adds only the 'up to 10' ceiling, which duplicates schema maximum=10 rather than adding format or semantic detail (e.g., ordering of pages, behavior when the sitemap has fewer pages than maxPages).

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?

The description gives a specific verb and resource: fetch up to 10 URLs from an authorized sitemap and return Markdown-ish text per page. It also bounds the operation (max 10, no JS rendering), so the agent knows exactly what this tool does. It stops just short of naming the closest sibling (url_to_markdown), so the sitemap-vs-single-URL distinction must be inferred from the resource name.

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

Usage Guidelines3/5

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

The payment retry path is spelled out well, which is real invocation guidance for the x402 flow. However, there is no guidance on when to pick this over url_to_markdown, html_to_rag, or page_structured_extract, and no statement of prerequisites such as what makes a sitemap 'authorized' or what happens on a non-sitemap URL.

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