Skip to main content
Glama

mechacut

loop_doom_check

Judge a tool-call trace for blind repetition: DOOM (runs of >= doom_min identical consecutive calls, identity on canonical bytes so key order never hides a loop), CYCLIC (a period 2-6 repeated >= cycles_min whole times), STORM (a call appearing >= storm_min times scattered), or HEALTHY. All signals reported, verdict is the most severe present; thresholds echoed, ceilings named. Motions belong to the harness; the verdict is mechanics, and mechanics belong here. Free.

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": {
      "calls": "<calls>"
    },
    "name": "loop_doom_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
callsYes
doom_minNo
storm_minNo
cycles_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: identity is computed on canonical bytes so key ordering cannot mask a loop, all detected signals are reported rather than just the top one, the verdict is the most severe present, and thresholds are echoed back with ceilings named. It falls short of specifying the response shape or limits on trace size, but the core mechanics are unusually well exposed.

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?

The text is dense and front-loaded: the four verdict definitions come first, then aggregation policy, then scope. Every clause carries signal, though the closing 'Motions belong to the harness; the verdict is mechanics' and the bare 'Free.' are terse to the point of opacity for a first-time reader.

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?

Given a four-parameter tool with 0% schema coverage, no annotations, and no output schema, the description covers the detection semantics well but leaves the shape of the 'calls' entries and the returned report structure underspecified. Adequate to call correctly in spirit, but not fully self-contained.

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% with four parameters, so the description must compensate. It does define the three threshold parameters by name and role (doom_min for consecutive runs, cycles_min for period repetition, storm_min for scattered occurrences), but it never explains the 'calls' array's required 'tool' field or that 'args' participates in canonical-byte comparison.

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

Purpose5/5

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

States a specific verb and resource ('Judge a tool-call trace') and then enumerates the exact verdict classes (DOOM, CYCLIC, STORM, HEALTHY) with their defining conditions. An agent can tell this is a trace-repetition analyzer, not a generic 'check_*' sibling, without opening the schema.

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?

'Motions belong to the harness; the verdict is mechanics, and mechanics belong here' gives a scope boundary, implying this tool judges mechanical repetition while intent/behavioral judgments are elsewhere. However, no sibling is named, no explicit when-not or prerequisite is stated, and 'Free' is the only cost guidance; the routing guidance is implied rather than explicit.

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.