Skip to main content
Glama

讀取網站 robots.txt

check_ai_crawler_access
Read-onlyIdempotent

讀取網站 robots.txt,回報 GPTBot、ChatGPT-User、ClaudeBot、Claude-User、PerplexityBot 等 13 種 AI 爬蟲是被允許還是封鎖。

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_crawler_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful scope: it fetches a remote robots.txt and evaluates a fixed roster of 13 named crawler user-agents, which tells the agent what comes back. It omits the important edge cases for a read-only network tool: what happens when robots.txt is missing or returns a non-200, and whether wildcard or group-specific rules are honored.

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?

One tight sentence, front-loaded with the resource and immediately followed by the payoff the caller gets. Nothing is padded or repeated from the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description would need to fully explain the return; listing the 13 crawlers and saying allow/block partially does, but the shape of the result and the error path for an unreachable or absent robots.txt are unstated. Combined with the undocumented url parameter, the definition is adequate but leaves an agent guessing on inputs and failure modes.

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

Parameters2/5

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

Schema coverage is 0% and the single url parameter is entirely undocumented in both schema and description. It is ambiguous whether url means the site root (https://example.com), a page URL from which robots.txt is derived, or the full robots.txt location, and the description does nothing to resolve this. For the one required input, that gap matters.

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 specific verb (讀取) and resource (robots.txt) plus the exact output shape: an allow/block verdict for 13 named AI crawlers, five of which are listed. That output signature separates it from the llms.txt siblings, but the description never explicitly contrasts itself with them, so it falls short of the top mark.

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 only implied by the description: use it when you need to know whether AI crawlers are permitted on a site. There is no explicit when-to-use, no when-not-to-use, and no pointer to check_llms_txt as the alternative for the llms.txt question, even though that is the adjacent task an agent would weigh.

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