Skip to main content
Glama

Generate llms.txt

generate_llms_txt
Read-onlyIdempotent

Generate a production-ready llms.txt file for any URL so AI crawlers (ChatGPT, Claude, Perplexity) can index the site cleanly. Fetches the page, extracts title/description/key links, and emits the standard llms.txt markdown format. Output is a single text blob ready to drop at site-root/llms.txt. Useful for: getting a client's site indexed by AI, drafting llms.txt for your own project, or auditing how an AI crawler would see a competitor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull URL of the site to summarize, e.g. "https://example.com" or a specific landing page.
max_linksNoMaximum number of link entries to include (default 25, max 50).

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds behavioral context by stating it 'fetches the page' and 'extracts' content, which implies network access and processing. It also explains the output format, though it does not detail error handling or rate limits. This adds value beyond the annotations.

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 concise, with three sentences. The first sentence front-loads the core purpose, the second describes the underlying process and output, and the third lists practical use cases. Every sentence adds meaningful information without fluff.

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?

Given the tool's simplicity (2 params, no output schema), the description covers all necessary aspects: purpose, process, output, and use cases. It explicitly states the output is a 'single text blob', which compensates for the lack of an output schema. The annotations cover safety and side-effect context, making this description complete for an agent.

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 description coverage is 100%, so the baseline is 3. The description does not add additional parameter-specific details beyond what the schema provides for 'url' and 'max_links'. It indirectly references the extraction behavior but does not clarify parameter syntax or defaults 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?

The description clearly states the tool's function: generating a production-ready llms.txt file for any URL. It specifies the process (fetch, extract title/description/key links, emit markdown) and the output (a text blob). This distinguishes it from sibling tools like scan_competitor_ai_presence, which focus on visibility checking rather than file generation.

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

Usage Guidelines4/5

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

The description provides clear contexts for use, such as getting a client's site indexed, drafting llms.txt for a project, or auditing a competitor. It does not explicitly mention alternative tools or state when not to use this tool, but the use cases are sufficiently clear to guide an agent.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose, with detailed descriptions that specify when to use each. Even overlapping functions like ask_pipeworx varieties are well-differentiated by mode (casual vs grounded vs multi-source).

Naming Consistency4/5

Most tool names follow a verb_noun snake_case pattern (e.g., query_layer, resolve_entity), but a few deviate with single-word verbs (forget, remember, recall) or noun_noun (layer_info). The pattern is mostly consistent with minor exceptions.

Tool Count3/5

With 33 tools, the count is high and borders on heavy. However, the tools span multiple domains (GIS, financial data, prediction markets, memory, subscriptions), and each serves a unique role, so the count is justifiable but could be streamlined.

Completeness4/5

The tool set covers a broad range of data access and analysis tasks relevant to the inferred domain of a multi-purpose assistant. While the ArcGIS portion is limited, the overall surface is well-populated with few obvious gaps.