Skip to main content
Glama

讀取網站首頁與 sitemap

generate_llms_txt
Read-onlyIdempotent

讀取網站首頁與 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": "generate_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare that this operation is read-only, idempotent, non-destructive, and open-world. The description adds that the output is a 'draft' (草稿), implying no publishing occurs and that human review follows. However, it does not say whether reading the homepage and sitemap could fail or time out on large sites, nor does it describe the result format.

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?

It consists of one compact sentence split into two clauses, with the source (homepage and sitemap) front-loaded before the outcome (draft). There is no wasted wording, but it is so terse that it omits practical detail rather than being fully efficient.

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

Completeness2/5

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

There is no output schema, so the description should say what the caller receives, such as draft text returned inline or a file path, and how long the generated result is. It also says nothing about sitemap absence or crawl limits, leaving an agent unable to predict returns or failure modes for a tool whose whole value is its generated artifact.

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?

This tool has one required parameter, url, and the schema description coverage is 0%, so the description must explain its meaning. Mentioning 網站首頁 (site homepage) weakly implies that url is the site root, but the description does not say whether to pass a full URL with scheme, a domain only, or a subpage. This is partial compensation for the coverage gap.

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 uses a specific verb and resource: it reads a site's homepage and sitemap and generates a draft llms.txt. That distinguishes it in kind from check_llms_txt and validate_llms_txt (which inspect rather than generate), but it never names those siblings or states the contrast explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus check_llms_txt or validate_llms_txt, and no prerequisites such as whether the site must already have a sitemap, be public, or be crawlable. The generation intent is only implied.

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