Skip to main content
Glama

Robots and Sitemap Check

check_robots_sitemap
Read-onlyIdempotent

Check a site's robots.txt and sitemap.xml in one call: raw contents (truncated), sitemap presence, an AI-crawler policy analysis (explicit rules for GPTBot, ClaudeBot, CCBot, PerplexityBot, Google-Extended, Bytespider, Amazonbot and other AI crawlers, vs wildcard/default), and llms.txt presence. For a scored, whole-site AI-readiness report use ai_readiness_audit instead.

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_robots_sitemap"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAny URL on the site to check (origin is derived from it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond them: output is truncated raw content, crawler rules are evaluated against specific named bots versus wildcard, and llms.txt presence is included. It does not say how missing robots.txt/sitemap is reported, which is the remaining behavioral gap.

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 front-loaded sentence delivers the scope, the enumerated outputs, and the alternative-tool routing with no redundant or filler text. The vector of information is dense and ordered by importance.

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?

With no output schema present, the description carries the burden of describing the return value and does so thoroughly, enumerating four distinct result components. It is only incomplete on edge-case behavior for sites lacking robots.txt or sitemap.xml, which an agent would want to know.

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?

There is one parameter with 100% schema description coverage, and the schema already explains that any URL on the site works and the origin is derived. The description adds no further meaning about the url parameter (e.g., accepted schemes, trailing paths ignored), so the schema baseline of 3 applies.

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 names a concrete verb (check) and two concrete resources (robots.txt, sitemap.xml), then enumerates the exact outputs: raw contents, sitemap presence, AI-crawler policy analysis, and llms.txt presence. It also draws a boundary against ai_readiness_audit, so an agent can distinguish it without opening the schema.

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?

It clearly frames the tool as the lightweight single-call inspection and explicitly routes the agent to ai_readiness_audit when a scored whole-site report is wanted. It stops short of stating prerequisites, such as whether the site must be publicly reachable or what happens on unreachable hosts, but the primary routing decision is covered.

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.