Skip to main content
Glama

Scan llms.txt instruction risk

llms-txt_instruction-risk-scan
Read-onlyIdempotent

Look in caller-supplied llms.txt text for a fixed set of instruction-override phrases, script tags, hidden characters, and javascript links. Docs: https://www.brainiac.software/api/llms-txt/instruction-risk-scan Keywords: text, document, success, analysis, score, issues, warnings, recommendations, Scan llms.txt instruction risk, instruction risk scan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "llms-txt_instruction-risk-scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNotext, string, length 0 to 200000. Optional.
documentNodocument, object. Optional.

Output Schema

NameRequiredDescriptionDefault
scoreNoscore. Number.
issuesNoissues. Array.
successNosuccess. Boolean.
analysisNoanalysis. String.
warningsNowarnings. Array.
limitationsNolimitations. Array.
recommendationsNorecommendations. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / description
      Previous value: -"Item. String."New value: +"item. String."
  2. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior. The description adds real value beyond that by naming the detection categories and noting the pattern set is 'fixed', which tells the agent the scan is static and rule-based rather than semantic. It does not disclose anything about severity thresholds, scoring, or limits of the fixed rule set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The detection sentence is front-loaded and efficient. However, the trailing keyword dump ('text, document, success, analysis, score, issues, warnings, recommendations') is SEO filler that repeats the title and adds no usable information, diluting an otherwise tight definition.

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?

An output schema exists, so return values need not be explained. The gap is that the tool accepts either a raw string or a structured document with sections and links, and the description only addresses raw text, leaving the agent unsure whether the document form is scanned the same way.

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%, so the baseline is 3. The description adds nothing about the relationship between the 'text' and 'document' parameters, and its framing of 'caller-supplied text' does not acknowledge the structured document object with nested sections and links.

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 first sentence names a specific verb (look/scan) and enumerates the exact targets: instruction-override phrases, script tags, hidden characters, and javascript links. That is far more informative than the title alone and distinguishes it from siblings like link-quality-check or contradiction-detect. It stops short of explicitly contrasting itself with those siblings.

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?

There is no when-to-use, when-not-to-use, or alternative-routing guidance. The phrase 'caller-supplied llms.txt text' hints that content must be provided, but with both parameters optional it is never stated what the caller should supply. An agent must infer whether this or contradiction-detect is appropriate.

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