business_rfm
RFM customer segmentation: Champions, At Risk, Cannot Lose Them... with actions — Offline RFM (recency, frequency, monetary) analysis. Send customers=id:recency_days:frequency:monetary;... OR raw orders=customer:YYYY-MM-DD:amount;... with optional as_of=YYYY-MM-DD (5-5000 customers). Scores each customer 1-5 on R, F and M by quintile within your list, assigns the standard 10 segments (Champions, Loyal Customers, Potential Loyalists, New Customers, Promising, Need Attention, About To Sleep, At Risk, Cannot Lose Them, Hibernating), and returns a segment summary with customer and revenue share, averages and a recommended marketing action, revenue at risk, and the top customers by score (limit=, default 100). Price: $0.003 USDC (Base, via x402).
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": {
"customers": "<customers>"
},
"name": "business_rfm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customers | Yes | c1:5:12:2400;c2:40:3:300;c3:200:8:1600;c4:3:1:80;c5:90:2:150;c6:15:6:900;c7:365:1:40;c8:10:20:5000;c9:60:4:500;c10:30:2:220 |