Skip to main content
Glama

驗證一段 llms.txt 內容是否符合格式

validate_llms_txt
Read-onlyIdempotent

驗證一段 llms.txt 內容是否符合格式(H1、摘要、分區、連結)。

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": {
      "content": "<content>"
    },
    "name": "validate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes

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?

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful context about which structural elements are validated, but it does not describe the result format, error details, or whether remote content is fetched despite the open-world hint.

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?

The definition is a single front-loaded sentence with no wasted wording. The parenthetical criteria are compact and useful, though slight restructuring could make the validation scope even easier to scan.

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 simple one-parameter validation tool with no output schema, the description covers what is validated but not what the caller receives. An agent still lacks guidance on the result shape, such as whether errors are listed or only pass/fail is returned.

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?

There is a single required parameter with 0% schema description coverage. The description compensates partially by identifying content as a block of llms.txt text and by listing the format criteria it is checked against, but it does not clarify accepted input shape or encoding.

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: validate a block of llms.txt content. It also names the criteria checked (H1, summary, sections, links), which makes the purpose concrete. It does not explicitly distinguish itself from the sibling check_llms_txt, so it falls short of a 5.

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?

The description implies that this tool should be used on supplied llms.txt text, but it gives no explicit when-to-use guidance, no exclusions, and no comparison with check_llms_txt or generate_llms_txt. The agent must infer the selection from the tool name alone.

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