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?

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real behavioral detail beyond them: an audit row (`dependency.deleted`) is written, a miss returns `dependency_not_found` rather than silent success, and the close-outcome guard returns `close_outcome_link_required` with nothing removed. That is exactly the extra context a destructive tool needs.

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-loaded with purpose, then alternative, then failure modes — a sensible ordering with no filler sentences. The final close-outcome paragraph is dense and slightly long, but every clause carries operational information.

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

Completeness5/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 identity, side effects, error codes, and the one non-obvious refusal rule. Nothing an agent needs to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: the three fields form a tuple that must match exactly, and direction matters ('duplicates edge FROM an issue', 'supersedes edge TO an issue'). That directional semantics is not derivable from the field docs alone.

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?

Opens with a specific verb and resource: 'Remove a typed dependency edge', then pins identity to the composite (fromId, toId, type). It explicitly frames itself as the inverse of skein_dep_add, so the agent can place it against the add sibling immediately.

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?

States the use case (edge added by mistake, or relationship no longer holds) and names the alternative for the adjacent operation: 'To MOVE a parent-child edge ... use skein_reparent instead — it atomically replaces the parent.' It also covers the refusal case and the remedy ('Change that issue's closeOutcome or reopen it first').

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.