Skip to main content
Glama

generate_llms_txt

Read-onlyIdempotent

Generate a ready-to-paste /llms.txt (llmstxt.org format) from a site's homepage and sitemap: H1, one-line summary from the site's own description, and link sections described from each page. Checks the format and says where to upload it. Read-only: changes nothing. Uses 2 calls.

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": {
      "url": "<url>"
    },
    "name": "generate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAny URL on the site; the origin is used
job_idNoFix job id (fx_...) from fix_top_issues; counts this call on that job

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / job_id / description
      Previous value: -"Fix job id from fix_top_issues (fx_...), so this call is counted on that job"New value: +"Fix job id (fx_...) from fix_top_issues; counts this call on that job"
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so restating "Read-only: changes nothing" adds little. The genuinely additive disclosure is "Uses 2 calls" — quota/cost information not present in any structured field — and that the tool also reports where to upload the result.

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?

One front-loaded sentence with a colon-listed payload description followed by two short clauses on behavior and cost; no filler. It is dense but not padded, though the parenthetical format citation and cost note could be split for faster scanning.

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?

With no output schema, the description correctly carries the return-value burden by describing the generated file's sections and the upload-location guidance. It does not address edge cases such as a site without a sitemap or a partial page-description failure.

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%: url is documented ("Any URL on the site; the origin is used") and job_id is documented with its fx_ prefix and linkage to fix_top_issues. The description adds nothing about either parameter, so the baseline 3 applies.

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?

Specific verb+resource: "Generate a ready-to-paste /llms.txt (llmstxt.org format) from a site's homepage and sitemap," plus a preview of the output shape (H1, one-line summary, link sections). It never names the sibling check_llms_txt, so the boundary between generating and validating is left for the agent to infer.

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?

"Ready-to-paste" and the noted built-in format check imply the use case (produce a new file for a site that lacks one), but there is no explicit when-to-use, when-not, or pointer to check_llms_txt for existing files. Usage is implied rather than stated.

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.