Annotations
matomo_annotationsRetrieve Matomo timeline annotations for a date range to correlate traffic changes with events like deployments or campaigns. Defaults to the last 30 days.
Instructions
Annotations placed on the Matomo timeline (deploy markers, campaign launches, notes) for a date range — correlate traffic changes with what happened when. Defaults to the last 30 days.
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>"
},
"name": "matomo_annotations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date or range to fetch annotations for: 'today', 'yesterday', 'YYYY-MM-DD', a rolling window like 'last30'/'last90', or 'YYYY-MM-DD,YYYY-MM-DD'. | last30 |
| period | No | Aggregation period for the report. | day |
| site_id | Yes | Numeric Matomo site ID. If unknown, call matomo_list_sites first. |