Skip to main content
Glama

Check a site's sitemap

check_sitemap
Read-onlyIdempotent

Find a site's XML sitemap (its robots.txt Sitemap lines, else /sitemap.xml), read it — and a few of a sitemap index's sitemaps — and report the URL count, the newest lastmod, Google's 50,000-URL / 50 MB limits, invalid XML and URLs on another host or plain http, each check pass / improve / fix with how to fix it. It fetches robots.txt and the sitemaps as our crawler (MakerRadarBot) and stores nothing. at most 20 checks an hour per network and 30 an hour per site checked.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe site to check (https://example.com). Any URL on it means its whole site.

Output Schema

NameRequiredDescriptionDefault
urlNo
hostNo
toolYesThe tool's slug (its page is /tools/<slug>).
factsNoWhat was read, as labelled rows. From the site or a registry: unverified.
scoreNo0–100 over the checks.
checksNoFails first. `fix` is the one action to take; null on a pass.
readAtNoUnix seconds.
sourceNoWhere the facts came from.
listingYesWhether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not.
toolUrlYesThe same check as a page on the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "checks",
      -  "toolUrl",
      -  "listing"
      -]New value: +[
      +  "tool",
      +  "toolUrl",
      +  "listing"
      +]
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, but the description adds real behavioral context beyond them: it fetches robots.txt and sitemaps under the MakerRadarBot user agent, stores nothing, samples only a few child sitemaps of an index, and enforces rate limits (20 checks/hour per network, 30/hour per site). These are exactly the operational facts an agent needs to call it safely and interpret throttling.

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?

Purpose, method, and output contents are front-loaded, and every clause carries information. The text is dense to the point of being run-on ('each check pass / improve / fix with how to fix it') and could be split for readability, but nothing is truly redundant.

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?

An output schema exists, yet the description still summarizes what the report contains (URL count, newest lastmod, limit violations, invalid XML, cross-host/http URLs) plus the pass/improve/fix verdict model. Combined with UA disclosure, storage behavior, and rate limits, nothing material is missing for a one-parameter read-only diagnostic.

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 description coverage is 100% and the single parameter already explains that any URL on the site means the whole site. The description adds only marginal framing ('a site's XML sitemap') without new syntax or format detail. Baseline 3 applies when the schema does the heavy lifting.

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?

The description opens with a specific verb and resource ('Find a site's XML sitemap') and even states the discovery order (robots.txt Sitemap lines, else /sitemap.xml). It also scopes the analysis ('read it — and a few of a sitemap index's sitemaps — and report the URL count, the newest lastmod...'). An agent can distinguish this from check_links or check_page_seo without opening another schema.

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?

Usage is strongly implied — this is a sitemap health diagnostic that returns pass/improve/fix per check — and the rate limits hint at when to be cautious. However, it never explicitly says when to prefer this over sibling checks (e.g., check_llms_txt, check_page_seo) or what prerequisites exist. Guidance is inferable but not stated.

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