Subscription and customer churn
get_churnCalculate subscription and customer churn rates over a chosen look-back window, returning churned MRR by currency for Stripe revenue analysis.
Instructions
Churn over the last N days: subscriptions and customers that existed at the start of the window and had ended by its close, as a rate (null when nothing existed at the start), plus churned MRR per currency.
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 |
|---|---|---|---|
| days | No | Length of the look-back window in days, ending now (1-365, default 30). |