Skip to main content
Glama

remove_thread_dependency

DestructiveIdempotent

Remove a dependency edge between two threads, detaching one thread from another so it no longer depends on it. Requires thread:transition.

Instructions

Remove one dependency edge: thread_id no longer depends on depends_on_thread_id. Requires thread:transition.

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": {
      "thread_id": "<thread_id>",
      "depends_on_thread_id": "<depends_on_thread_id>"
    },
    "name": "remove_thread_dependency"
  }
}

Input Schema

NameRequiredDescriptionDefault
thread_idYes
depends_on_thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and readOnly=false, so the safety profile is covered. The description adds real value beyond them by disclosing the required permission scope (thread:transition) and clarifying that only a single edge is deleted rather than the threads themselves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the effect and followed by the permission requirement; nothing is redundant.

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 two-parameter mutation tool with full annotation coverage, the description supplies effect, edge direction and authorization. Only edge-case behavior (missing edge, cross-workspace edges) is left unstated, which is minor given idempotentHint.

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 0%, so the description carries the full burden, and it does explain the semantic roles: thread_id is the dependent and depends_on_thread_id is the prerequisite being unlinked. What remains unsaid is behavior when the edge does not exist, though idempotentHint covers it implicitly.

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 one dependency edge') and defines the exact relationship removed: thread_id no longer depends on depends_on_thread_id. The 'one edge' phrasing plus the explicit direction distinguishes it from add_thread_dependency without naming it.

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?

The prerequisite 'Requires thread:transition' tells the agent what permission is needed before calling, which is useful. However, there is no explicit statement of when to use this versus alternatives such as add_thread_dependency or list_thread_dependencies, so usage is only implied by the verb.

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

Deploy Server

Other Tools