Fuel and currency purchase cost calculations
buscalc_reference_price_calculationsCalculate fleet/driving/measured fuel plus separately counted idle or generator consumption, price sensitivity and total period cost; or currency-converted purchase cost including explicit markup and fees. Uses supplied figures only. Fetch references separately, then pass the selected rate/price explicitly. Results include units, formula, limitations and replayable receipt. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"mode": "fuel",
"figures": {
"mpg": 25,
"burn": 0,
"other": 0,
"price": 4,
"gallons": 0,
"distance": 100,
"vehicles": 1,
"idleHours": 0,
"alternative": 4.5
}
}
},
"name": "buscalc_reference_price_calculations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |