Skip to main content
Glama

excel_merge_cells

Merges a specified cell range in an Excel worksheet into one cell. Use it to combine adjacent cells by defining start and end addresses.

Instructions

Merge cell range

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filename": "<filename>",
      "worksheet": "<worksheet>",
      "startCell": "<startCell>",
      "endCell": "<endCell>"
    },
    "name": "excel_merge_cells"
  }
}

Input Schema

NameRequiredDescriptionDefault
endCellYesRange end (e.g., C3)
filenameYesOpened workbook name
startCellYesRange start (e.g., A1)
worksheetYesWorksheet name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and discloses nothing: it does not warn that merging discards values in non-anchor cells, does not mention error behavior for overlapping merges, and gives no return value information. Only the bare fact that the operation mutates the sheet is implied.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At three words it is not verbose, but the brevity reflects under-specification rather than economy; there is no structure, front-loading, or content that earns its place beyond the tool name.

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 destructive mutation with no annotations and no output schema, an agent needs to know about data loss in the merged range and preconditions for the workbook and worksheet. None of that is present, leaving the definition inadequate despite the well-documented parameters.

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% and each of the four parameters (filename, worksheet, startCell, endCell) carries an inline description with a format example, so the schema does the heavy lifting. The description adds nothing beyond it, which makes the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Merge cell range" restates the tool name excel_merge_cells almost verbatim; the only added information is that the target is a range rather than cells. It gives no detail about the workbook context or how this differs from excel_unmerge_cells and other range-related siblings.

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 when-to-use guidance, no preconditions (workbook must already be opened, range must not overlap an existing merged region), and no mention of the complementary unmerge tool. The agent must infer all usage context.

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

Deploy Server

Other Tools