Skip to main content
Glama

generate_llms_txt

Generate an llms.txt file from a site's real pages and sitemap.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesA site to generate an llms.txt for
creditNoInclude a one-line attribution back to this tool. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions it uses 'real pages and sitemap' but does not disclose side effects, permissions, rate limits, or how the generated file is returned. The behavioral information is minimal and leaves much to inference.

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?

The description is a single, efficient sentence with no fluff. It front-loads the core action and source, and every word adds value. This is a model of conciseness.

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

Completeness2/5

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

Without an output schema, the description should explain what the tool returns or does with the generated file, but it does not. It also omits any context about the optional credit parameter. The description is too sparse to fully prepare an agent for correct 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?

The schema already describes both parameters (url and credit) with 100% coverage. The tool description adds context that the URL is for a site and that generation relies on sitemap, which is helpful but not critical. The baseline of 3 applies because the schema does most of the work.

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?

The description states a clear, specific verb ('Generate') and resource ('an llms.txt file') with a source ('a site's real pages and sitemap'). This distinguishes it from sibling tools like check_site, lint_robots_txt, and validate_llms_txt, which are about validation and checking rather than generation.

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?

The description implies the tool is for generation, but it does not explicitly state when to use it over siblings or provide any exclusions. An agent can infer its purpose, but there is no direct guidance on choosing this tool versus validate_llms_txt or check_site.

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