Skip to main content
Glama
Akxan
by Akxan

Draft an llms.txt from the sitemap

llms_txt_generate
Read-onlyIdempotent

Crawl your sitemap to generate a draft llms.txt file with page titles, summaries, and grouped links. Review and edit before publishing.

Instructions

Crawl the sitemap (up to maxPages), read each page's title and meta description, and produce a draft llms.txt in the standard format (H1, blockquote summary, H2 sections grouped by first path segment, '- title: description' lines). Review and edit the draft before publishing it at /llms.txt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlYes
summaryNoBlockquote summary; defaults to the homepage meta description.
maxPagesNo
siteNameNoOverride the H1; defaults to the homepage <title>.
excludePatternsNoSkip URLs containing any of these substrings.

Schema Changelog

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

  1. First observedv0.3.0

TDQS

A4/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, so the safety profile is covered. The description adds that it crawls up to maxPages, reads titles and meta descriptions, and produces a draft in a specific format. It also notes the draft must be reviewed before publishing, indicating it does not write directly. This adds meaningful behavioral context.

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 a single, well-structured sentence that front-loads the core action ('Crawl the sitemap') and efficiently packs in the output format and a safety instruction. No unnecessary words.

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?

Given the complexity and lack of output schema, the description explains the process, output format, and that the result is a draft to be reviewed before publishing. It does not explicitly state the return type, but 'produce a draft' implies the tool returns the draft. Overall, it covers the essential information for an agent to use it 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 descriptions cover 3 of 5 parameters (summary, siteName, excludePatterns). The description clarifies that maxPages limits the crawl ('up to maxPages') and implies siteUrl is the sitemap source, but it does not explicitly define siteUrl or maxPages beyond that. Since coverage is 60%, the description partially compensates but leaves siteUrl ambiguous.

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 states a clear verb (crawl, read, produce) and resource (draft llms.txt) with specific format details. It distinguishes itself from siblings like llms_txt_check (which likely checks existing files) by focusing on generation. The process is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for generating a draft from a sitemap but does not explicitly state when to use it versus alternatives like llms_txt_check or site_crawl. It provides context ('Crawl the sitemap') but lacks explicit exclusions or alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Akxan/google-seo-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server