Skip to main content
Glama

skein_dep_remove

Destructive

Remove a typed dependency edge — the inverse of skein_dep_add and the cleanup path when an edge was added by mistake or a relationship no longer holds. Identifies the edge by the composite (fromId, toId, type) and writes a dependency.deleted audit row.

To MOVE a parent-child edge (re-parent an issue) use skein_reparent instead — it atomically replaces the parent. skein_dep_remove only deletes.

Returns dependency_not_found when no edge matches the tuple (not a silent success — a stale dep list is surfaced so the caller re-reads).

Refuses with close_outcome_link_required (nothing removed) when the edge is the LAST one behind a close outcome: the last duplicates edge FROM an issue closed as duplicate, or the last supersedes edge TO an issue closed as superseded. The error names that issue only when you can see it. Change that issue's closeOutcome or reopen it first; with another edge of the same type and direction left, the removal goes through.

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": {
      "fromId": "<fromId>",
      "toId": "<toId>",
      "type": "<type>"
    },
    "name": "skein_dep_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
toIdYesFull hierarchical id of the TO-side issue (e.g. "billing-9").
typeYesDependency type of the edge to remove.
fromIdYesFull hierarchical id of the FROM-side issue (e.g. "demo-42").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the destructiveHint annotation: it discloses that an audit row (`dependency.deleted`) is written, that a missing edge surfaces as `dependency_not_found` rather than a silent success, and details the `close_outcome_link_required` refusal including the direction-specific conditions (last `duplicates` edge FROM, last `supersedes` edge TO) and the remediation. This is behavior an agent could not infer from annotations or schema.

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?

Front-loads purpose, then alternatives, then error semantics in short paragraphs — good ordering with no filler sentences. It is somewhat long, and the final refusal paragraph is dense, but every clause conveys operationally relevant information.

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?

For a three-parameter destructive mutation with no output schema, the description covers the mutation's side effect, the failure modes, and the precondition that blocks deletion. The only light gap is that it does not say what a successful return looks like beyond the audit row, but with no output schema required that is minor.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning beyond the schema: the three parameters act as a composite key for one edge, and direction is semantically load-bearing (duplicates counts FROM, supersedes counts TO). It also notes the match must be exact — a partial tuple yields `dependency_not_found`.

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 ("Remove a typed dependency edge") and pins down what identifies the target — the composite (fromId, toId, type). It also positions itself against siblings by calling itself the inverse of skein_dep_add, so the agent can distinguish it without reading other schemas.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use (cleanup after a mistaken edge or a relationship that no longer holds) and an explicit when-not-to with the named alternative: "To MOVE a parent-child edge ... use skein_reparent instead ... skein_dep_remove only deletes." That is the exact routing decision an agent needs.

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.