Review data
get_review_dataThe numbers an AI review of one scope is built on, built by Privatrak: the whole site, one page or one funnel's flow, optionally against a key action (a feature or a funnel). Fixed sections for the scope, each with a plain summary; checks (candidates for what stands out, sorted by the views they affect); and data notes (automated share, origins that began reporting mid-period, a previous period that cannot be compared, bursts). save_review builds the same data again and stores it with the review. Views by people leave out automated visits; flow numbers include them. Dates are the project's calendar days, YYYY-MM-DD (timezone: get_project); timestamps are UTC. Omit from/to for the last 28 complete days, ending yesterday. At most 92 days.
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": "get_review_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD in the project's timezone, inclusive. Default: yesterday, the last complete day. | |
| from | No | First day, YYYY-MM-DD in the project's timezone, inclusive. Default: 27 days before 'to'. At most 92 days. | |
| scope | No | site (the whole project), page (one page: page_origin and page_path) or flow (one funnel's flow: funnel_id). Left out: page when page_origin or page_path is given, flow with funnel_id, otherwise site. | |
| project | No | Project ID, from list_projects. Required when this connection covers more than one project; may be left out when it covers one (and with an API key, which belongs to one project). | |
| funnel_id | No | Scope flow: the funnel's id, from list_funnels. | |
| page_path | No | Scope page: the page's path, exactly as list_pages gives it (e.g. /pricing, or /products/:id rather than one product's URL). It needs page views in the period. | |
| page_origin | No | Scope page: the page's origin, exactly as list_pages gives it (e.g. https://shop.example.com). | |
| goal_feature | No | Optional key action to judge against: a feature name, exactly and case-sensitively as list_features or list_feature_rules gives it. Adds key action clicks per page and the goal_gap check. Not together with goal_funnel_id. | |
| goal_funnel_id | No | Optional key action to judge against: a funnel's id, from list_funnels (a goal, is_goal true, is the natural one); adds its funnel_steps to a site or page review. Not for scope flow, whose funnel is its key action already; not together with goal_feature. |