get_stats
Retrieves pageviews, visitors, visits, bounces, and total time for a date range, comparing each metric against the previous equal-length period.
Instructions
Pageviews, visitors, visits, bounces, and total time for a date range.
Each number is compared with the previous period of the same length. website is an id, name, or domain. date_range accepts today, 7d, 30d, this month, or ISO dates. timezone is an IANA name; the default is America/New_York unless UMAMI_TIMEZONE 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": {
"website": "<website>"
},
"name": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | ||
| path | No | ||
| event | No | ||
| device | No | ||
| browser | No | ||
| country | No | ||
| website | Yes | ||
| referrer | No | ||
| timezone | No | ||
| date_range | No | 7d |