Skip to main content
Glama
SheetForge MCP

SheetForge MCP

by iHeldan

bulk_aggregate_workbooks

Read-only

Combine and summarize comparable worksheet or table data from multiple workbooks using filters, metrics, grouping, and sorting for consolidated results.

Instructions

Aggregate comparable worksheet or table data across multiple workbooks.

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": {
      "filepaths": "<filepaths>"
    },
    "name": "bulk_aggregate_workbooks"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
filtersNo
metricsNo
sort_byNo
group_byNo
row_modeNoarrays
filepathsYes
sort_descNo
header_rowNo
sheet_nameNo
table_nameNo
schema_modeNostrict
infer_schemaNo
source_sample_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.5
    • addedInput schema / properties / row_mode / enum
      Added value: +[
      +  "arrays",
      +  "objects"
      +]
  2. Changed1 schema field changedv0.14.0
    • addedInput schema / properties / filepaths / items / description
      Added value: +"Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing."
  3. First observedv0.8.0

TDQS

C2.6/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a non-mutating read, so the safety profile is covered. Beyond that the description discloses nothing behavioral: no mention of schema_mode 'strict' vs permissive handling, no statement of what happens when workbook schemas diverge, no cost or row-limit considerations. For a 14-parameter cross-file operation that is a substantial gap.

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

Conciseness3/5

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

The sentence is front-loaded and free of filler, so there is no wasted wording. However, it is undersized for the tool's complexity, leaving the definition too thin rather than efficiently compact.

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?

With 14 parameters, no output schema, and annotations limited to readOnlyHint, the description carries most of the explanatory burden and does not meet it. An agent would have to guess at schema alignment rules, grouping semantics, and how the aggregation result is shaped.

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?

Schema description coverage is effectively 0% — only filepaths carries a description, and the other 13 parameters (filters, metrics, group_by, sort_by, schema_mode, infer_schema, header_row, sheet_name, table_name, source_sample_limit, row_mode, limit, sort_desc) are bare titles with defaults. The description explains none of them; at best the word 'aggregate' weakly implies grouping and metric selection, which does not compensate for the coverage gap.

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?

The description gives a specific verb ('Aggregate') and a clear resource and scope ('comparable worksheet or table data across multiple workbooks'), so an agent can tell this is the multi-file counterpart to single-table aggregation. It does not explicitly name or differentiate itself from close siblings such as bulk_filter_workbooks or aggregate_table, leaving that distinction to be inferred.

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 prerequisites, and no exclusions. The single word 'comparable' hints that workbooks must share a shape, but nothing tells the agent when to pick this over bulk_filter_workbooks or aggregate_table, or what to do when the inputs are not comparable.

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