validate_llms_txt
驗證一段 llms.txt 內容是否符合格式(H1、摘要、分區、連結)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |
驗證一段 llms.txt 內容是否符合格式(H1、摘要、分區、連結)。
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it falls short. It does not say whether validation is strict or lenient, whether it merely reports issues or normalizes content, how results are returned, or whether any rules beyond the four listed are enforced. For a validator with no output schema this is a meaningful gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler, where every clause identifies a validation rule. It is efficient, though its terseness contributes to the missing usage and output guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lists the criteria being validated, which is the most important context for a format checker, but with no output schema and no annotations, it should also indicate what a result looks like and how it differs from check_llms_txt. It is adequate but incomplete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter 'content' has no schema description (0% coverage), but its name plus the description's 'a piece of llms.txt content' make the meaning clear enough. The description adds only marginal detail over the parameter name itself, so a baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource (validate llms.txt content) and enumerates the checked rules (H1, summary, sections, links), which is concrete. It never names its closest sibling check_llms_txt, so an agent cannot tell from the text alone why it should validate supplied content rather than check an existing file.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives. The phrase '一段 llms.txt 內容' faintly implies the caller supplies the text (as opposed to check_llms_txt operating on a deployed file), but this distinction is left for the agent to infer against a very similarly named sibling.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.