Skip to main content
Glama

Generate llms txt

generate_llms_txt
Read-onlyIdempotent

Draft an llms.txt from a bounded crawl of a publisher’s public pages, sitemaps and documentation links. Uses observed headings, descriptions and page content, respects robots rules, and reports partial coverage. The owner reviews the editable file before publishing at /llms.txt. Website ownership management is separate.

Input Schema

NameRequiredDescriptionDefault
domainYesA domain name such as example.com (no scheme, no path).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "generated_at": {
      -        "type": "string"
      -      },
      -      "llms_full_txt_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "notes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "pages": {
      -        "type": "integer"
      -      },
      -      "sampled": {
      -        "type": "integer"
      -      },
      -      "source": {
      -        "type": "string"
      -      },
      -      "sources": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "title": {
      -              "type": "string"
      -            },
      -            "url": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url",
      -            "title"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "text": {
      -        "type": "string"
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "validation": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "bytes": {
      -            "type": "integer"
      -          },
      -          "checked_at": {
      -            "type": "string"
      -          },
      -          "checks": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "code": {
      -                  "type": "string"
      -                },
      -                "detail": {
      -                  "type": "string"
      -                },
      -                "fix": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "label": {
      -                  "type": "string"
      -                },
      -                "ok": {
      -                  "type": "boolean"
      -                },
      -                "optional": {
      -                  "type": "boolean"
      -                },
      -                "required": {
      -                  "type": "boolean"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "pass",
      -                    "error",
      -                    "warning",
      -                    "info"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "ok",
      -                "label",
      -                "detail",
      -                "required",
      -                "optional",
      -                "severity",
      -                "fix"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "max": {
      -            "type": "integer"
      -          },
      -          "meaning": {
      -            "type": "string"
      -          },
      -          "ok": {
      -            "const": true
      -          },
      -          "parsed": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "linkCount": {
      -                "type": "integer"
      -              },
      -              "sectionCount": {
      -                "type": "integer"
      -              },
      -              "summary": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "title": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "title",
      -              "summary",
      -              "sectionCount",
      -              "linkCount"
      -            ],
      -            "type": "object"
      -          },
      -          "recommendations": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "code": {
      -                  "type": "string"
      -                },
      -                "fix": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "severity",
      -                "fix"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "score": {
      -            "type": "integer"
      -          },
      -          "url": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "valid": {
      -            "type": "boolean"
      -          },
      -          "verdict": {
      -            "enum": [
      -              "valid",
      -              "needs work"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "ok",
      -          "valid",
      -          "verdict",
      -          "checked_at",
      -          "url",
      -          "bytes",
      -          "parsed",
      -          "checks",
      -          "score",
      -          "max",
      -          "recommendations",
      -          "meaning"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "domain",
      -      "title",
      -      "description",
      -      "pages",
      -      "source",
      -      "sampled",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "detail": {
      -        "type": "string"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "hint": {
      -        "type": "string"
      -      },
      -      "retry_after_seconds": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "crawl": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "duplicates_skipped": {
      +            "type": "integer"
      +          },
      +          "failed_pages": {
      +            "type": "integer"
      +          },
      +          "noindex_skipped": {
      +            "type": "integer"
      +          },
      +          "page_limit": {
      +            "type": "integer"
      +          },
      +          "pages_attempted": {
      +            "type": "integer"
      +          },
      +          "partial": {
      +            "type": "boolean"
      +          },
      +          "request_limit": {
      +            "type": "integer"
      +          },
      +          "requests": {
      +            "type": "integer"
      +          },
      +          "robots_skipped": {
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "page_limit",
      +          "request_limit",
      +          "requests",
      +          "pages_attempted",
      +          "robots_skipped",
      +          "duplicates_skipped",
      +          "failed_pages",
      +          "noindex_skipped",
      +          "partial"
      +        ],
      +        "type": "object"
      +      },
      +      "description": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "generated_at": {
      +        "type": "string"
      +      },
      +      "llms_full_txt_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "notes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "pages": {
      +        "type": "integer"
      +      },
      +      "sampled": {
      +        "type": "integer"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "sources": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "title": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "text": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "validation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "bytes": {
      +            "type": "integer"
      +          },
      +          "checked_at": {
      +            "type": "string"
      +          },
      +          "checks": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "detail": {
      +                  "type": "string"
      +                },
      +                "fix": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "label": {
      +                  "type": "string"
      +                },
      +                "ok": {
      +                  "type": "boolean"
      +                },
      +                "optional": {
      +                  "type": "boolean"
      +                },
      +                "required": {
      +                  "type": "boolean"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "pass",
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "ok",
      +                "label",
      +                "detail",
      +                "required",
      +                "optional",
      +                "severity",
      +                "fix"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "max": {
      +            "type": "integer"
      +          },
      +          "meaning": {
      +            "type": "string"
      +          },
      +          "ok": {
      +            "const": true
      +          },
      +          "parsed": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "linkCount": {
      +                "type": "integer"
      +              },
      +              "sectionCount": {
      +                "type": "integer"
      +              },
      +              "summary": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "title": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "title",
      +              "summary",
      +              "sectionCount",
      +              "linkCount"
      +            ],
      +            "type": "object"
      +          },
      +          "recommendations": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "fix": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "fix"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "score": {
      +            "type": "integer"
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "valid": {
      +            "type": "boolean"
      +          },
      +          "verdict": {
      +            "enum": [
      +              "valid",
      +              "needs work"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "valid",
      +          "verdict",
      +          "checked_at",
      +          "url",
      +          "bytes",
      +          "parsed",
      +          "checks",
      +          "score",
      +          "max",
      +          "recommendations",
      +          "meaning"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "domain",
      +      "title",
      +      "description",
      +      "pages",
      +      "source",
      +      "sampled",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "detail": {
      +        "type": "string"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "hint": {
      +        "type": "string"
      +      },
      +      "retry_after_seconds": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "description": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "pages": {
      -        "type": "integer"
      -      },
      -      "sampled": {
      -        "type": "integer"
      -      },
      -      "source": {
      -        "type": "string"
      -      },
      -      "text": {
      -        "type": "string"
      -      },
      -      "title": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "domain",
      -      "title",
      -      "description",
      -      "pages",
      -      "source",
      -      "sampled",
      -      "text"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "detail": {
      -        "type": "string"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "hint": {
      -        "type": "string"
      -      },
      -      "retry_after_seconds": {
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "description": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "generated_at": {
      +        "type": "string"
      +      },
      +      "llms_full_txt_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "notes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "pages": {
      +        "type": "integer"
      +      },
      +      "sampled": {
      +        "type": "integer"
      +      },
      +      "source": {
      +        "type": "string"
      +      },
      +      "sources": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "title": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "text": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "validation": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "bytes": {
      +            "type": "integer"
      +          },
      +          "checked_at": {
      +            "type": "string"
      +          },
      +          "checks": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "detail": {
      +                  "type": "string"
      +                },
      +                "fix": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "label": {
      +                  "type": "string"
      +                },
      +                "ok": {
      +                  "type": "boolean"
      +                },
      +                "optional": {
      +                  "type": "boolean"
      +                },
      +                "required": {
      +                  "type": "boolean"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "pass",
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "ok",
      +                "label",
      +                "detail",
      +                "required",
      +                "optional",
      +                "severity",
      +                "fix"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "max": {
      +            "type": "integer"
      +          },
      +          "meaning": {
      +            "type": "string"
      +          },
      +          "ok": {
      +            "const": true
      +          },
      +          "parsed": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "linkCount": {
      +                "type": "integer"
      +              },
      +              "sectionCount": {
      +                "type": "integer"
      +              },
      +              "summary": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "title": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "title",
      +              "summary",
      +              "sectionCount",
      +              "linkCount"
      +            ],
      +            "type": "object"
      +          },
      +          "recommendations": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "code": {
      +                  "type": "string"
      +                },
      +                "fix": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "fix"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "score": {
      +            "type": "integer"
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "valid": {
      +            "type": "boolean"
      +          },
      +          "verdict": {
      +            "enum": [
      +              "valid",
      +              "needs work"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "ok",
      +          "valid",
      +          "verdict",
      +          "checked_at",
      +          "url",
      +          "bytes",
      +          "parsed",
      +          "checks",
      +          "score",
      +          "max",
      +          "recommendations",
      +          "meaning"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "domain",
      +      "title",
      +      "description",
      +      "pages",
      +      "source",
      +      "sampled",
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "detail": {
      +        "type": "string"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "hint": {
      +        "type": "string"
      +      },
      +      "retry_after_seconds": {
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / domain / maxLength
      Added value: +253
    • addedInput schema / properties / domain / minLength
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "description": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "domain": {
      +          "type": "string"
      +        },
      +        "ok": {
      +          "const": true
      +        },
      +        "pages": {
      +          "type": "integer"
      +        },
      +        "sampled": {
      +          "type": "integer"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "text": {
      +          "type": "string"
      +        },
      +        "title": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "ok",
      +        "domain",
      +        "title",
      +        "description",
      +        "pages",
      +        "source",
      +        "sampled",
      +        "text"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "detail": {
      +          "type": "string"
      +        },
      +        "domain": {
      +          "type": "string"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "hint": {
      +          "type": "string"
      +        },
      +        "retry_after_seconds": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description is consistent with them – the file is only drafted, reviewed by the owner, then published separately. It adds real behavioural context beyond the annotations: crawl is bounded, robots rules are respected, and partial coverage is reported. What's missing is anything about crawl duration, size limits, or what a partial-coverage signal looks like in practice.

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?

Three sentences, front-loaded with the action and scope, and every clause earns its place – crawl scope, what data is used, robots compliance, coverage reporting, review step, and the ownership exclusion. No repetition of the title or schema.

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?

Output shape is covered by an existing output schema, so the description needn't explain return values; it still communicates the important uncertain outcome (partial coverage). For a single-parameter read-only generation tool, an agent has enough to call 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?

Only one parameter and schema description coverage is 100% ('A domain name such as example.com (no scheme, no path)'), so the schema carries the parameter burden. The description implies the domain is the crawl target but adds no format or interpretation detail beyond what the schema already states. Baseline 3 applies.

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?

Specific verb (draft) plus resource (llms.txt) plus scope (bounded crawl of a publisher's public pages, sitemaps, documentation links). It is clearly distinguishable from the sibling read/check/validate tools because it produces a draft rather than inspecting or publishing one, and it explicitly excludes ownership management.

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?

It tells the agent the workflow context: the draft is generated for owner review before publishing at /llms.txt, and website ownership is handled elsewhere. It never names the concrete alternatives (check_llms_txt, read_llms_txt, validate_llms_txt) or states when to prefer them, so no explicit exclusion beyond the ownership note.

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.