Skip to main content
Glama

move_node

Move a node to a new parent within an XMind map, optionally placing it before or after a sibling for precise ordering.

Instructions

把节点移动到新的父节点下,可用 before_id/after_id 指定插入位置。

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": {
      "file_path": "<file_path>",
      "node_id": "<node_id>",
      "new_parent_id": "<new_parent_id>"
    },
    "name": "move_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYes要移动的节点 ID
after_idNo插到该兄弟节点之后(可选)
auto_saveNo是否自动保存(默认 false)
before_idNo插到该兄弟节点之前(可选)
file_pathYes.xmind 文件路径
new_parent_idYes新父节点 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only but non-destructive operation. The description adds the key behavioral detail that the node is moved under a new parent and can be positioned relative to siblings, but it omits auto_save behavior, subtree effects, and return behavior.

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?

The description is a single concise sentence with the core action front-loaded and no unnecessary wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the fully documented schema and annotations, the definition covers the core operation adequately. Still, for a mutation tool with six parameters, it leaves notable gaps around auto_save, omitted positioning behavior, and what happens with invalid or circular moves.

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 the schema already documents all six parameters. The description mentions before_id/after_id, but this only repeats the schema rather than adding new meaning such as default placement when they are omitted.

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 states a specific verb and resource: moving a node under a new parent, with optional insertion position. It is clear what the tool does, but it does not explicitly differentiate itself from siblings such as update_node or duplicate_node.

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 description implies the tool is used when relocating a node and notes that before_id/after_id can set insertion position. However, it gives no explicit when-to-use guidance versus alternatives, no prerequisites, and no exclusions such as circular moves.

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