Skip to main content
Glama

Validate llms.txt

validate_llms_txt
Read-only

Validate any public llms.txt or llms-full.txt file URL for standard compliance, missing H1, broken links, structure errors, and token count.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe llms.txt or llms-full.txt file URL to validate (e.g. https://example.com/llms.txt)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so network fetch behavior is partly covered. The description adds the concrete validation checks performed, but says nothing about failure modes (unreachable host, timeout, non-conforming content), result grading, or whether it only reads and never rewrites the file.

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 front-loaded sentence with no filler; the verb and resource lead, and the check list is compressed rather than sprawling. It is slightly list-heavy but every item conveys what the agent will learn from the call.

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

Completeness4/5

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

For a single-parameter read-only tool this covers what is being checked and what inputs are acceptable. The main residual gap is the shape of the response (report format, severity levels), which matters because no output schema is declared.

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 coverage is 100% with a clear example, so the schema already carries the parameter. The description adds "any public" as an implicit reachability constraint and confirms both llms.txt and llms-full.txt variants are accepted, but adds no format or edge-case detail beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb ("Validate") plus specific resource ("llms.txt or llms-full.txt file URL") and an enumerated set of checks (compliance, missing H1, broken links, structure errors, token count). An agent can distinguish it from the generate_* siblings purely from this sentence, since it operates on an existing URL rather than producing a file.

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?

"Validate any public llms.txt or llms-full.txt file URL" implies the usage context and quietly restricts input to publicly reachable URLs, which is useful. However it never states when to reach for this versus the sibling generators, nor what to do with a non-public or non-llms.txt URL.

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