Skip to main content
Glama

讀取網站 robots.txt

llms__check_ai_crawler_access
Read-onlyIdempotent

[llms.txt 檢查工具]讀取網站 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": "llms__check_ai_crawler_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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. Beyond that, the description adds that the tool fetches the site's robots.txt and evaluates 13 specific crawler user-agents, which is useful context. It does not say what happens when robots.txt is missing, when a crawler is not listed, or how redirects/network failures are handled.

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?

One front-loaded sentence that states the mechanism first and the output second, with the bracketed tool-family tag up front for routing. It is appropriately sized for a simple read tool with no wasted hedging, though the enumerated crawler names eat space that could have gone to the URL format.

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?

For a one-parameter read-only lookup with rich annotations and no output schema, the description covers what is fetched and the shape of the answer (allowed vs. blocked per crawler). The missing piece is input format for `url` plus edge-case behavior when no robots.txt exists, which matters for an open-world network tool.

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 description coverage is 0%, so the description must carry the parameter meaning, and it largely does not. It never says whether the single `url` argument should be a bare domain, a full URL with scheme, or a path to robots.txt; "網站" only loosely implies a site-level input. With one undocumented required parameter, this is a real gap rather than a neutral baseline.

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 ("讀取網站 robots.txt") and states exactly what is reported: allow/block status for 13 named AI crawlers including GPTBot, ClaudeBot and PerplexityBot. It is far more specific than a title restatement, but it never distinguishes itself from closely related siblings such as seo__test_robots_txt or seo__check_site_crawlers, so an agent must infer the difference.

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 use case is implied by the content of the description: check whether AI crawlers may access a site. There is no explicit when-to-use statement, no exclusions, and no mention of alternatives like the generic robots.txt testers or the companion llms__check_llms_txt tool that share this namespace.

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