Skip to main content
Glama

Check llms.txt

check_llms_txt
Read-onlyIdempotent

Use this when the user asks whether a website has an llms.txt file or whether it's set up correctly. It fetches /llms.txt and reports whether it was found, its size and title, and every place it doesn't follow the llmstxt.org format (missing H1, no summary line, links that aren't Markdown or https), with line numbers. It also lists the homepage's main pages, which can seed a new llms.txt. Input: one public website. Reads robots.txt, the homepage, /llms.txt and /.well-known/search as PreferlyBot; changes nothing.

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": {
      "website": "<website>"
    },
    "name": "check_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
websiteYesThe public website to check, like example.com or https://www.example.com. One site per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds genuinely new context: which endpoints are read (robots.txt, homepage, /llms.txt, /.well-known/search), the identity used (PreferlyBot), and that nothing is changed. It also discloses side outputs like listing the homepage's main pages, which the agent could not infer from annotations.

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?

The trigger sentence is front-loaded, followed by output content, then input, then a safety/scope note — a logical order with no filler. It runs slightly long, but nearly every clause carries distinct information.

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?

With no output schema, the description carries the burden of describing return values, and it does so specifically (found/not-found, size, title, format violations with line numbers, homepage page list). It also explains what the homepage-page list is useful for, closing the loop on why the tool would be called.

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% and the single parameter already documents its format and example values. The description only reinforces the constraints ('one public website', one site per call), which is mild added meaning rather than new information, so 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?

Names a specific resource (/llms.txt) and a specific action (fetch and audit against the llmstxt.org format), plus the exact findings returned (H1, summary line, link format) with line numbers. An agent can distinguish this from check_ai_crawler_access or check_business_schema purely from the description.

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?

Opens with an explicit trigger: 'use this when the user asks whether a website has an llms.txt file or whether it's set up correctly.' That is a clear when-to-use condition, but it names no alternatives or exclusions (e.g., when to prefer check_ai_crawler_access or generate_ai_robots_txt instead).

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.