calculate_vat
Compute VAT for UAE (5%) or Saudi Arabia (15%) on any amount. Handles both ex-VAT and VAT-inclusive calculations.
Instructions
Calculate VAT for UAE (5%) or Saudi Arabia (15%). Works for both ex-VAT and VAT-inclusive amounts. Example queries: 'UAE VAT on AED 1000 product', 'what is the VAT-exclusive price of SAR 1150 including 15% VAT'.
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": {
"country": "<country>",
"amount": "<amount>"
},
"name": "calculate_vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | 'ae' = UAE 5% VAT, 'sa' = Saudi Arabia 15% VAT. | |
| amount | Yes | Monetary amount in local currency (AED for UAE, SAR for KSA). | |
| is_inclusive | No | True if amount already includes VAT (to extract it). False if amount is ex-VAT. |