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=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false. The description adds behavioral context beyond annotations by explaining the process: 'Fetches the page, extracts title/description/key links, and emits the standard llms.txt markdown format.' This is consistent and informative, though it could mention error handling or rate limits.

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: two sentences plus a 'Useful for' list. The main purpose is front-loaded, and every sentence provides value. No redundancy or unnecessary detail.

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 has only 2 parameters, no output schema, and rich annotations, the description is complete. It explains input (any URL), process (fetch and extract), output (single text blob in standard format), and use cases. No missing critical information for an AI agent to use the tool correctly.

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 descriptions for 'url' ('Full URL of the site to summarize') and 'max_links' ('Maximum number of link entries to include (default 25, max 50)') are clear. The tool description adds minimal extra value beyond stating the output format, which is acceptable given full schema coverage.

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 purpose: 'Generate a production-ready llms.txt file for any URL so AI crawlers...can index the site cleanly.' It specifies the verb 'generate', the resource 'llms.txt file for any URL', and distinguishes itself from sibling tools like 'ai_visibility_check' and 'scan_competitor_ai_presence' which serve different functions.

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 explicitly lists three use cases: getting a client's site indexed, drafting for own project, or auditing a competitor's AI visibility. It does not explicitly state when not to use this tool or mention alternatives, but the context is clear and the sibling tools provide no direct alternative for generating llms.txt.

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.8/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, such as ask_pipeworx, ask_pipeworx_grounded, entity_profile, compare_entities, and validate_claim, all retrieving entity data. Agents may struggle to choose correctly between them. Likewise, bet_research, polymarket_edges, and polymarket_arbitrage cover similar prediction market territory.

Naming Consistency3/5

All tool names use underscores, but the verb/noun order varies: compare_entities (verb_noun), entity_profile (noun_noun), scan_competitor_ai_presence (verb_noun), bet_research (noun_verb). Some names are overly long (scan_competitor_ai_presence). The pattern is readable but not fully consistent.

Tool Count3/5

With 31 tools, the count is high but not extreme. However, the set covers geospatial, data retrieval, prediction markets, npm scanning, and memory/feedback - too broad for a single server. Many tools feel added without clear justification, making the set feel bloated.

Completeness2/5

The geospatial subset is incomplete (missing elevation, distance matrix, isochrones). The data access tools overlap rather than form a complete API surface (e.g., no entity update/delete). Prediction market tools are numerous but redundant. The server tries to do too much and lacks depth in any area.