Skip to main content
Glama
google-seo-mcp
by Akxan

Draft an llms.txt from the sitemap

llms_txt_generate
Read-onlyIdempotent

Crawl a sitemap, read page titles and meta descriptions, and generate a draft llms.txt grouped by path segment for review 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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteUrl": "<siteUrl>"
    },
    "name": "llms_txt_generate"
  }
}

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

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Changed1 schema field changedv0.5.1
    • removedInput schema / additionalProperties
      Removed value: -false
  3. 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 cover safety (readOnly, idempotent, openWorld, non-destructive), and the description adds meaningful behavior: it performs a bounded crawl (up to maxPages, capped at 300 by schema), reads per-page metadata, and writes nothing to the live site. It does not mention crawl duration, failure modes on blocked pages, or what the returned draft looks like beyond its format, keeping it below a 5.

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?

Two sentences, front-loaded with the action and immediately followed by the exact output structure in parentheses. Every clause carries information — the crawl scope, the metadata read, the format, and the publish caveat — with no 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 five-parameter tool with no output schema and no nested objects, the description covers the important unknowns: it is a bounded read-only crawl and the result is a draft, not a live file. It stops short of describing the return payload (raw text vs. structured sections) or behavior when pages are unreachable, which leaves a small but real gap.

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 60%, so the schema already documents summary, siteName, and excludePatterns defaults. The prose reinforces maxPages as a crawl bound and explains that H2 grouping keys off the first path segment, but it adds no syntax or edge-case detail for excludePatterns matching beyond what the schema states. 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 pairs a specific verb chain (crawl the sitemap, read titles/meta, produce a draft llms.txt) with the exact output artifact and its section structure. It implicitly separates itself from a validation sibling by calling the output a 'draft' that must be reviewed and published manually.

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?

It gives a clear workflow hint ('review and edit the draft before publishing it at /llms.txt'), which tells the agent this is the generation step and not the publishing step. However, it never states when to prefer this over llms_txt_check or what to do if the crawl fails or the site has no sitemap, so usage is only implied.

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