Skip to main content
Glama

export_text

Read-only

Exports an XMind mind map's node tree as a plain-text indented outline, with optional node IDs, for reading or processing map structure outside XMind.

Instructions

把 XMind 节点树导出为纯文本大纲(带缩进层级)。

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

Input Schema

NameRequiredDescriptionDefault
file_pathYes.xmind 文件路径
include_idsNo是否在每行后输出节点 ID(默认 false)

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 readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds the output structure (indented outline), but leaves unexplained whether the export is returned as a string or written to a file, and whether large trees are truncated — meaningful for a tool named 'export' whose only path parameter is an input .xmind file.

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?

A single front-loaded sentence stating verb, resource, and output format with no filler. Nothing in it is redundant with the tool name alone.

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?

For a two-parameter read-only tool this covers the essentials, and no output schema exists to carry return-value information. However, it says nothing about the export destination or return shape, which is the one thing an agent still needs to know before invoking it.

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 coverage is 100%, so both file_path and include_ids are already documented in the schema. The description adds no syntax, default, or effect details for include_ids, so it neither compensates nor detracts — 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 resource — exporting an XMind node tree — and states the exact output form (plain-text outline with indentation). An agent can distinguish it from export_markdown and export_svg by format, though the description never names those siblings explicitly.

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?

Usage is only implied: the agent must infer that this is the tool to pick when plain indented text is wanted rather than Markdown or SVG. There are no explicit when-to-use/when-not statements or named alternatives, but the format statement is enough to orient a reasonable choice.

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