Skip to main content
Glama
excel-master-pro

excel-master-pro

merge_spreadsheets

DestructiveIdempotent

Merge spreadsheets with differing column names into one unified workbook using semantic column alignment and value cleaning.

Instructions

Merge multiple spreadsheets with differing column names into one unified workbook.

Uses intelligent semantic column alignment (e.g. customer_name / musteri_adi / Customer Name),
preserves source file lineage (`Kaynak_Dosya`), cleans values prior to stacking, and saves
the unified table to `output_path` (overwriting any existing file at that path).

Args:
    file_paths: List of two or more input spreadsheet paths to align and stack.
    output_path: Destination path for the merged output file (overwrites if exists).

Returns:
    JSON string summarizing aligned columns, source files, and total merged row count.

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": {
      "file_paths": "<file_paths>",
      "output_path": "<output_path>"
    },
    "name": "merge_spreadsheets"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathsYes
output_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, and the description earns credit for naming exactly what is destroyed ('overwriting any existing file at that path') at both the summary and parameter level. It also discloses real behavioral effects beyond annotations — semantic alignment, value cleaning before stacking, and lineage preservation via a Kaynak_Dosya column. It does not cover failure behavior for unalignable columns, which keeps it from a 5.

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?

Front-loaded with the core action and mechanism, then structured into Args and Returns sections with no filler sentences. The Returns block slightly duplicates the existing output schema, a minor redundancy, but overall wording is efficient.

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

Completeness5/5

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

For a 2-parameter mutation tool with an output schema, the definition covers everything an agent needs before calling: scope of inputs, alignment behavior, lineage output, and the destructive overwrite of output_path. Return-value detail is safely delegated to the output schema.

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, and it does: file_paths is defined as two-or-more input spreadsheets to align and stack (a real cardinality constraint absent from the schema), and output_path is marked as the destination that overwrites if it exists. Neither param's type/enum details go deeper (e.g. accepted file formats), so it is solid but not exhaustive.

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+resource (merge multiple spreadsheets into one unified workbook) and adds the distinguishing mechanism: semantic column-name alignment across differing schemas. It does not explicitly contrast with siblings such as clean_spreadsheet, and the phrase 'cleans values prior to stacking' could blur the line with the cleaning tool, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the Args section says file_paths is a 'List of two or more' paths, which implicitly establishes the minimum-input constraint. There is no statement of when to prefer this over clean_spreadsheet or inspect_spreadsheet, nor any precondition about files sharing compatible structure.

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