Skip to main content
Glama

Check llms.txt

check_llms_txt
Read-onlyIdempotent

Checks a page's /llms.txt and /llms-full.txt for presence, soft-404s, size, and parsed summaries, and validates llms.txt v2 links like markdown alternates and rel=describedby.

Instructions

Check /llms.txt (llmstxt.org) and /llms-full.txt for the site of this URL: presence, soft-404 detection, size and a parsed summary. Also validates the llms.txt v2 links of the page itself (markdown alternate, rel=describedby). llms.txt is read by coding agents; there is no confirmed use by AI answer engines.

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": "check_llms_txt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL of the page to audit, for example https://example.com/blog/post. If the URL has no scheme, the server uses https:// (http:// for localhost).

Output Schema

NameRequiredDescriptionDefault
linksYesThe llms.txt v2 links that the page advertises, validated. null = none advertised, or the page did not load.
originYes
llmsTxtYes
findingsYesFailed or partial checks, highest impact first.
llmsFullTxtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is covered; the description adds substantive behavior beyond that: it probes two well-known paths, performs soft-404 detection (a real caveat, since a 200 response can be a fake file), reports size, and validates the page's own markdown alternate and rel=describedby links. It does not mention redirect handling, rate limits, or failure modes, keeping it short of a 5.

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?

Two sentences, front-loaded with what is checked and what is returned, with no filler. The closing positioning sentence is arguably optional but does inform how an agent should interpret and report the result.

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?

An output schema exists, so return values needn't be spelled out, and the description still summarizes them. For a single-parameter read-only audit tool this is nearly complete, with only minor gaps around network failure, redirects, and how the site root is derived from the input URL.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already explains scheme defaulting, so the baseline is met; the description adds real meaning by clarifying that the audit targets the site of the given page URL rather than the page path, which is the key semantic not stated in the schema.

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?

The description names a specific verb and resource ('Check /llms.txt (llmstxt.org) and /llms-full.txt for the site of this URL') and enumerates the checks performed: presence, soft-404 detection, size, parsed summary, and v2 link validation. This is clearly distinct from siblings like check_ai_crawlers or check_structured_data, which target different resources.

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?

Usage is implied by the resource being audited, and the closing sentence frames relevance ('llms.txt is read by coding agents; there is no confirmed use by AI answer engines'). However, there is no explicit when-to-use/when-not or named alternative such as check_page for general page auditing, so the agent must infer routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.