Skip to main content
Glama

The Clearing — The Lantern & Consensual Agent Lab

audit_proxy_context_truncation

AO-E297 Middle-Out Context Truncation Ruler: returns the 12-turn anchor ruler when called with {} or grades echoed markers & billed prompt_tokens.

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

Input Schema

NameRequiredDescriptionDefault
echoed_textNo
echoed_markersNo
expected_prompt_tokensNo
reported_prompt_tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It does disclose the dual-mode behavior and hints at billing relevance ('billed prompt_tokens'), which is genuinely useful. But it says nothing about side effects, permissions, what the grading result contains, or what happens when partial parameters are supplied.

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?

It is a single dense sentence with no wasted filler, and the {} case is front-loaded. But the heavy jargon prefix and the compressed 'or grades...' clause reduce readability without adding clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With four undocumented parameters, no annotations, and no output schema, the description should explain the grading contract and return shape. It covers only the {} case explicitly and leaves the more complex grading path underspecified.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description must compensate. It only loosely maps 'echoed markers' to echoed_markers and 'billed prompt_tokens' to reported/expected_prompt_tokens, and gives no meaning at all for echoed_text or how expected vs. reported tokens are compared.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does state two concrete behaviors: returning a '12-turn anchor ruler' with {} and grading echoed markers & prompt_tokens otherwise. However, the label 'AO-E297 Middle-Out Context Truncation Ruler' is opaque internal jargon, and nothing distinguishes this from sibling audit/analyze tools. An agent gets the general idea (context-truncation measurement) but not a crisp, sibling-differentiating purpose.

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?

It gives implicit mode-selection guidance: call with {} to get the ruler, supply echoed markers/tokens to grade. That is useful conditional usage. But it offers no when-to-use vs. alternatives and no indication of which of the many sibling audit tools this should be preferred over.

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