weekly_digest
Composite snapshot of a project's web analytics over a lookback window. Returns unique visitors, pageviews, sessions, bounce rate, average session duration, top 5 pages, top 5 referrers, total custom events, and top 5 event names. Includes period-over-period comparison against the prior equal-length window unless compare: false. Prefer this over chaining top_pages + top_referrers + events_count when the agent just wants to report on the week.
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>"
},
"name": "weekly_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Lookback window in days, 1 to 90. Default 7. | |
| compare | No | Include period-over-period comparison against the prior equal-length window. Default true. Set false for faster response when only current numbers matter. | |
| project | Yes | Project name (case-insensitive, e.g. 'slopbench') or project id from list_projects. |