Skip to main content
Glama

產生 robots.txt

seo__generate_robots_txt
Read-onlyIdempotent

[搜尋引擎與 AI 爬蟲工具箱]產生 robots.txt:allow_all、block_training(封鎖 AI 訓練保留搜尋)、block_all_ai、block_all,可加不抓路徑與 Sitemap。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "seo__generate_robots_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
sitemapNo
disallowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, openWorld=true, so the safety profile is covered. The description adds that the output can include disallow paths and a Sitemap directive, which is behavioral value beyond the annotations. It does not clarify whether the result is returned as text for the caller to deploy or written somewhere, which is the main behavioral question for a generator.

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?

A single compact sentence with a bracketed toolbox prefix, the action, the mode options, and the two optional extras — front-loaded and waste-free. The bracketed category tag is arguably metadata filler but is small.

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 3-parameter, no-output-schema generator with zero schema coverage, the description covers what it makes and roughly which mode does what, which is enough to call it. It falls short on input formatting for disallow/sitemap and on what the returned text looks like, leaving gaps an agent would have to guess at.

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 description coverage is 0% across 3 optional parameters, so the description must compensate and it does so partially: all three parameters (mode, disallow, sitemap) are referenced and mode values are given meaning. It adds no format detail for 'disallow' (comma/newline separated? leading slash?) or 'sitemap' (full URL? multiple?), and does not state that omitting mode yields a default.

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+resource ('產生 robots.txt') and enumerates the four generation modes, so an agent knows exactly what artifact is produced. It stops short of naming the sibling it complements (seo__test_robots_txt) or contrasting generate-vs-validate, so sibling differentiation is only implied by the verb.

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 parenthetical gloss on block_training ('封鎖 AI 訓練保留搜尋') gives real guidance on which mode to pick, which is genuinely useful selection context. However there is no explicit when-to-use/when-not-to-use statement, no prerequisite ('site must be live', 'use test_robots_txt to verify after generating'), and no routing to adjacent tools.

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