Site stats
site_statsSummary stats for one site: top_pages (visits per page, last 30 days), visits, clicks (clicks to merchants), clicks_by_merchant, or top_products (most clicked). Totals only, never single visitors.
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": {
"site_id": "<site_id>",
"report": "<report>"
},
"name": "site_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Number of periods, ending now. Default 30. | |
| period | No | Size of each period, for visits and clicks. Default day. | |
| report | Yes | ||
| site_id | Yes | The site id from list_sites. |