Skip to main content
Glama
chyinan

MCP Word Commander

by chyinan

insert_table_after_paragraph

Insert a table after a specified paragraph in a Word document, defining rows, columns, and cell data with optional header formatting.

Instructions

在指定段落之后插入表格。

Args: file_path: 文档路径 after_index: 在此段落索引之后插入表格 (0-based) rows: 表格行数 cols: 表格列数 data: 二维数组,包含要填充的数据 [['Header1', 'Header2'], ['Val1', 'Val2']] header_bold: 第一行是否加粗 (默认True) style: 表格样式 (默认 "Table Grid")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colsYes
dataYes
rowsYes
styleNoTable Grid
file_pathYes
after_indexYes
header_boldNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It does not mention potential errors (e.g., invalid after_index), side effects on existing content, required permissions, or the return value. Only the basic action is described.

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 and starts with a clear purpose sentence, followed by a well-structured args list. It is appropriately sized for the complexity, though some parameter descriptions repeat default information that is already in the schema.

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?

Output schema exists but the description does not mention what the function returns (e.g., the created table object). Additionally, error handling and edge cases (e.g., out-of-bounds after_index) are not covered. For a 7-parameter tool, the description is adequate but has notable gaps.

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 description coverage is 0%, but the description explains each parameter in Chinese, adding meaning beyond the schema's type and default values. For example, it clarifies that after_index is 0-based, data is a 2D array, and includes defaults for header_bold and style. This compensates well for the lack of schema descriptions.

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 clearly states the purpose: inserting a table after a specified paragraph. The verb 'insert' and resource 'table' are specific. However, it does not explicitly distinguish itself from sibling tools like 'create_table_with_data' or 'add_table_row', which could cause confusion about when to use each.

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 is provided on when to use this tool versus alternatives. There is no mention of exclusions, prerequisites, or scenarios where other tools might be more appropriate. The description only explains the tool's action.

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