omni_contingency_fee_net_payout
Calculate client net cash payout by deducting attorney contingency fees, litigation expenses, and medical liens from gross settlement; get exact settlement take-home and deduction breakdowns.
Instructions
Attorney Contingency Fee Net Payout & Medical Lien Deduction Calculator. Calculate exact client net 'in-pocket' payout after deducting attorney contingency fees (33.3% / 40%), case expenses, and subrogation health insurance liens. Discipline: LEGAL. Governing mathematical model / formula: Client Net Payout = Gross Settlement - Attorney Fee - Litigation Costs - Outstanding Medical Liens.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of client_net_cash_payout (Client Net Take-Home Payout), attorney_contingency_fee_usd (Law Firm Contingency Fee), client_share_pct (Client Share of Settlement), total_deductions_usd (Total Deductions & Liens) using gross_settlement_usd (Gross Settlement Amount ($ USD)), attorney_fee_pct (Contingency Fee Percentage (%) in %), case_costs_expenses_usd (Case Litigation Expenses ($)), medical_liens_subrogation_usd (Negotiated Medical Liens ($)). 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 'Attorney Contingency Fee Net Payout & Medical Lien Deduction 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): "contingency-fee-net-payout"
category (string): "legal"
name (string): "Attorney Contingency Fee Net Payout & Medical Lien Deduction Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.client_net_cash_payout (Client Net Take-Home Payout): Formatted display string (e.g. '$46,970.00')
metrics.attorney_contingency_fee_usd (Law Firm Contingency Fee): Formatted display string (e.g. '$33,330.00 (33.3%)')
metrics.client_share_pct (Client Share of Settlement): Formatted display string (e.g. '47.0% of Gross Recovery')
metrics.total_deductions_usd (Total Deductions & Liens): Formatted display string (e.g. '$53,030.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_contingency_fee_net_payout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attorney_fee_pct | No | Contingency Fee Percentage (%) (%). Standard: 33.3% pre-litigation, 40% post-filing / trial. Default: 33.33. Min: 20. Max: 50. | |
| gross_settlement_usd | No | Gross Settlement Amount ($ USD). Total settlement check from insurance carrier. Default: 100000. Min: 1000. Max: 10000000. | |
| case_costs_expenses_usd | No | Case Litigation Expenses ($). Filing fees, medical records, court reporters, expert witnesses. Default: 3200. Min: 0. Max: 100000. | |
| medical_liens_subrogation_usd | No | Negotiated Medical Liens ($). Health insurance, Medicaid, Medicare, or hospital liens to repay. Default: 16500. Min: 0. Max: 500000. |