Skip to main content
Glama
chyinan

MCP Word Commander

by chyinan

insert_paragraph_after

Insert a new paragraph after a given paragraph index in a Word document, with full formatting control including font, alignment, indentation, and line spacing.

Instructions

在指定段落之后插入新段落。

Args: file_path: 文档路径 after_index: 在此段落索引之后插入 (0-based) text: 新段落内容 font_name: 字体名称 font_size: 字号 (pt) is_bold: 是否加粗 alignment: 对齐方式 indent_first_line: 首行缩进字符数 line_spacing: 行距 (pt)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
is_boldNo
alignmentNoLEFT
file_pathYes
font_nameNoSimSun
font_sizeNo
after_indexYes
line_spacingNo
indent_first_lineNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations exist, so the description must fully disclose behavior. It mentions insertion but lacks details on side effects (e.g., shifting indices, file saving) or error handling. The operational impact is not clearly communicated.

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, listing parameters with explanations in a structured format. It front-loads the purpose. However, the line-by-line list could be more streamlined for an agent, but it is not overly verbose.

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?

Given the tool's complexity (9 parameters, write operation) and the existence of an output schema, the description covers parameter semantics but misses error conditions, prerequisites, and context relative to sibling tools. It is adequate but not comprehensive.

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?

With 0% schema description coverage, the description adds significant value by explaining each parameter's role (e.g., 'after_index: 0-based index to insert after'). However, it omits constraints like file_path validity and index bounds, so it's not perfect.

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 action ('insert') and the resource ('paragraph after the specified paragraph'). It effectively differentiates from sibling tools like 'add_formatted_paragraph' and 'replace_paragraph' by focusing on insertion at a specific index.

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 alternatives (e.g., 'add_formatted_paragraph' for different formatting needs). No prerequisites or context provided, such as the document needing to exist or the after_index must be within bounds.

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