Compare
compareUse compare after a ship for a keep, revert, or extend verdict. Returns rates, lift, and the verdict. Compare is a free read and each successful call is one metered read. goal_event counts unique converters. Read on ship day + 8 so the last day is complete. Today UTC yields incomplete_current_day. Revert only when the interval lies entirely below zero; otherwise inconclusive. A drop by itself is not a revert. Page not found | grokbotpages.com. Optional metric sum(revenue) or p75(cwv_lcp). Hosted vitals are properties on page_view. Prefer web_vitals. metric_event defaults to goal_event. Use better=lower for Web Vitals. sum() is per_user. raw_lift is unnegated. With metric set, interval_method is none. A threshold hit without an interval is no_interval_for_metric. Compare stays a free read when metric is set.
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": {
"project": "<project>",
"goal_event": "<goal_event>"
},
"name": "compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Decision thresholds. Values above 5 are rejected. | |
| better | No | higher or lower. Use better=lower for cwv_lcp. | |
| metric | No | Numeric metric such as p75(cwv_lcp) or sum(revenue). | |
| compare | No | Compare window. Pass with baseline. | |
| filters | No | Optional filters, same shape as query. Do not filter on event | |
| project | Yes | Project name or ID | |
| baseline | No | Baseline window. Pass with compare. | |
| ship_date | No | Ship date (YYYY-MM-DD, UTC). The ship day is in neither window | |
| goal_event | Yes | Goal event counted as unique converters. | |
| window_days | No | Days per window, multiple of 7, from 1 to 90. Default 7. | |
| metric_event | No | Defaults to goal_event. Use page_view for hosted vitals. | |
| denominator_event | No | Denominator event. Defaults to page_view. | |
| denominator_filters | No | Denominator-only filters. Max 10. Do not filter on event. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| type | No |