Skip to main content
Glama

Check AI crawler access

check_ai_crawlers
Read-onlyIdempotent

Audit whether search and AI crawlers can reach a URL: scores robots.txt rules for search and answer-engine bots, detects firewall or CDN blocking, and reports sitemaps and Content-Signal lines.

Instructions

Check whether search and AI crawlers can reach this URL. Scores the robots.txt rules for search crawlers (Googlebot, Bingbot) and AI answer-engine crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot, …). Reports user-initiated fetchers (ChatGPT-User, …) and training crawlers (GPTBot, ClaudeBot, Google-Extended, …) without a score. Requests the page with AI crawler user agents to detect firewall or CDN blocking. Lists sitemaps and Content-Signal lines.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL of the page to audit, for example https://example.com/blog/post. If the URL has no scheme, the server uses https:// (http:// for localhost).
firewallControlsNoDefault false. True: also send two control requests, a normal browser and a made-up bot name. Each crawler then gets an assessment: likely-blocked, possibly-blocked, likely-false-alarm, likely-ok or inconclusive. Set it only when the user asks for it. When the server has a verified source (access logs or a vendor fetch), the control requests do not run; use verify_crawler_access.

Output Schema

NameRequiredDescriptionDefault
pathYes
blockedYes
crawlersYes
findingsYesFailed or partial checks, highest impact first.
firewallNoA request with each AI crawler user agent, compared with a normal request. User-agent based only.
sitemapsYes
robotsTxtYes
robotsUrlYes
robotsStatusNo
sitemapCountYes
contentSignalsYesContent-Signal lines from robots.txt (for example ai-train=no). Not scored.
robotsFetchedAsNo
robotsRulesDroppedNorobots.txt rules that the tool ignored because of its limits (5000 rules, 1024 characters each).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, open-world profile, so the description's job is to add what annotations cannot. It does: disclosing that the tool actively requests the page with AI crawler user agents to detect firewall/CDN blocking, and that output is split into scored vs unscored categories. It stops short of stating rate limits, side effects of the live fetches, or cost, but the probing behavior is clearly surfaced.

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 purpose is front-loaded in the first sentence, and each subsequent sentence adds a distinct reporting dimension rather than restating the name. The enumerated bot names make it dense, but they are informative rather than 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?

For a two-parameter audit tool with an output schema, this is close to complete: purpose, method, and the shape of the report are all covered, and return values need not be described because an output schema exists. The remaining gap is top-level guidance on when to prefer verify_crawler_access, which only appears in the parameter text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both url and firewallControls thoroughly, including defaults and the verify_crawler_access handoff; the baseline is 3. The description adds indirect value by explaining the outcome categories (likely-blocked, unscored fetchers) that firewallControls' assessments feed into, which helps an agent reason about whether to enable it.

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?

The opening sentence names a specific verb and resource ('Check whether search and AI crawlers can reach this URL') and the following sentences enumerate exactly what the audit covers: robots.txt scoring for search vs AI crawlers, unscored fetcher/training-bot reporting, live user-agent requests, sitemaps and Content-Signal lines. That scope is unmistakably distinct from siblings such as check_page or check_llms_txt.

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 main description gives no explicit when-to-use or when-not-to-use guidance relative to siblings. The only routing signal sits inside the firewallControls schema text ('Set it only when the user asks for it', and redirecting to verify_crawler_access when a verified source exists), which is useful but buried in a parameter rather than stated up front.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.