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 the tool as read-only, idempotent, and non-destructive. The description adds value by explaining the output format ('single text blob ready to drop at site-root/llms.txt') and the extraction process, enhancing transparency beyond the structured fields.

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 and front-loaded: it states the tool's function in the first sentence, then elaborates the process and use cases in two additional sentences. No redundant or unnecessary information.

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 parameters, no output schema), the description fully covers what an AI agent needs: purpose, input meaning, output format, and typical use cases. Annotations provide safety context. No gaps identified.

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 both 'url' and 'max_links' described. The description doesn't add parameter-level details beyond the schema, but it contextualizes their use (e.g., 'Full URL of the site to summarize' and 'maximum number of link entries'). Baseline 3 is appropriate as schema already provides adequate semantics.

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 uses a specific verb ('Generate') and resource ('llms.txt file'), and explains the process clearly. It distinguishes itself from sibling tools, none of which generate llms.txt, making its purpose unique and unambiguous.

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?

Concrete use cases are provided (client indexing, personal project, competitor auditing), but no explicit when-not-to-use guidance is given. However, the context clear and the tool's specificity implies its appropriate context.

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

A3.6/5.0
Disambiguation2/5

Only 7 of 38 tools are specific to CWE (weakness, children, parents, etc.), while the rest are generic data query, prediction market, and utility tools. This creates massive overlap and confusion: an agent looking for CWE data will encounter many unrelated tools with similar generic names like ask_pipeworx, deep_research, etc.

Naming Consistency2/5

CWE-specific tools use a consistent noun pattern (weakness, children, parents, etc.), but the remaining tools mix snake_case, camelCase, and no clear pattern (e.g., ask_pipeworx, bet_research, generate_llms_txt). The overall naming is inconsistent.

Tool Count1/5

38 tools is far too many for a CWE server. The vast majority are unrelated to CWE, making the tool surface bloated and unfocused. A concise set of ~5-10 CWE-specific tools would be appropriate.

Completeness3/5

The CWE-specific tools (weakness, category, view, children, parents, descendants, relationship) cover the main use cases for querying the CWE database. However, the server also includes many unrelated tools that dilute its purpose, making it feel incomplete for someone strictly needing CWE data.