omni_breach_of_contract_damages
Calculate expectation damages, incidental losses, consequential lost profits, and mitigation offsets in commercial breach-of-contract disputes with deterministic arithmetic.
Instructions
Breach of Contract Expectation & Consequential Damages Calculator. Calculate expectation damages, incidental losses, consequential lost profits (Hadley v. Baxendale rule), and mitigation offsets in commercial contract disputes. Discipline: LEGAL. Governing mathematical model / formula: Expectation Damages = (Contract Price - Mitigation Revenue) + Incidental Expenses + Consequential Damages.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of total_recoverable_damages (Total Recoverable Breach Damages), direct_expectation_loss (Direct Expectation Loss), mitigation_credit_offset (Mitigation Credit Subtracted), incidental_consequential_total (Secondary Losses Recovered) using agreed_contract_price_usd (Full Agreed Contract Value ($ USD)), mitigation_resale_revenue (Mitigation Substitute Revenue ($)), incidental_expenses_usd (Incidental Storage & Brokering Costs ($)), consequential_lost_profits_usd (Foreseeable Consequential Damages ($)). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Breach of Contract Expectation & Consequential Damages Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "breach-of-contract-damages"
category (string): "legal"
name (string): "Breach of Contract Expectation & Consequential Damages Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.total_recoverable_damages (Total Recoverable Breach Damages): Formatted display string (e.g. '$112,500.00')
metrics.direct_expectation_loss (Direct Expectation Loss): Formatted display string (e.g. '$80,000.00')
metrics.mitigation_credit_offset (Mitigation Credit Subtracted): Formatted display string (e.g. '$95,000.00 Offset')
metrics.incidental_consequential_total (Secondary Losses Recovered): Formatted display string (e.g. '$32,500.00')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_breach_of_contract_damages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| incidental_expenses_usd | No | Incidental Storage & Brokering Costs ($). Storage, return freight, and re-listing expenses. Default: 8500. Min: 0. Max: 100000. | |
| agreed_contract_price_usd | No | Full Agreed Contract Value ($ USD). Original promised contract consideration. Default: 175000. Min: 1000. Max: 10000000. | |
| mitigation_resale_revenue | No | Mitigation Substitute Revenue ($). Money recovered by selling goods/services to an alternate buyer. Default: 95000. Min: 0. Max: 10000000. | |
| consequential_lost_profits_usd | No | Foreseeable Consequential Damages ($). Downstream lost profits reasonably foreseeable at contract signing. Default: 24000. Min: 0. Max: 1000000. |