Skip to main content
Glama

auto_number

Automatically number XMind nodes using decimal (1.2.3.) or hierarchical (1.1.1.) formats, replacing existing numbers.

Instructions

给节点自动编号:decimal 按每个父节点 1.2.3. 编号;hierarchical 按 1. / 1.1. / 1.1.1. 层级编号。已有编号会被替换。

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

Input Schema

NameRequiredDescriptionDefault
modeNo编号方式(默认 decimal)
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows this mutates the file; the description usefully adds the crucial detail that existing numbers are overwritten, which is behavior beyond what annotations convey. It does not mention auto-save/persistence side effects or whether unsaved changes are discarded, leaving a small gap for a mutating operation.

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 compact sentences, front-loaded with the action, then the mode semantics, then the overwrite caveat. No filler wording.

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 non-destructive-in-the-file-sense mutation with a fully documented 3-parameter schema and no output schema, the description covers purpose, mode semantics, and the overwrite consequence. It omits only scope (whole file vs. selection) and persistence behavior, which are minor given the rich schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description raises this by explaining the semantic effect of each 'mode' enum value, information the schema only hints at with '编号方式(默认 decimal)'. The auto_save and file_path parameters are left entirely to the schema, which already describes them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('auto-number nodes') and goes further by defining exactly what each of the two numbering modes produces (1.2.3. per parent vs 1. / 1.1. / 1.1.1. by hierarchy). No sibling in the catalog performs numbering, so the risk of confusion is low.

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?

The description gives the agent the information needed to choose between the two modes by describing their output formats, but it does not state when numbering is appropriate, whether it applies to the whole file or just a subtree, or any prerequisites. Clear context, no explicit exclusions.

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