Skip to main content
Glama

get_node

Read-only

Retrieves complete details of a single XMind node—title, hierarchy, parent, notes, labels, links, image, style, and children—for inspection or editing.

Instructions

读取单个节点的完整信息:标题、层级、类型、父节点、路径、备注、标记、标签、超链接、图片、样式、子节点。

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": "get_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idYes节点 ID
file_pathYes.xmind 文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows this is a safe local read. The description's contribution is the return-field inventory, which is useful because no output schema exists, but it says nothing about error behavior for an invalid node_id or an unreadable file_path, nor whether the child list is recursive or shallow.

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?

One sentence, front-loaded with the core action and then a dense, well-ordered list of returned fields. No padding or redundant phrasing, though the list borders on being a bare enumeration of keys.

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?

With only two fully documented parameters and no output schema, the main completeness risk is unknown return contents — and the description addresses that by enumerating the fields returned. Remaining gaps (error cases, recursive children, whether images are URLs or binary) are minor for a simple read tool.

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% — both file_path and node_id are documented in the schema itself ('节点 ID', '.xmind 文件路径'). The description adds no additional meaning about the parameters, such as where valid node_id values come from, so the baseline of 3 applies.

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 ('读取单个节点' / read a single node) and then enumerates exactly what comes back — title, level, type, parent, path, notes, markers, labels, hyperlinks, images, style, children. That is far more specific than a restatement of the name. It does not, however, contrast itself with siblings such as find_node or get_preview, so an agent must infer which reader to pick.

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 when-to-use or when-not-to-use guidance, and no alternative tool is named. The only implicit signal is '单个节点', suggesting you must already have a node_id (e.g. obtained from find_node), but that prerequisite is never stated.

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