Skip to main content
Glama

list_sheets

Read-only

Lists every worksheet in an XMind file, returning each sheet's index, title, root topic, and node count so you can inspect workbook structure before reading or editing.

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

Input Schema

NameRequiredDescriptionDefault
file_pathYes.xmind 文件路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile and local-only scope are covered. The description contributes beyond them by disclosing the shape of each returned entry (index, title, root topic, node count), which matters because no output schema exists.

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?

One front-loaded sentence: the action first, then the returned fields after the colon. There is no redundancy or filler, and every clause carries information.

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

Completeness4/5

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

For a single-parameter read-only tool without an output schema, the description covers the essentials: what is listed and what each entry contains. Minor gaps remain around error behavior for an invalid or missing .xmind path, which an agent would otherwise have to discover by invoking it.

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?

There is a single parameter, file_path, at 100% schema description coverage (".xmind 文件路径"), so the schema already carries the semantics. The description adds nothing about path format or validation, which is acceptable at this coverage level but earns only the baseline.

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 uses a specific verb and resource ("列出文件中的所有工作表") and even enumerates what each listed sheet contains (index, title, root topic, node count). This clearly separates it from mutating siblings such as add_sheet and delete_sheet, though it never names a sibling explicitly.

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 definition implies its use case: fetch the sheet inventory for an .xmind file, presumably to obtain indices before addressing a specific sheet. It states no explicit when-to-use conditions, no prerequisites (for example, the file must exist), and no pointer to alternatives such as analyze_file or get_preview.

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