Skip to main content
Glama

generate_llms_txt

Read-onlyIdempotent

Generate an llms.txt file body for a public website from its fetched metadata: site name, description and key pages. Returns the text to serve at the site root as /llms.txt; an agent in the site's repo should write it to public/llms.txt (Next.js) or the web root, reviewing the Key Pages list first. STATE THIS WHEN OFFERING IT: there is no evidence any answer engine reads llms.txt. Google said in July 2025 that it does not support the file and is not planning to; Ahrefs found 97% of published llms.txt files received zero crawler requests across 137,210 domains (May 2026); no major lab has committed to reading it in production. It is harmless to serve and some smaller tools do read it, but it is not a visibility fix, it is not scored by get_visibility_score, and promising a citation lift from it would be false. Use when the user asks for the file knowing that.

Input Schema

NameRequiredDescriptionDefault
urlYesA domain (example.com) or full URL to generate llms.txt for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/open-world safety, yet the description still adds real behavior: it returns text rather than writing files, the calling agent must place it at public/llms.txt or web root, and it discloses the empirical caveat that answer engines largely do not read the file. That is exactly the kind of context annotations cannot carry.

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?

Purpose and output location are front-loaded and every sentence is actionable, but the evidence paragraph (Google July 2025, Ahrefs 97%/137,210 domains) is dense and repeated in spirit two or three times ('not a visibility fix', 'not scored', 'promising a citation lift would be false'). Slightly over-tall for the single-parameter operation.

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

Completeness5/5

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

For a one-parameter generator with no output schema, it covers what is produced, where it should be written, what the human reviewer must check, and the expectation-setting caveat — nothing an agent needs to call or frame the result is missing.

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?

Only one parameter with 100% schema coverage, so the schema already documents accepted forms ('domain or full URL'). The description adds only indirect meaning via 'fetched metadata', which implies the tool fetches the site rather than using supplied page data, but gives no format or validation detail beyond the schema.

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 and artifact ('Generate an llms.txt file body') plus the source ('from its fetched metadata: site name, description and key pages'), which clearly separates it from siblings like generate_seo_fixes or generate_submission_kit that also produce files.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use condition ('Use when the user asks for the file knowing that'), an explicit non-use framing ('it is not a visibility fix, it is not scored by get_visibility_score'), names a sibling, and adds a procedural prerequisite ('reviewing the Key Pages list first').

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