Skip to main content
Glama
nometalalchemist

io.github.nometalalchemist/kitchensink4xl

set_merge

Merge or unmerge Excel cell ranges, or list existing merges. Prevent accidental data loss by refusing merges that would discard values unless confirmation is given, and back up changes before saving.

Instructions

Merge or unmerge cell ranges, or list every merge. action is merge (location is the multi-cell range), unmerge (location must be the exact stored merged range), or list (read-only, one sheet or the whole workbook). Excel merge semantics: only the top-left value survives, so a merge whose absorbed cells hold values REFUSES until you pass confirm_data_loss=true, then reports exactly which values were discarded; overlapping an existing merge refuses. Unmerge keeps the surviving top-left value and leaves the rest blank. For the mutating actions: a hazardous workbook refuses unless allow_loss is true; auto-backup to prev/anchor slots in .ks4xl-backups; atomic verified save. Refuses while open in Excel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
sheetNo
actionYes
backupNo
locationNo
allow_lossNo
verify_comNo
confirm_data_lossNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description fully carries the behavioral burden: it discloses data-loss refusal behavior, the confirm_data_loss flow, overlap refusal, unmerge semantics, hazardous-workbook allow_loss handling, auto-backup, atomic save, and refusal while Excel is open. These are exactly the side effects an agent needs to anticipate.

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 dense but every sentence earns its place. It front-loads the primary modes and then proceeds logically through constraints, data-loss behavior, safety checks, backup, and concurrency without filler.

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?

For an 8-parameter mutation tool, the description covers core semantics, failure modes, persistence behavior, and the Excel lock condition. The output schema can handle return values, so the remaining gaps around verify_com and exact backup toggling are minor rather than blocking.

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?

Despite 0% schema description coverage, the description explains the meaningful semantics of action, location, sheet, confirm_data_loss, allow_loss, and backup behavior. It does not explain verify_com and only implicitly addresses the backup toggle, but the most consequential parameters are well covered.

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 tool's three modes—merge, unmerge, and list—and ties each mode to the action parameter. It is unmistakably distinct from sibling tools like set_cell or write_range because it deals specifically with cell merge state.

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 concrete usage guidance for each action, including the exact location constraint for merge versus unmerge and the read-only nature of list. It also states refusal conditions such as overlap and data loss, which tells the agent when not to proceed; it just does not name alternative sibling tools, though none are better suited.

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

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/KitchenSink4XL'

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