Log churn and growth by month
log_customer_metricsRecord how many customers a company had, gained and lost each month, or its churn rate, so Ripplewatch can show whether churn is rising and line it up against competitor moves. Built for consumer and subscription companies, which usually cannot say why each customer left but do know their numbers. Use it when the user has a billing tool (Stripe, a store, a subscription platform) you can read: pull the last 6 to 12 months and pass one row per month, exactly as read. Every number is optional, send what you have: churn_pct (0 to 100) if the source states a rate, otherwise customers_start and cancelled_customers so it can be worked out, plus new_customers, customers_end and revenue for growth. Never estimate or fill in a number you did not read. Ask the user before pulling their data. Re-sending a month updates it.
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": {
"months": "<months>"
},
"name": "log_customer_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | Yes | ||
| segment | No | Which side of the business these numbers are for. Defaults to consumer. |