Skip to main content
Glama

Delete mind map nodes

delete_nodes
DestructiveIdempotent

Delete mind map nodes and all descendants plus attached connectors in Mapache. The main map's central idea cannot be deleted. Use only on request; returns the number removed.

Instructions

Delete mind map nodes and every node under them, plus the connectors attached to them (comments pinned to them stay, unpinned). The central idea of the main map cannot be deleted. Only when the person asks; they can undo it in the app with Ctrl+Z. Returns how many nodes were removed. To change a node instead use update_nodes.

Input Schema

NameRequiredDescriptionDefault
boardYesBoard id or title. Use "open" for the board the person has open in the app
nodesYesNodes to delete: ids (from read_board), exact texts or paths like "Central idea > Branch"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.3
    • changedInput schema / properties / nodes / description
      Previous value: -"Node ids or texts"New value: +"Nodes to delete: ids (from read_board), exact texts or paths like \"Central idea > Branch\""
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description adds substantive behavior an agent cannot infer: deletion is recursive over descendants and connectors, comments pinned to deleted nodes survive while unpinned ones do not, the main map's central idea is protected, the action is user-undoable via Ctrl+Z, and the result reports a count. That goes well beyond the structured safety hints.

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 destructive scope and dense with information in only four sentences — very little waste. The parenthetical 'comments pinned to them stay, unpinned' is compressed to the point of ambiguity about what happens to unpinned comments, costing a point.

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 destructive, no-output-schema tool, the description covers the cascade, the protected central idea, the comment side effect, the undo path, and the return value ('Returns how many nodes were removed'). Nothing essential for calling it correctly is missing despite the absence of an output schema.

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%, so both `board` and `nodes` are already documented with formats and the 'open' sentinel. The description adds no syntax or format detail beyond the schema; the only relevant extra is the central-idea restriction, which is a constraint rather than parameter semantics. Baseline 3 applies.

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+resource (delete nodes) and immediately scopes it with cascade semantics ('every node under them, plus the connectors attached to them'). It also names the sibling to use for the opposite operation ('update_nodes'), so an agent can distinguish it from update_nodes, delete_items, and delete_board without opening any schema.

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 an explicit usage gate ('Only when the person asks'), names the alternative for a non-destructive need ('To change a node instead use update_nodes'), and notes the escape hatch ('they can undo it in the app with Ctrl+Z'). When, when-not, and alternative are all present.

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