Skip to main content
Glama

check_robots_txt

Read-onlyIdempotent

Fetch a site's /robots.txt, list groups and Sitemap directives, and test whether given user-agents can fetch given paths (defaults: Googlebot, OAI-SearchBot, GPTBot, Claude-SearchBot, PerplexityBot, Bingbot on /).

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

Input Schema

NameRequiredDescriptionDefault
urlYesAny URL on the site; the origin is used
testsNo

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?

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context — that it returns parsed groups and Sitemap directives plus per-agent path test results, and that it defaults to a specific UA/path matrix. It does not say what happens if /robots.txt is missing or how fetch failures are reported.

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 that leads with the fetch action and then the outputs. The trailing parenthetical default list is long but contains information unavailable elsewhere in the definition, so it earns its place; only mild density cost.

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 two-parameter, read-only tool with no output schema, the description is close to sufficient: it states inputs, defaults, and what categories of data come back. The one meaningful gap is edge-case behavior when robots.txt is absent or unreachable, which an agent would want to know before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: url is documented ('any URL on the site; the origin is used') but the tests array items are not described in the schema. The description compensates by explaining that tests pair a user-agent with a path and by listing the default UA/path set used when tests is omitted, which is meaning the schema does not carry.

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 specific verb and resource ('Fetch a site's /robots.txt') and enumerates the three outputs: groups, Sitemap directives, and per-user-agent fetch tests. This clearly separates it from siblings like check_llms_txt or check_ai_search_readiness, which operate on different artifacts.

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 implied rather than stated: the default user-agent list (Googlebot, OAI-SearchBot, GPTBot, Claude-SearchBot, PerplexityBot, Bingbot) signals the AI-crawler-access use case, but the description never says when to prefer this over check_ai_search_readiness or check_llms_txt. There are no exclusions or prerequisites given.

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.