get_churn
Calculate customer and revenue churn rates for a chosen period, returning churned customer percentage, churned MRR, and lost revenue share to track subscription losses.
Instructions
Compute customer churn rate and revenue churn rate for a given period. Returns percentage of customers lost, percentage of revenue lost, counts of churned customers, and churned MRR amount.
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": "get_churn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period_days | No | Number of days to analyze (default: 30, min: 1, max: 365) |