Skip to main content
Glama

robots-check

robots.txt (RFC 9309) rule reading with llms.txt and AI-use signals — Reads a supplied robots.txt the RFC 9309 way for an agent deciding whether to fetch up to 25 paths as one product-token user agent: group selection (merged groups, "" fallback), longest-match with the Allow-wins-tie rule, "" and "$" patterns, percent-encoding normalization, fetch-status handling (4xx = no rules, 5xx = disallow all), the rule and line that decided each path. It also lints a suppl

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": {
      "userAgent": "<userAgent>",
      "paths": "<paths>"
    },
    "name": "robots-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesPath plus optional query beginning with /, or a full http(s) URL (path and query are used).
headersNoResponse headers of the page: X-Robots-Tag, tdm-reservation, tdm-policy.
llmsTxtNo
purposeNoai-training also treats noai, noimageai and tdm-reservation: 1 as restrictions. Default crawl.
metaTagsNoHTML meta elements: robots, googlebot, tdm-reservation, tdm-policy.
robotsTxtNorobots.txt body, at most 512,000 UTF-8 bytes (500 KiB).
userAgentYesProduct token only (letters, underscore, hyphen), e.g. "Googlebot"; no version.
fetchStatusNoHTTP status the robots.txt fetch ended with (after at most 5 redirects). Omit when robotsTxt is supplied and was a 2xx.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses group selection (merged groups, "*" fallback), longest-match with Allow-wins-tie, "*" and "$" patterns, percent-encoding normalization, and fetch-status semantics (4xx = no rules, 5xx = disallow all). It also asserts the tool reads a supplied file rather than fetching it, which is a key behavioral boundary. The dangling final clause about linting leaves one behavior unstated.

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 lead ("robots.txt (RFC 9309) rule reading with llms.txt and AI-use signals") is well front-loaded, but the body is a long comma-spliced run-on packed with a nested parenthetical list. The trailing sentence is cut off mid-word, so the passage neither closes cleanly nor earns its length through structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, annotation-free tool with no output schema, the description covers the primary path-evaluation behavior well and even sketches output shape ("the rule and line that decided each path"). But the truncated ending means the advertised llms.txt and AI-use-signal linting functionality is never explained, leaving one stated capability without any behavioral detail.

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 88%, so the schema already documents paths, userAgent, fetchStatus, purpose, headers, metaTags, llmsTxt and robotsTxt thoroughly, establishing a baseline of 3. The description reinforces two things the schema states — the 25-path cap and the single product-token agent framing — but adds no new meaning for the six optional inputs (headers, metaTags, llmsTxt, purpose), whose semantics live entirely in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ("Reads a supplied robots.txt the RFC 9309 way") and scopes it to a concrete task: deciding whether an agent may fetch up to 25 paths as one product-token user agent. The parenthetical enumerates the exact semantics computed, which is unusually precise. It loses a point because the final sentence is truncated mid-word ("It also lints a suppl"), leaving the secondary llms.txt/AI-signal linting capability unexplained.

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?

"for an agent deciding whether to fetch up to 25 paths as one product-token user agent" implies the use context, and the word "supplied" implies the robots.txt is provided rather than fetched by the tool. However, there is no explicit when-not guidance, no statement about what to do if the file must first be retrieved, and no named alternative among the sibling check tools.

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