Skip to main content
Glama

com_merge_documents

Merge multiple Word documents into one new file, preserving styles, footnotes, and numbering. Adds section breaks between parts to keep chapter headers intact.

Instructions

Concatenate whole documents in order into ONE new file via Word, full fidelity (styles, footnotes, numbering); section breaks between parts keep per-chapter headers/numbering possible. To insert a document INTO an existing one at a chosen position with style reconciliation, use insert_document; for a single table, copy_table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYes
output_pathYes
section_break_betweenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the burden and discloses meaningful traits: it produces ONE new file, implies non-destructive merging, operates via Word, preserves styles/footnotes/numbering, and inserts section breaks between parts. It does not mention overwrite behavior or whether source files are modified, but the core behavioral profile is clear.

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?

The description is two sentences with no filler. The core operation and fidelity details are front-loaded, and the alternative routing is compactly appended. Every sentence earns its place.

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?

An output schema exists, so explaining return values is unnecessary. The description covers operation, ordering, fidelity, section behavior, and key alternatives. The main gaps are not distinguishing from com_combine_documents and not specifying what happens if output_path already exists.

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%, so the description must compensate. It effectively explains paths as whole documents in order, output_path as the new file, and section_break_between as section breaks between parts. All three parameters are inferable from the prose even though they are not explicitly named.

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 states a specific action: concatenate whole documents in order into one new file, with fidelity guarantees covering styles, footnotes, and numbering. It also explicitly contrasts with insert_document and copy_table, helping an agent distinguish it from relevant siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit routing guidance: use insert_document for inserting a document into an existing file at a chosen position, and copy_table for a single table. However, it does not address the similarly named com_combine_documents sibling, leaving some ambiguity about when to choose merge over combine.

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/nometalalchemist/KitchenSink4Word'

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