Skip to main content
Glama

robots_txt

Fetch and parse a site's robots.txt into allow/disallow rules and declared sitemaps. Use before crawling a site to respect its policy.

Input Schema

NameRequiredDescriptionDefault
urlYesURL or bare domain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose the key behaviours: it performs a network fetch and returns parsed rules plus sitemaps rather than raw text. It says nothing about what happens on 404/missing robots.txt, redirects, or any timeout/rate-limit behaviour, which matters for a network tool whose common case is a site with no robots file.

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?

Two sentences, zero filler: capability first, usage second. Both are front-loaded and every clause earns its place.

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 one-param tool with no output schema, it does the important work of describing the return value (rules + sitemaps) and the reason to call it. The remaining gap is edge-case behaviour when robots.txt is absent or unreachable, which an agent would reasonably 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?

Schema coverage is 100% and the single param is documented as "URL or bare domain", so the description has little left to add and indeed adds nothing the schema does not already say. Baseline 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?

States a specific verb pair (fetch and parse) on a specific resource (a site's robots.txt) and even names the return shape: allow/disallow rules and declared sitemaps. That is clearly distinct from every sibling (dns_lookup, http_head, ssl_check, etc.), none of which touch robots policy.

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?

"Use before crawling a site to respect its policy" gives a clear triggering context and a rationale. It stops short of naming an alternative or stating when not to use it, but no sibling is a plausible substitute here, so the routing risk is low.

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