Skip to main content
Glama

讀取網站首頁與 sitemap

llms__generate_llms_txt
Read-onlyIdempotent

[llms.txt 檢查工具]讀取網站首頁與 sitemap,自動產生 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": {
      "url": "<url>"
    },
    "name": "llms__generate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds that the tool performs an external crawl of the homepage plus sitemap, which explains the openWorld flag, but it omits fetch failures, timeouts, or whether the draft is returned inline versus saved.

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?

A single compact sentence with the tag up front and no filler. The bracketed label largely repeats the title field, which is the only mild 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?

No output schema exists and the return value (a text draft? structured sections?) is never characterised, which matters for a generator. Annotations cover the read-only, idempotent, open-world nature, so nothing is dangerously missing, but the definition is thin for a network-dependent generator.

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?

The single url parameter has zero schema description coverage, so the description carries the burden. It hints that the value is a site root (homepage plus sitemap are derived from it) rather than an arbitrary page URL, but it never says the scheme, whether a trailing slash matters, or that deep links are rejected.

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 names a concrete verb-plus-resource pair: it reads a site's homepage and sitemap, then produces an llms.txt draft. That makes it distinguishable from check_llms_txt and validate_llms_txt in kind (generation versus inspection), though it never names them 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?

Why to use it is implied: you need a starting llms.txt file. There is no explicit statement of when to prefer it over check_llms_txt or validate_llms_txt, and no prerequisites (for example, that the site must be publicly reachable) are given.

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.

Resources