Skip to main content
Glama

export_svg

Converts XMind node trees into schematic SVG files for visual style review; use separate style analysis for structured feedback.

Instructions

把节点树导出为示意图 SVG 文件(用于人工查看美化效果;模型可继续用 analyze_style 获取结构化反馈)。

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

Input Schema

NameRequiredDescriptionDefault
file_pathYes.xmind 文件路径
output_pathNoSVG 输出路径(可选,默认与源文件同名的 .svg)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the write-to-local-disk profile is largely covered; the description adds that the artifact is a visual schematic for human inspection. It does not disclose overwrite behavior for output_path or what is returned after writing, which is the kind of detail annotations cannot convey.

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 compact sentence with the action and format front-loaded and the audience/alternative clause second; no redundant restatement of the tool name or of schema fields.

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 two-parameter export tool with full schema coverage and annotations covering safety, the description supplies the missing 'why' (human visual check) and the routing hint to analyze_style. Only the post-write return behavior is left unstated, which is minor given there is no output schema.

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 and output_path (including the default naming convention) are already documented in the schema. The description adds no syntax, path-format, or constraint detail beyond that, which is the expected baseline when the schema does the heavy lifting.

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?

States a specific verb and resource ('把节点树导出为示意图 SVG 文件'), and pins the output format as SVG, so it is separable from the export_markdown/export_text siblings by name and format. It also explicitly contrasts itself with analyze_style, though it does not spell out the difference from the other export tools beyond the format word.

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

Usage Guidelines4/5

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

Gives a clear context of use ('用于人工查看美化效果') and names an alternative for the different need ('模型可继续用 analyze_style 获取结构化反馈'). It does not state when exporting SVG is inappropriate or what happens if output_path already exists, so exclusions are missing.

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