finance_capital_gains
Capital Gains Tax Calculator — Federal capital gains tax for tax year 2026 or 2027 (IRS thresholds): stacks long-term gains and qualified dividends on top of ordinary taxable income across the 0/15/20% bands, taxes short-term gains at ordinary brackets, nets gains and losses ($3,000 loss offset + carryforward), adds the 3.8% net investment income tax, and shows how much more gain could be harvested at 0%. Inputs: ltcg (required, dollars; negative = loss), ordinary (taxable ordinary income after deductions, default 0), stcg, filing (single|mfj|mfs|hoh), year (2026|2027), magi (for NIIT; estimated if omitted), state_rate (flat %, optional). Offline, instant. Estimate, not tax advice. Price: $0.003 USDC (Base, via x402).
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": {
"ltcg": "<ltcg>"
},
"name": "finance_capital_gains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ltcg | Yes | 40000 |