omni_churn_rate
Calculate monthly customer churn, annualized churn, net revenue retention, and cohort half-life from customer and MRR inputs to eliminate arithmetic mistakes.
Instructions
Customer & Revenue Churn Rate Calculator. Calculate logo churn, gross revenue churn, net revenue retention (NRR), and annualized churn compound curves. Discipline: FINANCE. Governing mathematical model / formula: Customer Churn % = (Customers Lost / Starting Customers) × 100.
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of monthly_churn_pct (Monthly Customer Churn), annualized_churn (Annualized Compound Churn), net_revenue_retention (Net Revenue Retention (NRR)), customer_half_life (Customer Cohort Half-Life) using starting_customers (Starting Customers (Beginning of Month)), lost_customers (Customers Canceled / Lost), starting_mrr (Starting Monthly Revenue (MRR)), expansion_mrr (Expansion / Upsell MRR). 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 'Customer & Revenue Churn Rate 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): "churn-rate"
category (string): "finance"
name (string): "Customer & Revenue Churn Rate Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.monthly_churn_pct (Monthly Customer Churn): Formatted display string (e.g. '2.50% / mo')
metrics.annualized_churn (Annualized Compound Churn): Formatted display string (e.g. '26.24% / yr')
metrics.net_revenue_retention (Net Revenue Retention (NRR)): Formatted display string (e.g. '103.50% (Net Expansion)')
metrics.customer_half_life (Customer Cohort Half-Life): Formatted display string (e.g. '27.4 months')
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_churn_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| starting_mrr | No | Starting Monthly Revenue (MRR). Beginning of period recurring revenue. Default: 100000. Min: 1000. Max: 10000000. | |
| expansion_mrr | No | Expansion / Upsell MRR. Revenue expansion from existing customer upgrades. Default: 6000. Min: 0. Max: 500000. | |
| lost_customers | No | Customers Canceled / Lost. Accounts downgraded or terminated during month. Default: 25. Min: 0. Max: 100000. | |
| starting_customers | No | Starting Customers (Beginning of Month). Active paying customer count on day 1. Default: 1000. Min: 10. Max: 500000. |