Skip to main content
Glama

reproleaf

audit_llms_budget

Read-onlyIdempotent

Audit llms.txt structure and linked page token footprint against a target context window, detecting duplicate URLs, missing targets and oversized core sections.

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": {
      "llmsTxt": "<llmsTxt>",
      "targetContextTokens": "<targetContextTokens>"
    },
    "name": "audit_llms_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNo
llmsTxtYes
targetContextTokensYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds the diagnostic scope (duplicate URLs, missing targets, oversized sections), but says nothing about what a result looks like, whether findings are pass/fail or scored, or how the optional pages input changes the analysis.

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?

A single dense sentence with the primary resource front-loaded and the detection targets trailing as a compact list. No filler, though the enumerated checks could have been split for faster scanning.

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?

With no output schema and 0% schema description coverage, the description should do more: it omits the shape of the audit result and the role of the optional pages array. The core intent is clear enough for a read-only analysis tool, but an agent cannot predict the response structure or the effect of omitting pages.

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 0%, so the description must carry parameter meaning; it loosely maps all three inputs (llms.txt structure, linked page token footprint, target context window) to the concepts it names. However, it never states that pages is optional, that markdown is the text counted toward the footprint, or what happens when the default of 32000 is used.

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?

States a specific verb (Audit) and resource (llms.txt structure plus linked page token footprint) and names the concrete checks it performs: duplicate URLs, missing targets, oversized core sections. It implicitly separates itself from plain structural auditing by emphasizing the target context window, but it never names a sibling tool such as audit_llms_txt, so differentiation is left to inference.

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 or when-not-to-use guidance and no named alternative. An agent must infer from 'against a target context window' that this tool is for context-budget checks rather than for plain llms.txt linting, which is the job of a sibling.

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.