Skip to main content
Glama

multi_file

Aggregate, filter, validate schema consistency, or compare multiple Excel workbooks. Specify action, file paths, and parameters to get results or write output files.

Instructions

Perform cross-workbook operations: aggregate, filter, validate schema consistency, compare two workbooks.

Args: action: "aggregate", "filter", "validate", or "compare". - "aggregate": requires file_paths and column; returns aggregated metric. - "filter": requires file_paths, column, operator, value; returns filtered rows or writes to output_file. - "validate": requires file_paths and key_column; checks schema/consistency across files. - "compare": requires file_a and file_b; returns diff summary and optionally writes a report. file_paths, file_a, file_b: File list / pair for relevant actions. column, operation, operator, value: Parameters for aggregation/filtering. output_file: Optional path to write the result.

Returns: dict: Operation-specific result (e.g. aggregation numbers, diffs, validation errors).

Notes: - When output_file is provided operations may write new files — document overwrite policy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNo
actionYes
columnNo
file_aNo
file_bNo
operatorNo
operationNosum
file_pathsNo
header_rowNo
key_columnNo
sheet_nameNoSheet1
output_fileNo
sheet_name_bNo
check_columnsNo
compare_valuesNo
compare_formulasNo
Behavior2/5

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

No annotations are provided, so the description must carry the full transparency burden. It states that operations 'may write new files' when output_file is provided, but then says 'document overwrite policy' instead of actually documenting it, and it omits auth, error, or file-state details. The generic return description does not disclose behavioral nuances for each action.

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?

The description is well-structured with an opening purpose sentence, action bullets, returns, and notes, making it easy to scan. The only real waste is the meta-instruction 'document overwrite policy,' which is not user-facing and adds no agent value.

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 16-parameter, four-action tool with no annotations and no output schema, this description is insufficient. It gives a good high-level map of actions but lacks key parameter semantics, overwrite behavior, and precise return structures, so an agent would still need to guess or inspect examples for correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must compensate for all 16 parameters, but it only explains action-level requirements and loosely mentions 'column, operation, operator, value.' It leaves crucial parameters like header_row, sheet_name, sheet_name_b, check_columns, compare_values, and compare_formulas effectively unexplained, making precise invocation difficult.

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 first sentence uses specific verbs and resources: 'aggregate, filter, validate schema consistency, compare two workbooks,' clearly distinguishing it from single-workbook siblings like filter_data_advanced and aggregate_data. Each action is then briefly explained with its own purpose.

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 provides explicit per-action required parameters ('aggregate requires file_paths and column', 'compare requires file_a and file_b'), giving clear conditional usage guidance. It lacks explicit alternatives or exclusions relative to sibling tools, but the cross-workbook framing supplies enough context for selection.

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/mbeps/excel-mcp'

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