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).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.2/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, but the description adds meaningful behavioral context: it fetches the page, extracts title/description/key links, and emits standard llms.txt markdown. This goes beyond the annotations without contradicting them, though it doesn't address potential errors 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 and well-structured: it starts with the primary action, then explains the process and output format, and ends with practical use cases. Every sentence earns its place with no redundancy or filler.

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

Completeness4/5

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

For a simple two-parameter read-only tool without an output schema, the description sufficiently covers the return value ('a single text blob ready to drop at site-root/llms.txt') and typical use. It doesn't describe edge cases or limitations, but these aren't necessary for such a straightforward tool.

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% and both parameters (url, max_links) are self-explanatory in the schema. The description adds no additional parameter-level detail, so the baseline of 3 is appropriate.

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 clarifies scope ('for any URL'). It explains the process (fetches, extracts, emits) and differentiates from siblings by focusing on a distinct output artifact, making it clear what the tool does.

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 lists concrete use cases ('getting a client's site indexed by AI', 'drafting llms.txt', 'auditing how an AI crawler would see a competitor'), providing clear context for when to use it. However, it doesn't explicitly name alternative tools or state when not to use it, stopping short of full exclusion guidance.

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

Most tools have distinct, well-described purposes, but clusters like ask_pipeworx/ask_pipeworx_beta/ask_pipeworx_grounded and the five polymarket_* tools have overlapping scopes that could cause misselection. The beta currently behaves identically to the stable router, and `recent` vs `recent_changes` vs `recent_alerts` are confusingly similar names for different domains.

Naming Consistency2/5

All names use lowercase underscores, but there is no consistent verb_noun pattern: some are verbs (ask, compare, generate), some are nouns (entity_profile, recent, user), and some are adjectives (deep_research). There are coherent subfamilies (subscribe/unsubscribe/list_subscriptions, remember/recall/forget), but the overall naming is a mix of conventions.

Tool Count2/5

33 tools is well above the 25+ threshold, making the surface heavy and hard to navigate. Many are highly specialized meta-tools (e.g., five Polymarket analyzers) that could be consolidated.

Completeness2/5

For a server named 'Codestats', only `recent` and `user` address coding stats, leaving major gaps in what that name implies. The broader data/research/betting capabilities are fairly rich, but the server's stated identity is under-served and there's no clear lifecycle coverage for any single domain.