Skip to main content
Glama

AI Crawler Policy Check

ai_crawler_policy_check
Read-onlyIdempotent

Report, per AI crawler, whether a site allows or blocks it: parses robots.txt with RFC 9309 rules (most-specific user-agent group, longest-match Allow/Disallow, * and $ wildcards) for 29 AI agents including GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-Web, anthropic-ai, Google-Extended, PerplexityBot, CCBot, Bytespider, Applebot-Extended, Meta-ExternalAgent, Amazonbot and cohere-ai. Also reads the page's meta robots / X-Robots-Tag noai and noimageai hints and checks /llms.txt (and /llms-full.txt). Optional extra paths to test. Deterministic parsing, no AI. For a scored AI-readiness report use ai_readiness_audit; for raw robots/sitemap contents use check_robots_sitemap.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAny URL on the site (origin is derived from it); its path is also tested
pathsNoOptional extra paths to test per bot, e.g. ['/blog/', '/api/'] (max 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower. The description adds real value with 'Deterministic parsing, no AI' and by enumerating what sources are consulted (robots.txt, meta robots, X-Robots-Tag, /llms.txt, /llms-full.txt), but it says nothing about fetch failures, non-200 responses, or how a missing robots.txt is reported.

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?

Front-loaded with the core purpose, then mechanism, then sibling routing — good ordering with no filler. The long enumeration of 29 agents (with 'and cohere-ai') is somewhat bulky but earns its place by telling the agent which crawlers are covered.

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 read-only, two-parameter tool with full schema coverage, the definition is nearly sufficient: it explains inputs, sources consulted, and output granularity. With no output schema present, a brief note on the response shape (per-bot verdicts plus meta/llms.txt findings as separate fields) would close the remaining gap.

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 baseline would be 3, but the description adds meaning: it clarifies that paths are tested per bot (the schema only says 'extra paths to test per bot') and that results are reported per crawler across all those sources. It still doesn't restate the max-10 limit or path format, but the schema handles that.

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 and output shape ('Report, per AI crawler, whether a site allows or blocks it') and backs it with concrete mechanism details: RFC 9309 parsing rules, wildcard handling, 29 named AI agents, meta robots / X-Robots-Tag hints, and /llms.txt. It also names the two siblings it is not, so an agent can distinguish it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: 'For a scored AI-readiness report use ai_readiness_audit; for raw robots/sitemap contents use check_robots_sitemap.' That gives both the condition for using this tool (per-bot allow/block policy) and the conditions that select the alternatives.

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.