Save any numbers about the business
log_data_pointsSave numbers the user has about their own business so Ripplewatch can line them up against competitor moves: approval rate by segment, bank-link completion, activation rate, average limit, time to first purchase, win rate by cohort, anything that is a rate, count or average over time. Use it when the user has a tool or data you can read (a database, analytics, billing, a spreadsheet they share): pull the last 8 to 26 weeks and pass one row per metric, segment and week, exactly as read. One row per metric, segment and period, as an aggregate you read (a rate, a count, an average), never individual customers. Use a stable metric name (approval_rate, bank_link_completion, activation_rate, avg_limit_usd). Say which way is good with higher_is: better for approval rate, worse for churn or decline rate. Put a cohort in segment (gig_workers, thin_file) when the number is for one group. Never estimate a number you did not read, and ask the user before pulling their data. Re-sending a period updates it. If the response says the feature is not set up yet, tell the user it is coming and do not retry.
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": {
"rows": "<rows>"
},
"name": "log_data_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes |