Skip to main content
Glama

llms.txt structure & token-budget linter ($0.01)

llms_txt_lint
Idempotent

[Paid x402 / X-Bazaar-Key: 0.01 USDC] Lint an /llms.txt agent documentation structure (H1 title, blockquote summary, H2 sections, context window budget).

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_lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoDocument H1 title

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

The description adds genuinely useful context beyond the annotations: it is a paid call at 0.01 USDC via x402 with X-Bazaar-Key authentication, which an agent must know before invoking. The annotations already cover idempotency and non-destructiveness, so that is not repeated. However, it never describes the outcome of a lint (error list, pass/fail scoring, whether payment is charged on failure).

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

Conciseness5/5

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

A single front-loaded sentence with the payment marker bracketed out of the way of the purpose statement. No filler and no repetition of the title beyond necessary naming.

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?

With no output schema, the description carries the burden of explaining what a lint returns, and it does not — an agent cannot tell whether it receives a boolean, a list of issues, or a token count. For a diagnostic tool whose entire value is the report, that is a notable gap. Payment and scope details are otherwise sufficient for invocation.

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 single documented 'title' parameter, so the baseline is 3. The description's mention of 'H1 title' loosely maps to that parameter, but it never explains how the actual document content reaches the linter given only 'title' is declared and additionalProperties is true. This is a meaningful ambiguity the description could have resolved.

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 states a specific verb and resource ('Lint an /llms.txt agent documentation structure') and enumerates the checks (H1 title, blockquote summary, H2 sections, token budget). This clearly separates it from the many other sibling linters such as mcp_manifest_lint or dockerfile_lint. It stops short of saying what a lint result looks like, but the operation itself is unambiguous.

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 statement of when to use this versus the ~50 sibling tools, no prerequisite conditions, and no note about what input must be present. The only usage-adjacent information is the payment header, which is a cost/access note rather than selection guidance. An agent must infer that this applies whenever an llms.txt candidate exists.

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