Skip to main content
Glama
chyinan

MCP Word Commander

by chyinan

update_table_cell

Update a specific cell in a Word document table with new text. Optionally change font name, size, or bold style.

Instructions

修改表格中指定单元格的内容。

Args: file_path: 文档路径 table_index: 表格索引 (0-based) row: 行索引 (0-based) col: 列索引 (0-based) new_text: 新的单元格内容 font_name: 字体名称 (可选) font_size: 字号 pt (可选) is_bold: 是否加粗 (可选)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colYes
rowYes
is_boldNo
new_textYes
file_pathYes
font_nameNo
font_sizeNo
table_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only lists parameters without mentioning side effects, error conditions, or whether the modification is destructive. The description does not indicate what happens if the cell or file does not exist.

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?

The description is concise, with the purpose stated upfront followed by a parameter list. It could be slightly more streamlined by omitting the 'Args:' header, but overall it is efficient.

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?

Given the tool's complexity (8 parameters, 5 required) and the presence of an output schema, the description still lacks completeness. It does not explain behavior for edge cases, potential errors, or that it modifies the document in place.

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 0%. The description adds minimal context by listing each parameter with a brief explanation (e.g., '0-based' indexing for indices). This adds value beyond the schema, but the descriptions are very basic and mostly repeat parameter names.

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's purpose: '修改表格中指定单元格的内容' (modify the content of a specified cell in a table). It specifies a specific verb and resource, and it is distinct from sibling tools like add_table_row or delete_table_row.

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention any prerequisites, exclusions, or context for appropriate use.

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