csv_excel_damage
Before the double-click: what Excel will SILENTLY DESTROY in this CSV, per column. The damage happens ON OPEN and saving writes it back — a stripped leading zero is unrecoverable from the file (delimiter.live). Predicts Microsoft's own three Automatic Data Conversion toggles (Excel 365 2309+/16.77): leading zeros (02134->2134), text-to-date (SEPT2->2026-09-02, MARCH1->March 1 — gene names die; '3-4' is March 4 under en but April 3 under eu: SAME cell, TWO dates, so locale is an argument never a guess), the 15-significant-digit wall (4111111111111111->4111111111111110, 987654321098765432->9.87654E+17), scientific notation (1E5->100000), formula shapes (-5, +43, =... injection surface), full-width digits (123 compares as a different ID). A token without a year takes the CURRENT year in Excel — so as_of is REQUIRED here: determinism first. Output: per-column rule counts + samples + the prescribed import (Data>From Text/CSV typed Text, or the toggles off, or ship .xlsx). csv/fix REPAIRS after the fact; this PREDICTS before it. Detection lot — the stored-vs-displayed numFmt mask rendering (the 88 % misled study) is the queued M part. Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "csv_excel_damage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | the CSV text, <= 20000 chars | |
| as_of | No | YYYY-MM-DD freezing the year Excel implies for '3/4' | |
| locale | No | date coercion order: en reads m/d, eu reads d/m |