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 fetch-extract-emit process and output format ('single text blob'). No contradictions with 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 (4-5 sentences) with no wasted words. It front-loads the main action and key details, making it easy for an agent to quickly understand the tool's function.

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?

Despite having no output schema, the description fully explains the output (single text blob in standard markdown format). Given the tool's simplicity (2 params, no nested objects), the description covers all necessary information 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?

Schema coverage is 100%: both parameters (url, max_links) have descriptions. The description adds minimal extra meaning beyond the schema (e.g., url example), so baseline 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 clearly specifies the tool's purpose: generate a production-ready llms.txt file for any URL to help AI crawlers index the site. It details specific actions (fetch, extract title/description/key links, emit standard markdown) and explicitly distinguishes from sibling tools like scan_competitor_ai_presence by focusing on 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 explicit use cases: getting a client's site indexed, drafting llms.txt for own project, auditing competitor AI visibility. While it doesn't explicitly state when not to use it, the scenarios are clear and sufficient for an agent to decide when this tool is appropriate.

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

Many tools serve similar querying purposes (e.g., ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research) which could confuse an agent. However, detailed descriptions clarify differences, and some tools are very distinct (e.g., CIDR parsing, entity profile). Overlap is moderate but not severe.

Naming Consistency5/5

Tool names follow a consistent verb_noun pattern (e.g., resolve_entity, validate_claim, list_subscriptions) with underscores separating words. No mixing of styles like camelCase or abbreviations. Naming is clear and predictable.

Tool Count2/5

33 tools is excessive for a single server, covering areas as diverse as IP parsing, AI visibility, Polymarket betting, and SEC filings. This broad scope suggests the server tries to do too much, leading to a heavy and potentially unwieldy tool set.

Completeness3/5

The tool surface covers many domains (financials, prediction markets, IP tools, memory, subscriptions) but has notable gaps: no update for stored memories, limited subscription management (no modification), and some tools are marked as beta or deprecated. The set feels broad but not deep.