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

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is clear. The description adds process transparency by explaining it 'Fetches the page, extracts title/description/key links, and emits the standard llms.txt markdown format'. This goes beyond the annotations and helps the agent understand the tool's behavior.

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 three sentences, front-loaded with the core action, and includes a 'Useful for' list that is scannable. Every sentence adds value: purpose, process/output, and use cases. No filler or redundancy.

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?

For a tool with only 2 parameters, no output schema, and strong annotations, the description is complete. It covers the workflow, output format, and practical use cases. The absence of error-handling details is acceptable given the tool's simplicity and the fact that annotations cover the read-only, idempotent nature.

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 mentions the URL parameter implicitly ('for any URL') and refers to 'key links' (which maps to max_links conceptually), but it doesn't add detail about parameter types or defaults beyond what the schema already provides. It neither enhances nor harms parameter understanding.

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: 'Generate a production-ready llms.txt file for any URL'. It specifies the exact output (a text blob for site-root/llms.txt) and differentiates from sibling tools by focusing on generation rather than scanning or checking AI presence. The verb 'Generate' plus the resource 'llms.txt file' makes the purpose 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?

The description provides explicit use cases ('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') and implies when to use it. However, it does not explicitly mention alternatives or when not to use it, so it lacks the 'when-not' guidance that would earn a 5.

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

Many tools have heavily overlapping purposes: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, discover_tools, and suggest_questions all serve lookup/discovery in similar ways, and the five polymarket_* tools plus bet_research blur together. The six genuinely GovInfo-specific tools are distinct, but an agent would struggle to pick between the numerous meta and market tools, especially when the server is supposed to be about government information.

Naming Consistency3/5

Most tools follow a readable verb_noun pattern (list_collections, search_packages, get_granule, resolve_entity), but there are deviations: domain-prefixed nouns like polymarket_arbitrage, noun-ish names like pipeworx_trending, and verb phrases like ask_pipeworx_beta or generate_llms_txt. Overall it is mixed yet still navigable, not chaotic.

Tool Count2/5

36 tools is excessive for a server named Govinfo: only about six tools (list_collections, search_packages, get_package, list_granules, get_granule, search_within) actually serve that domain, while the remaining ~30 are Pipeworx meta-tools, prediction-market helpers, memory utilities, and AI-visibility checks. The count is bloated relative to the apparent scope and dilutes the server's identity.

Completeness3/5

The core GovInfo workflow is present — list collections, search packages, fetch package metadata, list and fetch granules, and semantically search within fetched text. However, there is no tool that directly downloads or returns the full text/PDF/XML content of a package or granule; agents only get links, so a full-document workflow requires an external fetch. The unrelated tools do not fill that gap and instead distract from the domain.