Skip to main content
Glama

add_summary

Adds a summary to a continuous range of direct child nodes under a specified parent in an XMind map, letting you group and label related subtopics by start and end node IDs.

Instructions

给父节点的连续子节点区间添加概要(summary)。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_summary"
  }
}

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.5/5.0
Behavior3/5

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

Annotations already establish this is a non-read-only, non-destructive, non-open-world mutation, and the description adds the sibling-membership constraint. It does not disclose whether the file is persisted automatically (the auto_save parameter suggests it may not be), what happens to existing summaries on those nodes, or what is returned.

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?

Two short sentences, the core action first and the constraint second, with no filler. Slightly terse given the tool mutates a file, but nothing is wasted.

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?

For a 6-parameter mutation with no output schema, the definition covers what is created and where, but leaves persistence semantics (auto_save) and error behavior for invalid ranges implicit. Adequate to invoke correctly in the happy path, thin for edge cases.

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, but the description goes beyond the schema by constraining start_id/end_id to direct children of parent_id — a validity rule the schema does not state. Title's default and auto_save behavior remain documented only in the schema.

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 states a specific verb (添加/add) and resource (概要 for a contiguous range of a parent's child nodes), so the operation is unambiguous. It does not name or contrast with siblings such as add_node or add_label, but the range-based semantics already differentiate it.

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?

It supplies a real precondition — start_id and end_id must be direct children of parent_id — which tells the agent when the call is valid. It says nothing about when to prefer this over related tools (e.g. add_node, add_label) or what to do if the range spans non-sibling nodes.

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