Skip to main content
Glama
eschaq

Excel MCP Server

by eschaq

get_summary_stats

Read-onlyIdempotent

Compute per-column summary statistics for a spreadsheet: count, missing, min, max, mean, median, stdev, and sum for numeric columns; text columns return count, unique, and most common value.

Instructions

Summary statistics per column: count, missing, min, max, mean, median, stdev and sum for numeric columns; count, unique and most common value for text columns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesPath to the spreadsheet file (absolute, or relative to the first allowed directory)
sheetNoSheet name. Defaults to the first sheet.
columnsNoOnly return these columns. Defaults to all.
header_rowNo1-based row holding column names; 0 means no header (columns named A, B, C...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine value by naming the exact metrics returned per column type, which matters since there is no output schema, but it says nothing about how missing/blank values are treated or how non-numeric columns are skipped.

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?

A single dense sentence that front-loads the resource ('per column') and then enumerates output metrics without filler. Efficient, though the numeric/text split is packed into one long clause.

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?

With no output schema and no annotations describing results, the description carries the return-value burden and does so well by enumerating every statistic per column type. The remaining gap is edge-case behavior (empty sheets, all-text columns, missing handling), which is minor for this tool.

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%, so path, sheet, columns, and header_row are already documented in the schema (including defaults). The description adds no parameter-level meaning beyond that, making the baseline 3 correct.

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 states a specific verb ('Summary statistics') and resource ('per column'), and enumerates exactly which statistics are produced for numeric vs text columns. It does not explicitly differentiate itself from siblings like get_sheet_data or get_formulas, so an agent must infer the boundary, but the purpose itself is unambiguous.

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 mention of alternatives such as get_sheet_data for raw values, and no prerequisites or caveats. The agent can infer this is the stats tool, but nothing routes it here over the sibling tools.

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