Skip to main content
Glama

rename_sheet

Renames a worksheet in an .xmind file using its index and a new title, with optional auto-save to persist 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>",
      "sheet_index": "<sheet_index>",
      "title": "<title>"
    },
    "name": "rename_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes新标题
auto_saveNo是否自动保存(默认 false)
file_pathYes.xmind 文件路径
sheet_indexYes工作表索引

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.3/5.0
Behavior2/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 nothing beyond that — it does not say what happens on an invalid sheet_index, whether a title collision is allowed, or how auto_save affects persistence. With annotations present the bar is lower, but the description contributes zero behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence with no wasted words, so it is maximally concise. However, that brevity comes at the cost of under-specification rather than efficiency — there is essentially nothing to structure. It is neither poorly written nor informative.

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 mutation tool with four parameters, an agent needs to know what state changes, whether the operation is reversible, and how auto_save interacts with persistence. None of that is present. Full schema coverage and the annotations partially compensate, but the description itself is too thin for a write operation on a user's file.

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 (file_path, sheet_index, title, auto_save) are already documented in the schema with Chinese descriptions. The tool description adds no meaning beyond that, which is acceptable given full coverage. Baseline 3 applies.

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

Purpose2/5

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

The description "重命名工作表" (rename a worksheet) simply restates the tool name rename_sheet in Chinese, adding no specificity about what is renamed or in what context. It does not distinguish this from siblings such as add_sheet, delete_sheet, or move_sheet beyond the obvious verb. This is effectively a tautology rather than a clarifying statement.

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 use this tool versus alternatives, no prerequisites, and no exclusions. An agent must infer from the name alone that this targets an existing sheet identified by sheet_index within an .xmind file. No conditions or edge cases are described.

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