Skip to main content
Glama

update_node

Update a node's title or notes in an XMind mind map file; omitted fields remain unchanged.

Instructions

更新节点属性。传入 None 或省略的字段不会被修改。

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>"
    },
    "name": "update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo新备注(可选)
titleNo新标题(可选)
node_idYes要更新的节点 ID
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly=false, destructive=false, and openWorld=false, so the safety profile is covered. The description adds genuinely useful partial-update semantics — omitted or None fields are not modified — which prevents accidental overwrites. It does not explain whether auto_save persists changes to disk or what the call returns, leaving a gap for a mutation tool.

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, zero filler, with the core action front-loaded and the partial-update caveat immediately after. Nothing 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 5-parameter, fully described, non-destructive update tool with no output schema, the description covers purpose and patch semantics adequately. The only meaningful omissions are return behavior and the effect of auto_save, which are minor at this complexity.

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 every parameter is already documented in the schema; baseline is 3. The description adds one piece of meaning beyond the schema: all optional fields behave as a patch, so passing None or omitting a field preserves the existing value.

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 names a specific verb and resource ('更新节点属性' — update node properties), so the agent knows exactly what the tool does. It does not distinguish itself from siblings such as set_node_style, move_node, or batch_update_titles, which also mutate node state.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus the many sibling mutation tools, nor any stated exclusions or prerequisites. Usage is only implied by the word '更新' and the note that omitted fields are left untouched.

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