calculate_churn_rate
Calculate net revenue retention (NRR), gross revenue retention (GRR), revenue churn and implied customer lifetime from one period's MRR movements. Also reports the NRR-minus-GRR spread, which reveals how much churn is being masked by expansion revenue.
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": {
"starting_mrr": "<starting_mrr>"
},
"name": "calculate_churn_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| churned_mrr | No | MRR lost to full cancellations. | |
| starting_mrr | Yes | MRR at the start of the period, in any single currency unit. | |
| expansion_mrr | No | MRR gained from upgrades and expansion within the existing base. Excludes new customers. | |
| contraction_mrr | No | MRR lost to downgrades (customer retained). |