Skip to main content
Glama

merge_table_cells

Merges a range of cells within a specified table in a DOCX document. Provide table index and cell coordinates to combine multiple cells into one.

Instructions

Merge cells in a DOCX table

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_colYesEnd column (0-based)
end_rowYesEnd row (0-based)
file_pathYesAbsolute path to the .docx file
start_colYesStart column (0-based)
start_rowYesStart row (0-based)
output_pathNoSave to different path
table_indexYesTable index (0-based)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states 'Merge cells', which implies a modification but fails to explain whether changes are irreversible, if the file is modified in-place, or what happens to cell content. The output schema is not described, leaving uncertainty about return values.

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 very concise at four words, which is efficient. It is front-loaded with the key action and resource. However, it could benefit from a slightly longer description to include essential context without losing conciseness.

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

Completeness1/5

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

Given the tool has 7 parameters, 6 required, and no annotations or output schema details, the description is severely lacking. It doesn't explain what merging entails (e.g., combining cells into one, handling content), any limitations (e.g., rectangular regions only), or the effect on the document. The output schema exists but is not referenced, so completeness is poor.

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 coverage is 100%, so the schema already documents all parameters. The description adds no extra meaning beyond what the schema provides (e.g., 0-based indices and absolute path are already described). Baseline score 3 is appropriate as the description does not improve understanding of parameters.

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 verb 'Merge' and the resource 'cells in a DOCX table', making the tool's purpose unambiguous. It distinguishes itself from siblings like read_document and edit_docx_paragraph, which deal with different document elements.

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 are no explicit when-to-use, when-not-to-use, or prerequisite conditions. Users are left to infer usage from the tool name and description.

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/filhocf/docforge-mcp'

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