Skip to main content
Glama
chyinan

MCP Word Commander

by chyinan

read_document_structure

Read Word document paragraphs and their style information, with pagination for large files.

Instructions

分段读取 Word 文档的内容和样式信息。支持分页读取大文档。

Args: file_path: 文档路径 start_index: 从第几个段落开始读取 (0-based) limit: 最多读取多少个段落 (默认50) include_empty: 是否包含空段落 (默认False)

Returns: JSON 格式的字符串,包含段落文本和对应的样式信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
file_pathYes
start_indexNo
include_emptyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries full burden. It mentions paginated reading and return type (JSON string with text and style), but does not disclose potential side effects, error conditions, or authorization requirements. The read-only nature is implied but not explicit.

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?

Extremely concise: two short paragraphs, the first states the purpose, the second lists parameters. Every sentence is functional and earns its place. No wasted words.

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?

Given 4 parameters and existence of an output schema, the description sufficiently describes the tool's capability and return format (JSON with text and style). It does not detail the output schema, but that is expected to be defined separately. Minor omission: lacks description of what 'style information' includes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description adds clear meaning for all four parameters, including defaults, 0-based indexing for start_index, and explanation of include_empty. This goes well beyond the schema which only provides type and title.

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

Purpose5/5

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

The description clearly states the tool reads Word document content and style information in segments, with explicit verb ('读取') and resource ('Word 文档'). It distinguishes itself from sibling tools that are write operations (e.g., add, delete, replace) by focusing on reading.

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?

No guidance on when to use this tool versus sibling read tools (e.g., get_document_info, read_images, read_tables). No exclusions or when-not-to-use information provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chyinan/MCP-Word-Commander'

If you have feedback or need assistance with the MCP directory API, please join our Discord server