Skip to main content
Glama

Check Recorded Dead-Ends

check_dead_ends
Read-onlyIdempotent

Checks the anti-loop dead-end registry by error text, keyword, or file path so you can avoid repeating failed fixes before attempting new ones.

Instructions

Check the anti-loop dead-end registry by error text, keyword, or file path before attempting fixes.

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": {
      "project_path": "<project_path>"
    },
    "name": "check_dead_ends"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFilter by dead-end kind ('all', 'error_loop', 'architectural')all
limitNo
queryNoError message, symptom, or keyword to match
file_pathNoOptional workspace file path to match
project_pathYesAbsolute path to the project workspace root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already establish that this is read-only, idempotent, closed-world, and non-destructive. The description adds workflow context by calling it an anti-loop dead-end registry to check before fixes, but it does not describe return behavior or result limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single tightly written sentence with the main action and usage timing front-loaded. There is no unnecessary wording.

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

Completeness4/5

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

Adequate for a read-only filtered lookup tool with annotations covering safety and schema covering most parameters. It could be more complete by mentioning the result shape or the kind filter semantics, but the essential invocation guidance is present.

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 high at 80%, so the schema carries most parameter meaning. The description reinforces that querying is by error text, keyword, or file path, but it does not add detail on kind filtering, limits, or project_path beyond what the schema provides.

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 (check), a specific resource (anti-loop dead-end registry), and the lookup dimensions (error text, keyword, file path). It is distinguishable from write-oriented siblings such as record_dead_end and reopen_dead_end.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-to-use guidance with 'before attempting fixes,' which tells the agent this is a pre-fix lookup. It does not explicitly name alternatives or exclusions, so it falls short of the top score.

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