Skip to main content
Glama

Generate llms.txt

generate_llms_txt
Read-onlyIdempotent

Render llms.txt and llms-full.txt from a site name, a summary, and a list of pages. It does not crawl. Grouping follows the page URLs.

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": {
      "siteName": "<siteName>",
      "summary": "<summary>",
      "pages": "<pages>"
    },
    "name": "generate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYesPages you already know. This tool does not fetch them.
summaryYes
siteNameYes

Output Schema

NameRequiredDescriptionDefault
fullYes
llmsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral facts beyond that: no fetching happens, and output grouping follows page URLs. It does not explain how siteName/summary influence the rendered output or whether rendering is deterministic in ordering.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the purpose, and each sentence carries information (purpose, non-crawling behavior, grouping rule). No filler or redundancy.

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

Completeness3/5

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

An output schema exists, so return values needn't be explained, and the tool itself is simple. Still, the role of the required 'summary' field and how pages are grouped (by host? by path prefix?) are left ambiguous for a tool whose only job is producing structured output.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%, so the description should compensate, but it mostly restates the parameter names ('a site name, a summary, and a list of pages'). It adds no meaning about what 'summary' is used for in the output or what constraints apply to pages beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Render') and concrete resources ('llms.txt and llms-full.txt'), and states the inputs it consumes. It clearly distinguishes the tool from a crawler with 'It does not crawl', though it doesn't name any sibling alternative explicitly.

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 does not crawl' implies the intended usage context — you must already have the page data — but this is inference rather than an explicit 'use this when...' statement. No prerequisites, exclusions, or alternatives are named.

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.