money_unitprice
Unit price and shrinkflation in exact Decimal with the DENOMINATOR NAMED. compare: 2..6 offers {price, qty_str '1 lb 4 oz' or qty+unit, count for two-for-$7, optional store tag claim AUDITED at its own precision} — cross-unit tables (oz vs lb vs qt) resolve on the canonical family factor, winner decided by equal fractions never by rounded sight (r/aldi 'the tag math is wrong'); deltas divide by the WINNER, one denominator per number. shrink: old to new size (plus or minus price) returns product_change over the OLD size and unit_price_change over the NEW — 32 to 28 fl oz is -12.5 % of drink but +14.2857 % per ounce (1/7), the published Gatorade vector; the single-percentage headline is the lie this tool refuses. Exact fraction travels beside every display (Consumer Reports 7.75-to-7.8 lesson). Closed: mode compare|shrink; comma refused to num/parse; cross-family comparison refused with the exit named; factors anchored to NIST SP 811. Free.
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": {
"mode": "<mode>"
},
"name": "money_unitprice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| unit | No | ||
| basis | No | ||
| offers | No | ||
| new_size | No | ||
| old_size | No | ||
| new_price | No | ||
| old_price | No |