analytics_compare_periods
Compare performance metrics between two date periods for week-over-week or month-over-month analysis. Identify trends and changes in site metrics.
Instructions
Compare performance metrics between two date periods. Useful for week-over-week or month-over-month analysis.
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": {
"siteUrl": "<siteUrl>",
"period1Start": "<period1Start>",
"period1End": "<period1End>",
"period2Start": "<period2Start>",
"period2End": "<period2End>"
},
"name": "analytics_compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | Yes | The URL of the site | |
| period1Start | Yes | Start date of first (current) period (YYYY-MM-DD) | |
| period1End | Yes | End date of first (current) period (YYYY-MM-DD) | |
| period2Start | Yes | Start date of second (comparison) period (YYYY-MM-DD) | |
| period2End | Yes | End date of second (comparison) period (YYYY-MM-DD) |