Skip to main content
Glama

remove_boundary

Destructive

Delete a boundary from an XMind mind map by its boundary ID, optionally auto-saving the .xmind file after removal.

Instructions

按 ID 删除一个边界。

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>",
      "boundary_id": "<boundary_id>"
    },
    "name": "remove_boundary"
  }
}

Input Schema

NameRequiredDescriptionDefault
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径
boundary_idYes边界 ID

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 declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. Beyond that the description adds nothing: it does not say whether only the boundary element is removed or whether enclosed nodes are affected, what happens on an unknown boundary_id, or how auto_save=false changes persistence. For a destructive mutation this is thin.

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 and identifier front-loaded and zero filler. It is efficient, though the terseness borders on under-specification rather than disciplined conciseness.

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, file-mutating tool with no output schema, the description supplies no information about effects, failure modes, or persistence behavior. An agent could call it correctly on syntax alone but cannot predict consequences or handle errors from what is written here.

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 three parameters (file_path, boundary_id, auto_save) are already documented in the schema, and the baseline of 3 applies. The description only restates 'by ID', adding no new meaning such as where boundary IDs come from or how auto_save interacts with the deletion.

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 plus resource ('删除一个边界') and adds the lookup key ('按 ID'), which distinguishes it from the sibling removers that act on labels, markers, or relationships. It stops short of explicitly naming those siblings as alternatives, but the resource noun alone is enough for an agent to identify the operation.

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 guidance on when to choose this over remove_label/remove_marker/remove_relationship, no note that a boundary_id must first be obtained from a read or analysis tool, and no precondition such as the file needing to exist. The agent is left to infer everything about context from the tool name.

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