xlsx_eval
Evaluate Excel formulas against a workbook with 350+ functions to return fresh results instead of stale cached values. Handles ad-hoc formulas or specific cell refs.
Instructions
Use this when you need to evaluate Excel formulas against a workbook via a formula engine (over 350 Excel functions, plus the functions only Google Sheets has) — pass ad-hoc formulas or re-evaluate specific cell refs, never trusting a stale cached value. Formulas that name no cell need no file; cell refs need the file. A call takes up to 5,000 cells or formulas when it builds its workbook from a spec, and up to 100 when it carries a file; over the cap it answers 400 too_many_cells. Date text is read under a fixed en-US convention: numeric dates are M/D/Y, ISO-8601 (YYYY-MM-DD) and month names are accepted, and a trailing time part is ignored. Exception: external-data/AI functions (IMPORTRANGE, IMPORTXML, IMPORTHTML, IMPORTDATA, IMPORTFEED, GOOGLEFINANCE, GOOGLETRANSLATE, STOCKHISTORY, AI, COPILOT, PY) are never fetched/run — the cell shows either the value Excel/Sheets saved in the file or the platform's documented error (#N/A / #CONNECT! / #BUSY!), never a freshly fetched result. Each cell or formula the engine did not recalculate (it calls one of these functions, or depends on a cell that does) is listed in the reply's _meta.not_recalculated with a reason that says why, and none of them is a recalculated value: a cell that calls one shows that saved value or documented error, and a cell that depends on one is computed from the value shown for the cell it depends on, not shown with its own saved value; its _meta.cell_values entry carries the same reason as not_recalculated.
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": {
"file_path": "<file_path>"
},
"name": "xlsx_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | No | Cell refs to fresh-evaluate, e.g. ["Sheet1!A1", "Calc!B5"]. | |
| sheet | No | Default sheet for unqualified cell refs. | |
| formulas | No | Freeform formula expressions to evaluate against the workbook. Each ~"=A1+B1" or "=SUM(Sheet1!A:A)". | |
| file_path | Yes | Absolute path to the .xlsx file. Pass the path string AS-IS — do NOT read, open, or base64-encode the file; the client handles all file I/O. The base64 surface in this connector is OUTPUT-only (_meta.file_b64). |