Skip to main content
Glama

skein_dep_add

Add a typed dependency edge between two issues (blocks, waits-for, related, discovered-from, supersedes, duplicates, parent-child). The PRIMARY way to express ANY relationship between issues — always this or skein_create({dependencies:[...]}), never a free-text ref ("depends on X", "see also Y", "requires Z") in description / acceptance / notes / design: prose is invisible to the dependency graph, skein_ready gating, the UI Dependencies section and close-time warnings.

parent-child only ADDS a parent (parent_already_set if one exists); prefer parentId on skein_create for new children, skein_reparent to move an existing issue, skein_dep_remove to drop an edge.

gate is accepted only on type=waits-for, optional there; it is stored but not evaluated — readiness waits for to itself to close, not for its children. Cross-project edges are allowed within one space if you can see both projects; a target of another space or of a project you cannot see answers issue_not_found, exactly as a nonexistent one; a cycle returns dependency_cycle (its path only if you see every issue on it). Type table and direction semantics: skein_get_instructions ("Dependency edge types").

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_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
gateNoOnly on type=waits-for; optional. Stored with the edge but NOT evaluated today: skein_ready holds the from-side until the target itself is closed or standing, whatever its children's state.
toIdYesFull hierarchical id of the TO-side issue (e.g. "billing-9"). May be in a different project.
typeYesDependency type; direction is canonical per type (read as from → to): blocks = from is blocked by to · waits-for = from waits on to (optional `gate` stored, not evaluated) · related = symmetric · discovered-from · supersedes · duplicates · parent-child = from is the child of to. Full table in skein_get_instructions ("Dependency edge types").
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 cover only the safety profile (non-read-only, non-idempotent, non-destructive), and the description goes well beyond them: gate is stored but not evaluated, parent-child only adds a parent, and specific failure modes (parent_already_set, issue_not_found for cross-space or invisible targets, dependency_cycle with path visibility caveat) are disclosed.

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 the purpose and the primary-usage rule, then caveats. It is dense — long parenthetical and error-code clauses — but nearly every clause carries actionable information; only the repeated type enumeration (also in the schema) is mildly redundant.

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 four-parameter mutation tool with no output schema, the description covers direction, gating semantics, structural constraints, alternatives, and error outcomes — everything an agent needs to call it correctly without trial and error.

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; the description adds real meaning by explaining direction per type (from → to) and the cross-project constraint on toId. It still defers the full type table to skein_get_instructions rather than restating it, which is reasonable but leaves direction semantics partly external.

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 ('Add a typed dependency edge between two issues') and enumerates the seven edge types inline. It immediately distinguishes itself from prose references and from the create-with-dependencies path, so an agent knows exactly what this call does.

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?

Explicitly declares itself the PRIMARY way to express relationships and names the alternatives: skein_create({dependencies:[...]}) for new children, skein_reparent to move an existing issue, skein_dep_remove to drop an edge, and parentId on create. It also states the exclusion — never free-text refs — and why (prose is invisible to gating/UI/close warnings).

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.