Read analytics
read_analyticsTotals for the current project: widget count, page views, completions, conversion percentage, lead count and how many have unsubscribed. Conversion is completions divided by views as a whole percentage; with no views yet it reads 0, which means NO DATA rather than a failure. Completions is not leads — an announcement-bar or an ungated calculator completes without capturing an address. Pass from and to (epoch milliseconds, both) for a date range: the response then also carries that window and the same-length window before it (views, leads, conversions, revenue in cents), plus leads by device and by UTM source. Leads marked bad are excluded from those figures.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| project | No | A project id from list_projects. Runs this call in that project instead of the connection default. |