Skip to main content
Glama

Agent Access Check

check_agent_access

Before an agent browses or fetches a site, check if it will get in. Fetches the URL as an AI agent and as a browser, detects bot challenges (Cloudflare, CAPTCHA, DataDome, PerimeterX), reads robots.txt rules for GPTBot/ChatGPT-User/ClaudeBot/Claude-User/PerplexityBot and others, and looks for agent doors (llms.txt, MCP, OpenAPI). Returns verdict: open | challenged | blocked | robots_disallowed | unreachable, plus advice. Read-only. Use it before an automated web task, not for pages you already fetched successfully.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPage or domain, e.g. https://example.com/pricing

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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 well: it declares 'Read-only,' enumerates the four possible verdict values plus advice, and discloses that the check itself performs real fetches under two identities. It omits operational caveats an agent would want — latency from multiple outbound requests, rate limiting, or what happens on fetch failure versus 'unreachable.'

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?

Two dense sentences, purpose front-loaded before the detail list, and the actionable constraint ('use before a task, not after success') placed at the end as a decision rule. Some of the enumerations (crawler names, challenge vendors) are long but each supports the verdict vocabulary, so little is wasted.

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 single-parameter tool with no output schema and no annotations, the description covers the essentials: what it does, what it returns (the five verdict values plus advice), and its safety profile. It is nearly complete, missing only failure/error behavior and cost or latency expectations for the multi-fetch check.

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?

Only one parameter, and schema description coverage is 100% (the schema already gives 'Page or domain, e.g. https://example.com/pricing'). The description adds no format guidance, does not clarify whether bare domains are accepted (which the schema's phrasing leaves ambiguous), and does not say whether redirects or subpaths are handled. Baseline 3 is appropriate when the schema does the work.

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 gives a specific verb and resource with unusual precision: it fetches the URL as both an AI agent and a browser, detects named bot challenges (Cloudflare, CAPTCHA, DataDome, PerimeterX), parses robots.txt for named crawlers, and looks for agent doors. The only gap against the 5 bar is sibling differentiation — check_many (presumably the batch variant) is never mentioned, so an agent must infer when the single-URL tool is preferable.

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

Usage Guidelines4/5

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

Usage timing is explicit and negative-scoped: 'Use it before an automated web task, not for pages you already fetched successfully.' That covers both when-to-use and when-not. It stops short of 5 because no alternative tool is named (check_many, find_agent_alternative) for cases where the agent needs bulk checking or a fallback route.

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