get_metrics_multi_compare
Get metrics with MULTIPLE comparisons at once. Perfect for questions like 'Show me revenue WoW and YoY' or 'Compare this week to last week and same week last year'. Returns { period, metrics, comparisons, charts, presentation }. charts is an array of grouped-bar specs (one per headline metric) with 3+ bars each (current + each comparison period). DEFAULT TO RENDERING THE RELEVANT CHART for multi-period questions — bars side-by-side communicate the deltas instantly. Pull each comparison's % change from its changes object for captions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _offset | No | Pagination offset. If a response includes _pagination.hasMore=true, use _offset to fetch the next page. | |
| endDate | Yes | End date of current period (YYYY-MM-DD) | |
| startDate | Yes | Start date of current period (YYYY-MM-DD) | |
| comparisons | No | List of comparison types to include (default: ['wow', 'yoy']) | |
| customComparisons | No | Custom comparison periods (e.g., last year's sale period) |