Skip to main content
Glama

remove_dependency

DestructiveIdempotent

Remove a dependency between two nodes in a Nodeon project. Use this to undo a dependency you added, or to break a link that turned out to be wrong. This is the counterpart to add_dependency.

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": {
      "project_id": "<project_id>",
      "source_node_id": "<source_node_id>",
      "target_node_id": "<target_node_id>"
    },
    "name": "remove_dependency"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe project ID.
source_node_idYesThe node the dependency points from (the dependency).
target_node_idYesThe node that currently depends on the source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the agent knows this mutates and removes state and that repeats are safe. The description adds the useful framing that only an existing link between two nodes is affected, but does not say what happens if the dependency does not exist, nor whether removal can orphan or unblock downstream nodes. Against annotated tools the bar is lower, so a 3 is appropriate.

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?

Three short sentences with the core action front-loaded and zero preamble. The second sentence's two clauses ('undo a dependency you added' and 'break a link that turned out to be wrong') are near-synonyms and could be collapsed without losing meaning, a minor redundancy.

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 simple three-required-parameter unlink operation, the description plus rich annotations (destructive, idempotent, closed-world) and fully documented schema cover everything needed to invoke it correctly. No output schema exists, but the return value of a removal is not something the agent must reason about to call it.

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

Parameters3/5

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

Schema description coverage is 100% and the schema itself disambiguates direction ('the dependency' vs 'the node that currently depends on the source'), so the heavy lifting is already done structurally. The description adds no directionality or ordering guidance beyond that, which is the baseline expectation when the schema is fully documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Remove a dependency between two nodes in a Nodeon project', which is unambiguous. It explicitly frames itself as 'the counterpart to add_dependency', orienting the agent against the most likely sibling confusion. It stops short of distinguishing itself from remove_constraint, another sibling in the catalog, so it is clear but not fully sibling-differentiated.

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

Usage Guidelines4/5

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

'Use this to undo a dependency you added, or to break a link that turned out to be wrong' gives a clear positive trigger condition. The counterpart framing further implies the alternative (add_dependency) to use when creating rather than removing links. There is no explicit exclusion, e.g. no statement about when to use remove_constraint instead, which keeps it from a 5.

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.