Compare cash options after tax
compare_after_taxFor a cash balance and the person's tax rates, estimate what each kind of cash option keeps per year after federal and state income tax (Treasury interest is state-tax-free; money funds pass through their government share), and how much more than where the cash sits now. Returns the option of each kind that keeps the most.
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": {
"balance": "<balance>",
"federal_pct": "<federal_pct>",
"state_pct": "<state_pct>"
},
"name": "compare_after_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| niit | No | True if the 3.8% net investment income tax applies. | |
| state | No | Two-letter U.S. state the person files in, e.g. "CA". In CA, CT and NY a fund’s U.S. government share counts only if its notice shows it met their 50% test. Optional. | |
| balance | Yes | Cash balance in U.S. dollars. | |
| current | No | Where the cash sits now: a broker name (its default sweep), "checking", or an id from get_cash_rates. Default checking at 0.01%. | |
| priority | No | return (default), liquidity (2 days or less), or protection (FDIC or U.S. government). | |
| state_pct | Yes | State + local income tax rate, e.g. 5. 0 if none. | |
| federal_pct | Yes | Top federal income tax bracket, e.g. 24. |