Skip to main content
Glama
omnioperand-mcp

omnioperand-mcp

omni_ltv_cac_payback_period

Calculate LTV, LTV:CAC ratio, and CAC payback period from AOV, purchase frequency, margin, lifespan, and blended CAC to validate sustainable paid acquisition scaling.

Instructions

Customer Lifetime Value (LTV) to CAC & Payback Calculator. Calculate Customer Lifetime Value (LTV), LTV:CAC ratio, and cash payback period in months to evaluate sustainable paid acquisition scaling. Discipline: ECOMMERCE. Governing mathematical model / formula: LTV = AOV × Purchase Frequency × Gross Margin % × Lifespan | Payback Months = CAC / (AOV × Margin % × Monthly Orders).

USAGE GUIDELINES:

  • WHEN TO USE: Invoke for deterministic calculation of customer_ltv_gross_profit (Customer Lifetime Value (LTV)), ltv_to_cac_ratio (LTV : CAC Ratio), first_order_contribution (First Order Net Contribution), cac_payback_months (CAC Payback Period) using average_order_value (Average Order Value (AOV) in $), annual_purchase_frequency (Orders Per Customer Per Year in orders/yr), customer_lifespan_years (Average Customer Lifespan (Years) in years), gross_margin_pct (Gross Profit Margin (%) in %), blended_cac (Customer Acquisition Cost (Blended CAC) 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 'Customer Lifetime Value (LTV) to CAC & Payback 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): "ltv-cac-payback-period"

    • category (string): "ecommerce"

    • name (string): "Customer Lifetime Value (LTV) to CAC & Payback Calculator"

    • formula (string): Governing mathematical formula string

    • inputs (object): Echoed input parameter dictionary with applied defaults

    • metrics (object): Dictionary of computed outputs:

      • metrics.customer_ltv_gross_profit (Customer Lifetime Value (LTV)): Formatted display string (e.g. '$375.36')

      • metrics.ltv_to_cac_ratio (LTV : CAC Ratio): Formatted display string (e.g. '8.94 : 1')

      • metrics.first_order_contribution (First Order Net Contribution): Formatted display string (e.g. '+$20.56 (Profitable Day 1)')

      • metrics.cac_payback_months (CAC Payback Period): Formatted display string (e.g. '0.0 Months (Immediate)')

    • 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_ltv_cac_payback_period"
  }
}

Input Schema

NameRequiredDescriptionDefault
blended_cacNoCustomer Acquisition Cost (Blended CAC) ($). Total marketing spend divided by new acquired customers. Default: 42. Min: 5. Max: 1000.
gross_margin_pctNoGross Profit Margin (%) (%). Product margin after COGS and fulfillment. Default: 68. Min: 10. Max: 95.
average_order_valueNoAverage Order Value (AOV) ($). Average revenue generated per completed order. Default: 92. Min: 5. Max: 2000.
customer_lifespan_yearsNoAverage Customer Lifespan (Years) (years). Average retention period before permanent churn. Default: 2.5. Min: 0.5. Max: 10.
annual_purchase_frequencyNoOrders Per Customer Per Year (orders/yr). Number of purchases an active buyer makes annually. Default: 2.4. Min: 1. Max: 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

Score is being calculated.

Deploy Server

Other Tools