Customer lifetime value (repeat purchase)
customer_lifetime_valueCalculate customer lifetime value for repeat-purchase ecommerce and D2C businesses using order value, purchase frequency, lifespan, and margin, with optional discounting and LTV:CAC.
Instructions
Calculates customer lifetime value for repeat-purchase businesses such as D2C and ecommerce from average order value, purchases per year, lifespan and margin, with optional discounting and LTV to CAC.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"average_order_value": "<average_order_value>",
"purchases_per_year": "<purchases_per_year>",
"customer_lifespan_years": "<customer_lifespan_years>",
"gross_margin_pct": "<gross_margin_pct>"
},
"name": "customer_lifetime_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cac | No | Optional customer acquisition cost. | |
| currency | No | ISO currency code for display, for example INR, USD or AED. Defaults to INR. | INR |
| gross_margin_pct | Yes | ||
| purchases_per_year | Yes | ||
| average_order_value | Yes | ||
| customer_lifespan_years | Yes | ||
| annual_discount_rate_pct | No | Optional, to discount future years. |