Skip to main content
Glama

Analyze llms.txt context budget

llms-txt_context-budget-analyze
Read-onlyIdempotent

Measure caller-supplied llms.txt size, repeated lines, and repeated link paths. Docs: https://www.brainiac.software/api/llms-txt/context-budget-analyze Keywords: text, document, success, analysis, score, issues, warnings, recommendations, Analyze llms.txt context budget, context budget analyze.

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_context-budget-analyze"
  }
}

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

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive behavior, and openWorldHint, so safety is covered. The description adds that input is caller-supplied and that the analysis targets redundancy metrics, but says nothing about how results are scored or whether issues/warnings are returned beyond what the output schema implies.

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

Conciseness2/5

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

The useful content is a single opening sentence. The remainder is a docs URL plus keyword stuffing ('text, document, success, analysis, score, issues, warnings, recommendations') that repeats the title verbatim and adds no semantic value, diluting the front-loaded signal.

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 and annotations are rich, so the description needn't explain return values. However, for a tool with two optional top-level inputs and a nested document object, it leaves unclear whether 'text' and 'document' are alternatives or can be combined, which is a meaningful gap.

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 nested text/document structure and field limits are already documented. The description only implies that either raw text or a parsed document object can be supplied, without clarifying the relationship between the two optional top-level parameters.

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 gives a specific verb ('Measure') and names three concrete metrics: size, repeated lines, and repeated link paths of a caller-supplied llms.txt. That is enough to distinguish it from siblings like coverage-analyze or structure-validate, though it never routes explicitly to them.

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 guidance and no mention of alternatives or prerequisites. The only signals are the metric names themselves; an agent must infer that this tool is for redundancy/size analysis rather than coverage or navigation checks.

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