Calculator rules
get_calculator_rulesUse when the user wants the rules themselves rather than a calculation: the tax bands, deductions, reliefs, fee tables, or loan and savings parameters behind one calculator, with official sources, caveats, the inputs it takes and when it was last verified. Rates are decimals (0.3 = 30%) unless the field says pct.
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": {
"slug": "<slug>"
},
"name": "get_calculator_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Calculator slug from list_calculators, e.g. kenya-paye-calculator. |