Skip to main content
Glama

remove_label

Destructive

Removes a specified label from an XMind node in a .xmind file, with optional auto-save after the change.

Instructions

移除节点的一个标签。

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>",
      "node_id": "<node_id>",
      "label": "<label>"
    },
    "name": "remove_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYes要移除的标签文本
node_idYes节点 ID
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径

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?

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered externally. However, the description adds nothing beyond them: it does not say whether removal affects only this node or others sharing the label, whether the call errors when the label is absent, or what auto_save does in a destructive flow — meaningful context for a mutation tool.

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 front-loaded sentence with zero padding. It is efficient, though efficiency here is partly a byproduct of under-specification rather than deliberate pruning.

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 destructive mutation on a .xmind file with four parameters and no output schema, one sentence is not enough. Nothing explains failure modes, idempotency, or the effect of auto_save, leaving the caller to infer behavior from the schema alone.

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 all four parameters including auto_save are documented in the schema itself. The description adds no meaning beyond the schema, so the 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?

States a specific verb+resource: remove a label from a node. An agent can understand the action without opening the schema, but the description makes no attempt to distinguish it from siblings such as add_label or the various remove_* tools.

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?

No when-to-use guidance, no preconditions (does the label need to exist on the node? does it need to exist in the workbook?), and no pointer to alternatives like add_label. The name alone implies the context.

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