Excel MCP Server with Pydantic-annotated tool parameters for managing Excel workbooks via MCP protocol. Supports reading/writing cell data, formatting, conditional formatting, data validation, and sheet operations.
The server provides 25 tools with consistent naming (verb_noun pattern), but definition quality is uneven. Most tools have descriptions (though many are short), and input schemas are present but inconsistently detailed. Parameter descriptions are sparse or missing in many tools. Output schemas are not documented. Error handling is minimal, no recovery guidance or classification. The server follows reasonable tool composition patterns (single responsibilities, chainable operations) but lacks LLM-optimization in descriptions and parameter constraints.
Add conditional formatting rule to a range.
Add data validation rule to a range.
Auto fill data from source range to target range, adjusting formula references. Formulas are translated so relative references adjust (like Excel's fill handle). For example, filling =A1+B1 down creates =A2+B2, =A3+B3, etc. Absolute references ($A$1) are preserved. Examples: auto_fill({"source_range": "C1", "target_range": "C1:C3"}) auto_fill({"source_range": "A1:A2", "target_range": "A1:A10"}) auto_fill({"source_range": "A1:B1", "target_range": "A1:F1"}) Returns JSON with status and cells filled. Formulas include 'calculated' value.
Set multiple ranges in a single call. More efficient than multiple set_range_data calls. Example: batch_set_range_data([ {"range_a1": "A1", "value": "Header"}, {"range_a1": "B1:D1", "value": ["X", "Y", "Z"]}, {"range_a1": "A2:A4", "value": [1, 2, 3]} ]) Returns JSON with status and cells set. Formulas include 'calculated' value.
Apply styles to multiple ranges efficiently.
Create a new sheet in the workbook.
Sparse parameter descriptions in majority of tools. Tools like rename_sheet, create_sheet, delete_sheet, merge_cells, unmerge_cells, add_conditional_formatting, add_data_validation have operation parameters with minimal field-level documentation. LLMs cannot infer that 'sheet_name' refers to the current name vs. desired name, or what 'rule' object expects.
No documented output schemas. Tools describe inputs but not return types. Agents cannot plan downstream calls without knowing what fields to extract from responses (e.g., does batch_set_range_data return per-operation status or a single aggregate status?).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 63 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 30 | - | v1 |
Delete columns from the worksheet.
Delete conditional formatting rules from a range.
Delete data validation rules from a range.
Delete rows from the worksheet.
Delete a sheet from the workbook.
Display the active sheet with formatted table of its data.
Get conditional formatting rules for a range.
Get data validation rules for a range.
Get cell data for a range. Returns a formatted table by default. Note: Keep range size under 200 cells for best performance.
Get workbook metadata including sheet names and active sheet.
Insert columns at the specified position.
Insert rows at the specified position.
Merge cells in a range.
Rename a sheet in the workbook.
Save the workbook to disk.
Search for cells containing specific values or patterns.
Set value(s) for cells in a range. Examples: - set_range_data({"range_a1": "A1", "value": "Hello"}) - single cell - set_range_data({"range_a1": "A1:C1", "value": ["X", "Y", "Z"]}) - row - set_range_data({"range_a1": "A1:A3", "value": [1, 2, 3]}) - column - set_range_data({"range_a1": "A1:B2", "value": [[1, 2], [3, 4]]}) - grid - set_range_data({"range_a1": "C1", "value": "=A1+B1"}) - formula Returns JSON with status and cells set. Formulas include 'calculated' value.
Apply style to a range of cells.
Unmerge merged cells in a range.
No error handling guidance. Tools do not specify what errors can occur, how to distinguish them, or what the agent should do next. E.g., if set_range_data fails due to invalid range syntax, does the agent retry, ask the user, or is it fatal?
Destructive tools (delete_sheet, delete_rows, delete_columns) lack confirmation or dry-run support. No explicit warning in descriptions that these are irreversible. Agents may delete data without understanding consequences.
Short, generic tool descriptions. Many tools (rename_sheet, create_sheet, delete_sheet, merge_cells, set_range_style, etc.) have descriptions under 20 words. LLMs rely on descriptions to choose between similar tools, these are too brief to guide selection.
Parameter type inconsistency. Some parameters accept 'string|array' (e.g., range_a1 in get_range_data) but no guidance on when to use array vs. string. LLMs need explicit union handling or separate tools.
Missing validation for constrained parameters. E.g., match_case in search_cells is a boolean, but no enum or constraint prevents hallucinated string values. Rule/style objects (add_conditional_formatting, set_range_style) have no schema, they are opaque JSON objects.
Nested operation objects reduce clarity. Tools like rename_sheet wrap parameters in an 'operation' object with a nested 'properties' structure. This indirection obscures the actual parameters and makes LLM invocation less direct.