Emergency contracting margin protection
buscalc_emergency_contracting_margin_protectionCalculate bid margin, break-even thresholds, and 27 combinations of explicit low, middle and high fuel prices, standby hours and delay days. Use funding for dated cash requirements, calibrate-hours for a productive-hours range from matched prior forecasts and actual hours, or dispatch-review to evaluate a bid and explicitly supplied readiness and source statuses. Use the emergency source lookup for current source snapshots. Dispatch review is advisory. Calculations return a 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": {
"bid": {
"gallons": 400,
"revenue": 20000,
"baseCost": 12000,
"idleRate": 100,
"delayDays": 1,
"delayRate": 1500,
"idleHours": 10,
"dieselPrice": 4
},
"ranges": {
"delayDays": [
1,
2,
3
],
"idleHours": [
10,
12,
30
],
"dieselPrice": [
3.25,
4,
4.75
]
}
}
},
"name": "buscalc_emergency_contracting_margin_protection"
}
}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 |