Skip to main content
Glama

delete_dependency

Destructive

Deletes ONE dependency (arrow) by its id; the two blocks it linked are untouched. Returns an error, nothing deleted, if the id is unknown. The hierarchy arrow of a child block (id struct-{parentId}-{cellId}) is a dependency too; a block is normally re-parented with move_cell. No dry run and no undo besides restoring a saved version. The ids of a block's incoming and outgoing dependencies are read in get_cell_details. An arrow's type, label or appearance is changed by update_dependency, whereas deleting and recreating it would lose its history.

Input Schema

NameRequiredDescriptionDefault
idYesID of the dependency to delete
expectedProjectIdNoUUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / id / description
      Previous value: -"ID de la dépendance à supprimer"New value: +"ID of the dependency to delete"
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds the operational consequences: no dry run, no undo besides restoring a saved version, and an error with nothing deleted on unknown id. It also discloses the non-obvious edge case that hierarchy arrows (id struct-{parentId}-{cellId}) count as dependencies and that recreation loses history.

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 action and scope, then consequences, then alternatives. Dense but every clause carries a distinct fact; the final sentence about update_dependency and history is slightly long-winded but justifies its length by preventing accidental history loss.

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?

No output schema exists, and the description covers the failure case but not what a successful call returns (confirmation shape, deleted object). Otherwise the destructive semantics, id sourcing, and alternatives are all present for a 2-parameter mutation tool.

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 earns above that by documenting the composite id format for hierarchy arrows, which the schema only calls 'ID of the dependency to delete'. expectedProjectId is left entirely to the schema, so it is not a full 5.

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 ('Deletes ONE dependency (arrow) by its id') plus an explicit non-effect ('the two blocks it linked are untouched'), which immediately separates it from delete_cell and move_cell. The capitalized 'ONE' also signals it is a single-item operation, unlike batch siblings.

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 concrete routing rules: re-parent blocks with move_cell rather than deleting the hierarchy arrow, read dependency ids via get_cell_details, and use update_dependency to change type/label/appearance instead of delete-and-recreate. That is explicit when-to-use, when-not-to-use, and named alternatives.

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.