money_crossover
Two-component tariffs (unit rate + recurring fixed): WHERE they cross, exact. The formula is published by seven web calculators that contradict each other on ROUNDING: they round the fixed delta first (19.42/0.0042 = 'about 4,623') where the exact answer is 4,623 1/3 kWh. Here Decimal never quantizes before the last step: the crossover ships as an EXACT fraction plus its decimal. DAY CONVENTIONS are named, never melted: monthly fixeds annualize by x12 exact (not 30-day months = x360), daily by x365 or a supplied 366 leap year; 'week' is REFUSED (no exact conversion). DOMINATION is a rendered answer: when one plan wins on BOTH components, 'never' comes back named with the reason. Also: equal fixeds (immediate crossover at zero), equal rates (no tradeoff), distance conversion when km per unit is SUPPLIED (EV), costs at your usage, and one-off exit/signup fees rendered as PAYBACK months — separate from the structural crossover (uktaxdrag's own distinction). Electricity, EV charging, SaaS seats, mobile data: one kernel. Zero fetch, no tariff advice. 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": "money_crossover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_fixed | No | plan A recurring fixed, '12' | |
| b_fixed | No | ||
| currency | No | ISO code (EUR, GBP, USD, BRL...) | |
| sign_up_a | No | ||
| sign_up_b | No | ||
| a_unit_per | No | kWh / Wh / MWh, or any unit matching plan B | |
| b_unit_per | No | ||
| exit_fee_a | No | ||
| exit_fee_b | No | ||
| a_fixed_per | No | the CONVENTION is explicit — 'week' refused | |
| a_unit_rate | No | plan A price per unit, major units: '0.30' | |
| b_fixed_per | No | ||
| b_unit_rate | No | ||
| km_per_unit | No | supplied efficiency, e.g. '6' km/kWh → crossover in km | |
| usage_period | No | ||
| days_per_year | No | '365' default, '366' named leap year | |
| usage_per_period | No | your consumption to compare costs at |