omni_dairy_cow_fat_corrected_milk
Calculate 4% fat-corrected and energy-corrected milk, daily butterfat output, and FCM lift from raw milk yield, butterfat, and true protein tests.
Instructions
Dairy Cow Fat-Corrected Milk (4% FCM) & Energy-Corrected Milk (ECM). Calculate Fat-Corrected Milk (4% FCM) and Energy-Corrected Milk (ECM) from bulk tank milk weight, butterfat percentage, and true protein test. Discipline: AGRICULTURE. Governing mathematical model / formula: 4% FCM = 0.4 · Milk (lbs) + 15.0 · Fat (lbs) | ECM = 0.327 · Milk + 12.95 · Fat + 7.2 · Protein.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of fat_corrected_milk_lbs (4.0% Fat-Corrected Milk (FCM)), energy_corrected_milk_lbs (Energy-Corrected Milk (ECM)), daily_butterfat_produced (Daily Butterfat Output), feed_efficiency_milk_fcm (FCM Equivalency Lift) using daily_raw_milk_yield_lbs (Daily Raw Milk Production (lbs/cow) in lbs/cow/day), butterfat_test_pct (Milk Butterfat Content (%) in %), true_protein_test_pct (Milk True Protein Content (%) in %). 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 'Dairy Cow Fat-Corrected Milk (4% FCM) & Energy-Corrected Milk (ECM)' 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): "dairy-cow-fat-corrected-milk"
category (string): "agriculture"
name (string): "Dairy Cow Fat-Corrected Milk (4% FCM) & Energy-Corrected Milk (ECM)"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.fat_corrected_milk_lbs (4.0% Fat-Corrected Milk (FCM)): Formatted display string (e.g. '86.3 lbs FCM')
metrics.energy_corrected_milk_lbs (Energy-Corrected Milk (ECM)): Formatted display string (e.g. '88.7 lbs ECM')
metrics.daily_butterfat_produced (Daily Butterfat Output): Formatted display string (e.g. '3.49 lbs Fat / day')
metrics.feed_efficiency_milk_fcm (FCM Equivalency Lift): Formatted display string (e.g. '+1.5% Energy Premium Over Raw')
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_dairy_cow_fat_corrected_milk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| butterfat_test_pct | No | Milk Butterfat Content (%) (%). Bulk tank milk fat test (Holstein ~3.8-4.2%, Jersey ~4.8-5.5%). Default: 4.1. Min: 2.5. Max: 6.5. | |
| true_protein_test_pct | No | Milk True Protein Content (%) (%). Protein percentage. Default: 3.2. Min: 2.5. Max: 4.5. | |
| daily_raw_milk_yield_lbs | No | Daily Raw Milk Production (lbs/cow) (lbs/cow/day). Scale weight of milk produced (e.g. 85 lbs = 9.9 gallons). Default: 85. Min: 20. Max: 180. |