Skip to main content
Glama

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

llms__validate_llms_txt
Read-onlyIdempotent

[llms.txt 檢查工具]驗證一段 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": "llms__validate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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, so the safety profile is covered. The description adds the useful detail that the check covers H1, summary, sections and links, but says nothing about what a failing result looks like, whether problems are reported individually, or how strict the check is — the information an agent most needs before relying on the outcome.

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 compact sentence with the tool label front-loaded and the validation scope enumerated efficiently. Nothing is redundant, though the bracket label partly repeats the title.

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?

With no output schema and no return-value description, an agent cannot tell whether it receives a boolean, a list of violations, or a rewritten file. For a validation tool whose value is the diagnostic report, that omission plus the unresolved overlap with llms__check_llms_txt leaves the definition materially incomplete.

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 carries the burden. It implies the single parameter is the raw llms.txt text rather than a URL or file path, which is a small gain, but it does not clarify expected input form, size, or whether partial content is acceptable.

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?

States a concrete verb ('validate') and resource ('a piece of llms.txt content') and enumerates the checked elements (H1, summary, sections, links), so the agent knows exactly what the operation does. It does not, however, distinguish this from the sibling llms__check_llms_txt, which by name alone appears to perform the same job.

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 when-to-use framing, no prerequisites, and no reference to any alternative. The bracketed tool label and the validation scope only imply the usage; an agent choosing between this and llms__check_llms_txt gets no help at all.

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