excel_calculate_progressive_tax
Calculates progressive (graduated) tax for taxable income using bracket thresholds and rates in an Excel worksheet, then writes results to the specified output range.
Instructions
Calculate progressive (graduated) tax
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"amountRange": "<amountRange>",
"brackets": "<brackets>",
"outputRange": "<outputRange>"
},
"name": "excel_calculate_progressive_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brackets | Yes | Tax brackets [{threshold, rate}] | |
| filename | Yes | Workbook name | |
| worksheet | Yes | Worksheet name | |
| amountRange | Yes | Taxable income range | |
| outputRange | Yes | Output range |