Tax from Brackets
tax-from-bracketsProgressive tax from caller-supplied brackets. No jurisdiction, year, or rates are baked in: pass the brackets yourself. Returns total tax, effective rate, and marginal rate.
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": {
"income": "<income>",
"brackets": "<brackets>"
},
"name": "tax-from-brackets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| income | Yes | Taxable income. | |
| brackets | Yes | Ordered tax bands. The final band may omit upTo to run to infinity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | No | Total tax. | |
| marginalRatePct | No | Marginal rate, percent. | |
| effectiveRatePct | No | Effective rate, percent. |