Skip to main content
Glama

依 RFC 9309 測試某個 User-Agent 能否抓取某路徑

seo__test_robots_txt
Read-onlyIdempotent

[搜尋引擎與 AI 爬蟲工具箱]依 RFC 9309 測試某個 User-Agent 能否抓取某路徑。

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": {
      "robots": "<robots>",
      "user_agent": "<user_agent>"
    },
    "name": "seo__test_robots_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
robotsYes
user_agentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds value by naming RFC 9309, which tells the agent which matching semantics (longest-match, wildcards) apply, but it does not say whether the tool resolves 'robots' locally or fetches it over the network, and it does not describe the verdict returned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded sentence with no filler, and the bracketed toolbox tag gives some framing. However, the sentence is a verbatim repeat of the title, so its brevity comes from duplication rather than from tight specification.

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

Completeness2/5

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

For a three-parameter tool with zero schema description coverage and no output schema, the description should define what each input means and what the result looks like. Instead it leaves the central ambiguity (robots content vs. location) and the output verdict entirely unaddressed, so an agent cannot call it confidently.

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% across three parameters, so the description carries the full burden and it does not compensate: it only echoes 'User-Agent' and 'path'. Most importantly, whether 'robots' is the raw robots.txt text or a URL is left completely undefined, and the required/optional split for 'path' is unexplained.

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?

Names a specific verb (test) and a specific subject (whether a given User-Agent may fetch a given path under RFC 9309), so an agent can tell it does rule simulation rather than robots.txt generation. It does not, however, distinguish itself from siblings such as seo__generate_robots_txt or seo__check_site_crawlers, leaving the agent to infer the boundary.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus the sibling generators and validators, and no prerequisites or exclusions. The intended use is only weakly inferable from the phrase 'test ... 能否抓取', which is the same as the calibration MID case that scored 2.

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