Skip to main content
Glama

export_markdown

Read-only

Converts an XMind file into a Markdown outline, preserving node hierarchy for documentation, notes, or LLM workflows. Optionally appends node IDs to headings.

Instructions

把 XMind 节点树导出为 Markdown 大纲。

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_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes.xmind 文件路径
include_idsNo是否在标题后附加 ID(默认 false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.9/5.0
Behavior2/5

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

The annotations already establish this as a safe, non-open-world read, and the description is consistent with that, but adds nothing further. Critically, it never says where the Markdown goes: the only path parameter is the input .xmind file, so whether the result is returned as text, written next to the source, or printed is left ambiguous, and side effects such as overwriting an existing .md file are undisclosed.

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?

A single short sentence with the action front-loaded and zero filler. It is efficient, though its brevity shades into under-specification given the unresolved question of output destination.

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

Completeness2/5

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

For a two-parameter conversion tool with no output schema, the description should at minimum state whether the Markdown is returned or persisted and how include_ids affects the result. Neither is covered, so an agent cannot predict the tool's return behavior or side effects before calling 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 description coverage is 100%, so both file_path (.xmind path) and include_ids (append ID after headings, default false) are already documented in the schema. The description adds no format hints, no default behavior notes, and no clarification of what an 'ID' means, so 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 gives a specific verb and resource plus an output format: exporting an XMind node tree to a Markdown outline. This is clearly a read/convert operation, but it never contrasts itself with the sibling exporters export_text and export_svg, so the agent must infer the format distinction on its own.

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 when-to-use guidance at all: nothing tells the agent to pick this over export_text or export_svg, no prerequisite about the input file existing or being a valid .xmind file, and no mention of what happens if the target path is invalid. Usage is entirely implied by the tool name.

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