Number Format, Units, Dates & Statistics Calculators — Saifs AI
numbers_dates_stats_calculatorsFormat numbers and calculate dates, units and statistics exactly: round half-up / banker's / nearest ₹1 / 50 paise, Indian lakh-crore format 1,23,45,678.50, amount in words, lakh / crore ↔ million / billion, read '₹1.2 lakh'; convert kg / t / lb, cm / in, sq ft / acre, litre / CBM, dozen / gross, °C / °F; days between dates, working days with holidays, due dates, ageing days, month-end, Indian financial year and quarter; mean, weighted average, median, mode, std dev, percentile, quartiles, z-score; survey sample size, margin of error, confidence intervals; moving average, linear trend, correlation. Returns a standard-library Python script with only these calculators (number_format_calculator, unit_converter, date_due_date_calculator, average_statistics_calculator, survey_sample_calculator, trend_basic_calculator) to run in your code sandbox; each answer gives result, formula, inputs used, rounding, rule version and effective date. Inputs: tools (narrow to some of these calculators), calls ([{tool, operation, inputs, rounding?, as_of?}] baked into the script; a calculator from another area named in calls is added), calls_path (JSON file of calls in your sandbox). Calculation never runs on this server or any API. Not for EMI / interest / NPV / IRR (refused), nor forecasting with seasonality (MCP 18). Operation and input names: business_calculator_list_formulas.
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": "numbers_dates_stats_calculators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | Calculations to bake into the script (their calculators are included). | |
| tools | No | Narrow the script to some of this area's calculators (default: all of them). | |
| calls_path | No | JSON file of calls already in your sandbox. | |
| full_catalog | No | Keep descriptions and worked examples inside the script (larger). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | ||
| notes | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| calls_path | No | ||
| operations | No | ||
| call_format | No | ||
| instructions | Yes | ||
| writes_files | No | ||
| calls_baked_in | No | ||
| engine_version | Yes | ||
| included_tools | Yes | ||
| server_computes | No | ||
| network_access_required | No |