Skip to main content
Glama

check_ai_access

Read-onlyIdempotent

Check if AI crawlers like GPTBot, ClaudeBot, and PerplexityBot are allowed to access a URL by reviewing robots.txt rules and fetching the page with each bot's user-agent.

Instructions

Check whether AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and others) may access a URL: robots.txt decision per bot plus the live HTTP status when the page is fetched with each bot's user-agent string. Read-only; one request per bot.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the page to check.
botsNoBot tokens to check, or omit for the default 15. Known: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User, Google-Extended, Applebot-Extended, CCBot, meta-externalagent, Bytespider, Googlebot, Bingbot, Applebot, meta-externalfetcher, DuckAssistBot, Amazonbot, AhrefsBot, SemrushBot, MJ12bot, facebookexternalhit, Slackbot.
httpNoAlso fetch the page with each bot's user agent (default true). false checks robots.txt only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: it makes one live HTTP request per bot, and the cost grows with the bot set (default 15), which is exactly the kind of operational detail an agent needs before calling an open-world tool.

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, no filler. The core purpose and the bot list come first, followed by the read-only and one-request-per-bot caveats — everything is front-loaded and every clause carries information.

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 3-parameter, no-output-schema tool the description covers what an agent needs: the per-bot robots.txt verdict and the echoed HTTP status are described, so return values are not a mystery. It stops short of describing result shape per bot or error behavior for unreachable/blocked URLs, which keeps it from a 5.

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%, so the schema already documents url, bots and http, including the full known-bot list and the default. The description only echoes the http semantics ('live HTTP status when the page is fetched with each bot's user-agent string') without adding format or constraint detail, so the baseline of 3 applies.

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?

States a concrete verb and resource ('Check whether AI crawlers ... may access a URL') and enumerates the specific bots plus the two outputs (robots.txt decision, live HTTP status). It is clear what the tool does, though it never names the closest sibling see_as_bot, so an agent must infer the boundary itself.

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: use it when you need to know whether AI crawlers are allowed on a page. There is no explicit when-not guidance, no mention of generate_robots_txt or see_as_bot as alternatives, and no prerequisites stated (e.g. URL must be public, which only appears in the schema).

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