Get Umami Stats
umami_get_statsRetrieve summarized Umami analytics for a website: pageviews, visitors, visits, bounces, total time, and growth comparisons. Requires website ID and date range; supports filters like path, referrer, and browser.
Instructions
Get summarized Umami stats for a website and time range. Returns pageviews, visitors, visits, bounces, totaltime, and comparison data.
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>",
"startAt": "<startAt>",
"endAt": "<endAt>"
},
"name": "umami_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| websiteId | Yes | Umami website ID. Use umami_list_websites or umami_find_website first if you do not know it. | |
| startAt | Yes | An ISO 8601 datetime string or a millisecond timestamp. Example: 2026-04-23T00:00:00+08:00 or 1776873600000. | |
| endAt | Yes | An ISO 8601 datetime string or a millisecond timestamp. Example: 2026-04-23T00:00:00+08:00 or 1776873600000. | |
| filters | No | Optional filter object shared by Umami analytics endpoints. |