Skip to main content
Glama

skein_dep_add_many

Add many typed dependency edges in one round-trip. Each item is independent — direction + type semantics match skein_dep_add. Cycle detection runs per-edge against the live graph state, so a batch of [A→B, B→A] of type=blocks persists A→B and fails B→A with dependency_cycle: order in items[] matters. Caps at 100 edges per call; result rows preserve input order. Per-row error codes: validation_error, issue_not_found (also for a target of another space or of a project you cannot see), dependency_already_exists, dependency_cycle (its path only if you see every issue on it), parent_already_set, serialization_retry (retryable), dependency_target_not_visible_yet (retryable), batch_deadline_exceeded / request_cancelled (the row did not report a commit — resend it; an edge that landed answers dependency_already_exists), internal_error.

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.

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": {
      "items": "<items>"
    },
    "name": "skein_dep_add_many"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesPer-row dependency edges. Min 1, max 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive write, and the description goes well beyond them: 100-edge cap, per-edge cycle detection against live graph state, partial-batch semantics ([A→B, B→A] persists one and fails the other), and retryable vs. non-retryable error codes including the subtle case where a resent edge answers dependency_already_exists. The only gap is it doesn't state auth/permission requirements for the batch.

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 and the critical ordering caveat, then errors, then sibling routing. Dense but each clause carries operational value; the long error-code enumeration is justified for a partial-success batch API, though it makes the description heavy to scan.

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?

No output schema exists, so the description must cover returns, and it does: per-row results preserve input order plus a full per-row error taxonomy with retryability and commit-uncertainty semantics. For a batch mutation with partial failure this is the information an agent needs to call and recover correctly.

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 baseline is 3; the description adds real meaning beyond the schema by explaining that items are independent but order-dependent due to live-graph cycle detection, and that result rows preserve input order. The 100-item cap it mentions is already in the schema's maxItems, so that part earns no extra credit.

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 many typed dependency edges") plus the batching scope ("in one round-trip"), which immediately distinguishes it from the singular skein_dep_add. It also ties type/direction semantics back to that sibling so an agent knows the per-row model matches.

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 explicit routing: prefer `parentId` on skein_create for new children, skein_reparent to move an existing issue, skein_dep_remove to drop an edge, and notes parent-child only ADDS a parent. Ordering guidance ("order in items[] matters") tells the agent how to sequence conflicting rows.

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.