Skip to main content
Glama

acr_check_deadlock

Detects ping-pong dialogue cycles and semantic deadlocks in multi-agent runs, helping identify stalled interactions by run ID.

Instructions

Check multi-agent execution for ping-pong dialogue cycles and semantic deadlocks.

Args: run_id: The UUID or string ID of the agent run.

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": {
      "run_id": "<run_id>"
    },
    "name": "acr_check_deadlock"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses almost nothing beyond the check's target: it does not say whether the check is read-only, how expensive it is, what counts as a deadlock, or whether the run must be in a particular state. The presence of an output schema excuses it from describing return values, but the operational profile remains undocumented.

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 purpose sentence is front-loaded and free of filler. The 'Args:' block is slightly redundant for a single parameter already present in the schema, but it is short and harmless.

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?

For a low-complexity, single-parameter tool with an output schema, the definition covers the essentials of what is checked and what input it needs. It is not complete regarding safety profile, run preconditions, or how to source the run_id, which matters given the absence of annotations.

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

Parameters4/5

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

Schema coverage is 0% and the schema only labels the field 'Run Id', so the description's clarification that run_id accepts a UUID or a string ID adds real meaning. It stops short of telling the agent where to obtain a valid run_id (e.g. from acr_list_runs).

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 description gives a specific verb ('Check') and a specific target ('multi-agent execution for ping-pong dialogue cycles and semantic deadlocks'), which is materially more informative than the tool name alone. It is reasonably distinguishable from siblings like acr_diagnose_failure and acr_get_run_trace, though it never explicitly contrasts itself with 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 guidance on when to run this check versus alternatives such as acr_diagnose_failure, no stated prerequisites (e.g. the run must have finished), and no indication of when it is unnecessary. Usage is only implied by the verb 'Check'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.