website_stats
Summarizes website analytics metrics over a date range, showing pageviews, visitors, visits, bounces, and total time with prior-period comparisons.
Instructions
Summary metrics for one website over a date range: pageviews, visitors, visits, bounces, total time (each with the prior-period value for comparison).
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": {
"websiteId": "<websiteId>"
},
"name": "website_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endAt | No | Range end, ISO date. Optional; defaults to now. | |
| startAt | No | Range start, ISO date. Optional; defaults to 7 days ago. | |
| websiteId | Yes | The website id, from list_websites. |