Skip to main content
Glama

set_merge

Merge cells into one area or unmerge them in a specified A1 range of an open Excel worksheet, optionally merging each row separately.

Instructions

Merge or unmerge cells in a range.

Input Schema

NameRequiredDescriptionDefault
rangeYesA1 range address.
acrossNomerge: merge each row separately instead of one area. Default false.
actionYesWhether to merge or unmerge.
sheetNameNoWorksheet name. Defaults to the active worksheet.
workbookIdNoTarget workbook ID from list_workbooks. Optional when only one workbook is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It doesn't state what happens to cell values on merge (typically only the top-left value is kept), whether the operation is reversible with unmerge, or what permissions are needed.

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?

A single front-loaded sentence with no wasted words. It is appropriately sized but also minimal, leaving no room to convey additional valuable context.

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?

For a mutation tool with five parameters, no annotations, and no output schema, the description is too thin. It omits important behavioral details such as data retention on merge and reversibility, which an agent would need to use it safely.

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 100%, so the schema already documents all five parameters including the enum for action and the across behavior. The description adds nothing beyond this, warranting the baseline 3.

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?

States a specific verb pair (merge/unmerge) and resource (cells in a range), which is clear enough for an agent to understand what the tool does. It doesn't explicitly name a sibling to differentiate from, but the operation is distinct from formatting and value-writing tools.

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?

There is no guidance on when to use this versus alternatives like format_range or write_range, nor any mention of prerequisites or destructive behavior. The usage is only implied by the tool name and purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.