Skip to main content
Glama

Validate Robots Txt

validate_robots_txt
Read-onlyIdempotent

Validate a robots.txt file or live domain robots.txt against 10 AI search crawlers (GPTBot, ChatGPT-User, PerplexityBot, ClaudeBot, Google-Extended, Applebot-Extended, etc.) and generate a 100/100 compliant configuration. When to use: Call this tool when you specifically need to execute 'validate_robots_txt' on AEO Auditor (aeoauditing.com). Do NOT use this tool when another specialized tool fits better (use 'audit_domain' or 'get_domain_benchmark' for their respective operations). Parameters: domain (optional), robotsTxtContent (optional). Behavior & Side Effects: Strictly read-only, idempotent query with zero state mutation; public unauthenticated access allowed; rate-limited to 60 requests/min per IP. Returns: Structured JSON object containing status, matched records or computed metrics, and canonical action URLs.

Input Schema

NameRequiredDescriptionDefault
domainNoOptional domain to fetch live /robots.txt from (e.g. "example.com").
robotsTxtContentNoOptional raw robots.txt content string to validate directly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is pre-covered; the description nonetheless adds genuinely new facts: public unauthenticated access and a 60 requests/min per IP rate limit. It also sketches the return shape, though it does not say what happens when both optional inputs are omitted or which input wins if both are supplied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is strong and front-loaded, and the rate-limit/return details earn their place. But the middle section is template boilerplate that restates the tool name as its own justification and pads the response with a generic 'structured JSON object containing status...' sentence, diluting an otherwise tight definition.

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, the description usefully covers the return shape, auth model, rate limits and the alternative tools, which is enough for an agent to invoke it correctly. The only gap is the lack of guidance on the two optional inputs being mutually exclusive or one being required in practice.

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%, so both parameters are already documented with examples in the schema, which sets the baseline at 3. The description only restates that both are optional and adds no conflict-resolution or precedence semantics 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 specific verb and resource (validate a robots.txt file or live domain robots.txt) and names the exact target set — 10 named AI crawlers including GPTBot, PerplexityBot and ClaudeBot — plus the generated compliant config. An agent can tell this apart from a general domain audit from the first sentence alone.

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?

Explicitly names the two siblings, 'audit_domain' and 'get_domain_benchmark', in a do-not-use clause, which is real routing guidance. However the positive 'when to use' clause is circular filler ('Call this tool when you specifically need to execute validate_robots_txt') and it never says how to choose between the domain and robotsTxtContent inputs, so it stops short of full when/when-not coverage.

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