Usage billing gap
calculate_usage_gapEstimate the gross difference between delivered billable units and billed units at one supplied rate. Numeric scenarios only. Use successful, contractually billable units for one closed period. Negative means more units billed than delivered. Tiering, free allowances, duplicate events, credits and tax are not resolved here. A difference is not confirmed collectible revenue.
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": {
"delivered": "<delivered>",
"billed": "<billed>",
"unit_price": "<unit_price>"
},
"name": "calculate_usage_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| billed | Yes | Billed units | |
| delivered | Yes | Delivered billable units | |
| unit_price | Yes | Price per unit (USD) |