Skip to content

Tools

This page lists every MCP tool exposed by formulon-mcp, grouped by purpose. The model receives the same descriptions through MCP tool discovery; this page mirrors them so a human can scan the surface at a glance.

A1 vs zero-based

Unless A1 notation is used, sheet / row / column indices are zero-based to match the Formulon API. Both styles are accepted on tools that take addresses.

Engine

ToolWhat it does
formulon_versionReturns the loaded Formulon engine version.
formulon_eval_formulaEvaluates one Excel formula in a throwaway workbook.
formulon_function_lookupLists registered functions and resolves metadata or localized names.
formulon_traceReads precedents, dependents, or spill info for a cell.

Sessions

ToolWhat it does
formulon_open_workbookLoads an .xlsx path into a new session, or creates a default workbook.
formulon_list_sessionsLists open workbook sessions.
formulon_close_workbookReleases a session.
formulon_recalc_sessionTriggers a recalculation on an open session.
formulon_save_sessionWrites a session to an .xlsx path or returns bytes inline.
formulon_session_metadataReads function names or external links from the session.

Inspection

ToolWhat it does
formulon_inspect_sessionReturns sheets, defined names, tables, and optionally sparse cell entries.
formulon_inspect_layoutPer-sheet layout: used ranges, merges, row / column overrides, protection, cells, calculated values, formulas, and optional style details.
formulon_detect_regionsDetects table-like regions, label-value pairs, and totals with rule-based confidence and evidence.
formulon_analyze_workbookClassifies workbook shape (invoice, list, report, schedule, form, …) with deterministic evidence.

Cells and ranges

ToolWhat it does
formulon_set_cellsApplies mutations to a session. Cells use A1 (Sheet1!B2) or 0-based (sheet / row / col).
formulon_get_cellReads one cell, either from a session or directly from a path.
formulon_get_rangeReads an A1 rectangular range from a session.
formulon_find_cellsSearches text cell values and / or formula text.
formulon_replace_cellsReplaces matching text and / or formula text.

Workbook structure

ToolWhat it does
formulon_sheet_operationAdds, removes, renames, or moves sheets.
formulon_set_defined_nameAdds, replaces, or removes workbook-scoped defined names.
formulon_edit_structureInserts or deletes rows and columns.
formulon_set_sheet_viewSets zoom, frozen panes, or sheet-tab hidden state.

Rich workbook data

ToolWhat it does
formulon_merge_operationLists, adds, removes, or clears merged ranges.
formulon_comment_operationGets, sets, or removes cell comments.
formulon_hyperlink_operationLists, adds, removes, or clears hyperlinks.
formulon_validation_operationLists, adds, removes, or clears data validations.
formulon_conditional_format_operationLists, adds, removes, clears, or evaluates conditional formats.

Advanced

ToolWhat it does
formulon_workbook_callAllowlisted low-level access to the Formulon Workbook API.
formulon_inspect_workbookOne-shot summary from path.
formulon_update_workbookOne-shot load / create, mutate, recalculate, save.

workbook_call is allowlisted, not arbitrary

formulon_workbook_call only dispatches methods on the server's allowlist (see Security model). Calls to non-allowlisted methods are rejected. The tool exists for advanced access — PivotTables, PivotCaches, styles, dependency graph queries, function metadata, spill info — that the higher-level tools do not cover yet.