customer_churn_rate_metrics
Calculate and analyze customer churn rate percentages over time to identify retention trends and business health.
Instructions
[ChartMogul API] Retrieve customer churn rate metrics as percentage. Customer Churn Rate = (Churned Customers / Total Customers at Start) × 100. Returns entries array with: date (string), customer_churn_rate (float percentage), customer_churn_rate_percentage_change (float). Plus summary object. REQUIRED: start_date (YYYY-MM-DD), end_date (YYYY-MM-DD), interval ("day", "week", "month", "quarter", "year"). OPTIONAL: geo, plans, filters (string: CFL syntax fieldoperatorvalueAND... Use get_cfl_fields for field list). Example: customer_churn_rate=3.9 means 3.9% customer churn rate
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": {
"start_date": "<start_date>",
"end_date": "<end_date>",
"interval": "<interval>"
},
"name": "customer_churn_rate_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes | ||
| interval | Yes | ||
| geo | No | ||
| plans | No | ||
| filters | No |