Skip to main content
Glama

Analyze robots.txt

analyze_robots_txt
Read-only

Fetch and parse the robots.txt of a site: rules per user agent, sitemap directives, syntax errors, and whether the file exists at all.

Input Schema

NameRequiredDescriptionDefault
urlYesURL or domain to fetch robots.txt from

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, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral value by disclosing the return contents and the edge case that the file may not exist at all, though it says nothing about redirect handling, fetch failures, or timeouts.

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?

One sentence, front-loaded with the action, then the outputs as a compact list. No filler and nothing 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?

With no output schema, the description usefully enumerates the returned fields and flags the missing-file case, and the single parameter is fully documented. It stops short of describing the response structure or failure modes, so it is strong but not fully complete.

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 a single required parameter with 100% schema description coverage ('URL or domain to fetch robots.txt from'), so the schema already carries the semantics. The description adds nothing about accepted URL forms (scheme optional? path ignored?), which keeps it at baseline.

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 pair (fetch and parse) on a specific resource (robots.txt) and enumerates exactly what is extracted: per-user-agent rules, sitemap directives, syntax errors, and existence. This is clearly separable from siblings like validate_sitemap and check_meta_tags.

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 description implies when the tool is useful (inspecting a site's crawl directives), but never states when to prefer it over adjacent tools such as diagnose_url or validate_sitemap, nor any exclusions. Usage is inferable but not guided.

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