Skip to main content
Glama

Generate llms.txt

llms_txt
Read-onlyIdempotent

Generate an llms.txt file for a domain and return its text, ready to save at /llms.txt. Basic plan and higher get the curated version with per-page descriptions; other keys (or no key) get the basic version.

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": {
      "domain": "<domain>"
    },
    "name": "llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesBare domain without protocol or path, e.g. example.com.

Output Schema

NameRequiredDescriptionDefault
llms_txtNoThe generated llms.txt file text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds real context beyond them: the output varies by account tier, with paid plans returning a curated version with per-page descriptions and free/no-key callers getting the basic version. It does not mention rate limits or caching, but the tier-dependent output is a meaningful disclosure.

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?

Two sentences, front-loaded with the action and output, followed by the tier caveat. Every sentence carries information; the only minor inefficiency is the parenthetical '(or no key)', which is slightly informal but still useful.

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?

With an output schema present and only one fully described parameter, the description need not explain return values. It covers the one non-obvious behavior (tier-dependent output variance) well; what remains unaddressed is authentication expectations and any rate or quota limits implied by the tiering.

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 parameter at 100% schema coverage, and the schema already specifies the bare-domain format with an example and maxLength. The description adds nothing about the domain parameter, so the baseline 3 applies.

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 names a specific verb and artifact ('Generate an llms.txt file for a domain') and states the return ('return its text, ready to save at /llms.txt'). That is far more precise than the title alone, though it makes no attempt to differentiate itself from siblings such as ai_readability or crawl_site, which an agent might reasonably confuse it with.

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?

Usage is only implied: you call it when you want an llms.txt for a domain. There is no explicit when-to-use or when-not-to-use clause and no named alternative for cases like 'I want a readability assessment instead', so the agent must infer routing from the name.

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.