Analytics
analyticsRun any report on the site's traffic: overview, realtime, channels, ai_search, sources, landing_pages, pages, shipped_work, ai_crawlers, conversions, errors, timeseries, funnels, page_flow, users, user. AI Search is its own channel, broken out per engine, and shipped work is a dimension. users: the people the product's own server reports (POST /t/u, routines/users.md): signups, activation (the users_activation rule), active and paying people, weekly cohorts, and each person with what they did and where they came from; user (with user): one person's timeline. Default period: the last 28 days. Free.
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": {
"report": "<report>"
},
"name": "analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD | |
| from | No | YYYY-MM-DD | |
| user | No | user report only: the product's own id for the person | |
| limit | No | ||
| metric | No | timeseries only | |
| report | Yes | ||
| siteId | No | ||
| compare | No | Also the previous period of the same length | |
| filters | No | ||
| interval | No | timeseries only |