Skip to main content
Glama

Test a URL against robots.txt

test_robots_txt
Read-onlyIdempotent

Test whether a URL may be crawled under its site's robots.txt by Googlebot, Bingbot and every AI crawler MakerRadar tracks (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot, Google-Extended …), with the group and the exact rule that decides each, plus the file's Sitemap lines, Content Signals, Crawl-delay and the lines crawlers skip. It fetches only robots.txt and stores nothing. at most 20 checks an hour per network and 30 an hour per site checked.

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": "test_robots_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to test (https://…): its path is checked against its site's robots.txt.

Output Schema

NameRequiredDescriptionDefault
urlNo
hostNo
toolYesThe tool's slug (its page is /tools/<slug>).
factsNoWhat was read, as labelled rows. From the site or a registry: unverified.
scoreNo0–100 over the checks.
checksNoFails first. `fix` is the one action to take; null on a pass.
readAtNoUnix seconds.
sourceNoWhere the facts came from.
listingYesWhether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not.
toolUrlYesThe same check as a page on the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "checks",
      -  "toolUrl",
      -  "listing"
      -]New value: +[
      +  "tool",
      +  "toolUrl",
      +  "listing"
      +]
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety bar is lower, and the description still adds real behavioral detail: it fetches only robots.txt, stores nothing, and gives concrete rate limits (20/hour per network, 30/hour per site). It also discloses the shape of what is decided per crawler and what extra file sections are surfaced. What it does not clarify is failure behavior for an unreachable or missing robots.txt.

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?

The core verdict is front-loaded in the first clause, with output scope, side effects and limits following in a sensible order. The long parenthetical crawler list and run-on construction make it denser than necessary, but no sentence is filler.

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?

Return values are covered by the output schema, so the description need not detail them, yet it still signals the per-crawler rule attribution. Rate limits and the fetch-only side-effect profile round it out; the only gap is error or missing-file behavior for a one-parameter, low-complexity tool.

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?

With one parameter at 100% schema coverage, the schema already documents the single url argument. The description restates that the URL's path is checked against its site's robots.txt, which reinforces but does not extend the schema's meaning, so the baseline of 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?

Names a specific verb and resource ('Test whether a URL may be crawled under its site's robots.txt') and pins the exact decision space: per-crawler verdicts with the deciding group and rule. It also enumerates the crawler families evaluated, so an agent knows this is a robots.txt evaluation rather than a general SEO or sitemap check.

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 by the description rather than stated: an agent can infer it should call this when it needs a crawl-permission verdict for a specific URL. There is no explicit when-not guidance and no named alternative among the many sibling check_* tools (check_llms_txt, check_sitemap) that could be confused with it.

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