Skip to main content
Glama

Validate llms.txt structure

llms-txt_structure-validate
Read-onlyIdempotent

Check caller-supplied llms.txt text or structured JSON for one H1, a summary blockquote, H2 sections, and well-formed list links. Docs: https://www.brainiac.software/api/llms-txt/structure-validate Keywords: text, document, success, analysis, score, issues, warnings, recommendations, Validate llms.txt structure, structure validate.

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": "llms-txt_structure-validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNotext, string, length 0 to 200000. Optional.
documentNodocument, object. Optional.

Output Schema

NameRequiredDescriptionDefault
scoreNoscore. Number.
issuesNoissues. Array.
successNosuccess. Boolean.
analysisNoanalysis. String.
warningsNowarnings. Array.
limitationsNolimitations. Array.
recommendationsNorecommendations. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. 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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value by naming the validation ruleset, but says nothing about severity levels, partial failures, or how the two input modes differ in strictness; the output schema carries the result shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is a well-formed, front-loaded summary, but it is followed by a bare documentation URL and a comma-separated keyword dump ('text, document, success, analysis, score, issues, warnings, recommendations...') that adds no actionable meaning and dilutes the signal.

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?

Both parameters are optional and the output schema is present, so the description needn't explain return values. It covers purpose, accepted input forms, and the validation criteria, which is sufficient for a read-only checker; only the relationship between text and document modes is left implicit.

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% and every field is described, so the baseline is 3. The phrase 'text or structured JSON' maps loosely onto the `text` and `document` parameters, adding a small hint about two mutually available input modes, but no detail on precedence if both are passed or on nesting expectations.

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?

States a specific verb (check/validate) on a specific resource (llms.txt structure) and enumerates the exact rules enforced: one H1, summary blockquote, H2 sections, well-formed list links. That distinguishes it clearly from siblings such as link-quality-check or navigation-analyze.

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?

It notes that input is caller-supplied text or structured JSON, which hints at the two intake modes, but gives no when-to-use guidance, no preconditions, and no routing versus the six sibling analyzers. An agent must infer the selection criterion.

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