Skip to main content
Glama

read_all

Read-only

Reads an XMind file to return the full node tree with embedded images, notes, labels, markers, hyperlinks, and style metadata for multimodal analysis.

Instructions

一步到位:读取节点树 + 图片 + notes/labels/markers/超链接/样式元数据。默认把每个图片节点的原图作为图片一起返回,交给多模态模型直接看。

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

Input Schema

NameRequiredDescriptionDefault
cleanNo是否去掉 📷/📝/🔖 等内部标记(默认 false)
file_pathYes.xmind 文件路径
max_depthNo只输出到该层级(可选,根主题为 L0)
max_nodesNo最多输出多少个节点,超出截断(可选)
image_modeNo图片处理方式:inline=返回原图(默认),off=不返回图片,只给节点结构
max_imagesNo最多内联多少张图(默认 8)
include_idsNo是否在每行后输出节点 ID(默认 true)
include_styleNo是否输出每个节点的样式属性(默认 false)
image_max_sideNo内联图片长边上限(默认 1024)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, and the description goes further by disclosing that original images are inlined by default for every image node so a multimodal model can consume them directly. It does not warn about payload size or cost when many images are inlined, which is the main missing behavioral caveat.

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, front-loaded with the all-in-one scope followed by the image-return behavior. No filler beyond the mildly promotional '一步到位' opener, and every clause carries information.

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 9-parameter, read-only tool with no output schema, the description covers what is returned and the key default (inline images), which is the main thing an agent needs to know before calling. Truncation limits and the style/ID toggles are left entirely to the schema, which is acceptable but leaves the return shape only partially framed.

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 nine parameters including image_mode defaults and the max_images default. The description only restates the default inline-image behavior, adding little meaning beyond the structured fields; baseline 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 enumerates the exact resources returned: node tree, images, and notes/labels/markers/hyperlinks/style metadata. The phrase '一步到位' signals this is the all-in-one read versus a structure-only read, but it never names read_structure or get_image, so sibling differentiation is implied rather than stated.

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?

There is no explicit when-to-use/when-not-to-use statement and no named alternative. The clause about returning original images 'for multimodal models to look at directly' implies the intended scenario, but an agent must infer that read_structure or get_image are the lighter-weight alternatives.

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