Number format check
number_format_checkAudit how numbers are displayed. Pass numbers (the strings exactly as shown, as a list or newline or comma-separated text; JSON numbers lose their formatting so strings are better), context (axis, tooltip, table cell, headline), and optionally locale (en-US, de-DE, fr-FR and so on), raw (the unrounded values in the same order, to test whether rounding creates ties or reverses the ranking) and total (a stated total to compare with the displayed parts). Checks: consistent decimal places, mixed thousands or decimal separators, the ambiguity of a lone separator before three digits (1,000 versus 1.000), missing grouping on long numbers, mixed k, M, B suffixes and the lowercase m trap, mixed or repeated units and currency, negative-number styles, right-alignment and tabular figures for table cells, uneven axis ticks, false precision, and rounding that changes ranking or breaks a sum. Returns findings and, where the set is uniform enough, a suggested reformatting. Pure computation.
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": {
"numbers": "<numbers>",
"context": "<context>"
},
"name": "number_format_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Unrounded values in the same order as `numbers`. | |
| total | No | Stated total of the displayed parts. | |
| locale | No | BCP 47 locale such as en-US or de-DE. | |
| context | Yes | ||
| numbers | Yes | Numbers as displayed. |