Skip to main content
Glama

Traceflow - Zero-UI Telemetry, Webhook & Chaos Blackbox

traceflow_audit_ai

Audit MCP tools/list JSON token bloat OR hash prompt chunks across turns to pinpoint KV prompt-cache prefix invalidation.

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

Input Schema

NameRequiredDescriptionDefault
cell_idNo
read_tokenNo
chunk_charsNo
prompt_textNo
mcp_tools_jsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden: it does not say whether the tool only reads data, whether it persists anything, what authentication read_token implies, whether hashing is one-shot or span-based, or what the result looks like. For a five-parameter diagnostic tool with zero structured behavioral metadata, this is a substantial gap.

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 compact sentence with no filler, which is good, but the density is achieved by stacking jargon ('tools/list JSON token bloat', 'KV prompt-cache prefix invalidation') rather than by structuring the two modes clearly. A short second clause separating the two use cases would cost little and add much.

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?

For a compound diagnostic tool with five undocumented parameters, no annotations, and no output schema, the description should explain the mode selection, the role of read_token, and the shape of the audit result. None of that is present, so an agent cannot reliably construct a correct call from this definition alone.

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

Parameters1/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 compensate and it does not. It loosely gestures at prompt_text/chunk_chars ('hash prompt chunks') and mcp_tools_json ('MCP tools/list JSON'), but cell_id and read_token — including whether they are required or how they relate — are never explained, and chunk_chars is never described as a window size.

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 sentence names two distinct operations (auditing MCP tools/list JSON for token bloat, and hashing prompt chunks across turns) and the diagnostic outcome (KV prompt-cache prefix invalidation), so an agent can grasp the general domain. But it presents them as an undifferentiated 'OR' without saying whether this is one tool with two modes or two separate capabilities, and the verb 'audit ... OR hash' is too abstract to pin down the actual action.

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 guidance on when to call this versus the sibling tools (traceflow_diff, traceflow_digest, traceflow_inspect_trace all sound adjacent to trace analysis), nor any precondition such as needing a cell_id or read_token first. The 'OR' hints at two usage paths but never states which inputs select which path, leaving the agent to guess.

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.