Skip to main content
Glama

Reopen Dead-End Record

reopen_dead_end
Idempotent

Reopen a previously recorded dead-end when constraints, dependencies, or requirements change, marking that approach viable again so the agent can retry it.

Instructions

Reopen a previously recorded dead-end when external constraints, dependencies, or requirements change.

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>",
      "id": "<id>",
      "reason": "<reason>"
    },
    "name": "reopen_dead_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the dead-end record to reopen
reasonYesWhy this approach is now viable again
project_pathYesAbsolute path to the project workspace root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, idempotent mutation, so the safety profile is covered structurally. The description adds the semantic trigger for the mutation but says nothing about the resulting state of the record (does it become active again?), whether reopening preserves prior history, or whether any precondition on the record's current status applies.

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?

A single front-loaded sentence with no filler or redundancy; every clause earns its place. It is perhaps too lean for a mutation tool, but as pure prose economy it is clean.

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?

The tool is simple — three required string parameters, no nested objects, no output schema, and annotations covering safety and idempotency. Still, for a state-changing operation the description never states what reopening actually does to the record, which is the one piece of information an agent cannot derive from the structured fields.

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 100% — id, project_path, and reason are each documented in the schema, including "why this approach is now viable again" for reason. The description adds no additional meaning about parameter formats or constraints, so the schema carries the full load and the baseline 3 applies.

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 pairs a specific verb ("Reopen") with a specific resource ("a previously recorded dead-end"), which is unambiguous about what the tool does. It does not, however, name or distinguish itself from siblings such as record_dead_end (the inverse operation) or check_dead_ends (the listing operation), leaving the agent to infer the pairing.

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 a concrete triggering condition — external constraints, dependencies, or requirements changed — which is a real when-to-use cue rather than nothing. It stops short of stating when not to use it or naming the alternative (e.g., recording a fresh dead-end instead of reopening an old one), so routing between siblings remains inferred.

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