Skip to main content
Glama

add_boundary

Adds a visual boundary around a continuous range of direct child nodes under a parent in an XMind mind map to group related subtopics.

Instructions

给父节点的连续子节点区间添加边界(boundary)。start_id/end_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>",
      "parent_id": "<parent_id>",
      "start_id": "<start_id>",
      "end_id": "<end_id>"
    },
    "name": "add_boundary"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo边界标题(可选)
end_idYes区间终点子节点 ID
start_idYes区间起点子节点 ID
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径
parent_idYes父节点 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/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 safety profile is covered structurally. The description adds a real validation constraint (both endpoints must be direct children), but it says nothing about what happens when the constraint is violated or how the auto_save default of false affects persistence of the mutation.

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 short sentences, zero filler, with the core action first and the hard constraint second. Every sentence carries information needed to invoke the tool correctly.

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

Completeness3/5

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

With six parameters, 100% schema coverage and annotations covering the safety profile, the definition is workable. However, for a write tool with no output schema, it does not say what is returned or what the failure mode looks like when the endpoint constraint is not met, leaving a real gap.

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 goes beyond it by adding a relational constraint that ties start_id and end_id to parent_id as direct children, which the schema text does not state. It still says nothing about title or auto_save semantics, hence not a 5.

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: add a boundary over a contiguous range of child nodes under a parent node. This is clearly distinct from the sibling remove_boundary, but it does not explicitly name or contrast with that sibling, so it is a strong clear statement rather than a fully distinguishing one.

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

Usage Guidelines3/5

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

The only guidance offered is an implied precondition: start_id and end_id must be direct children of the parent node. There is no explicit statement of when to use this tool instead of alternatives, no prerequisite or permission guidance, and no exclusions.

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