significance_check
Is the −72% period-over-period change real, or just noise? Tests whether a metric's distribution in the selected period is statistically different from the comparison period — fetches per-bucket values for each period, picks Welch's t-test (n≥8) or Mann–Whitney U (small n), and returns delta, deltaPct, pValue, and whether the change is significant at the given alpha. GSC metrics default to google/organic + web; use metric.filters traffic_source/search_type to request paid, all-source, or another search type. Use for "is this drop real?", "is the lift statistically significant?", "did the trend change meaningfully?", and for "is my share significant?" / "is your share significant?" / "is our share significant?". Those share questions are the customer's market share: pass metric { domain: "market_share", metric: "share" } (aliases: my share, your share, our share, own share, market_share). "Your" does not mean the assistant has no share. The verb resolves the alias to the customer's tracked share column and fails closed when that rank is above 40 — do not invent a column or pass a raw metric name. Two governed reads, pure statistics — no compute engine needed.
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": {
"metric": "<metric>",
"date_range": "<date_range>",
"comparison_range": "<comparison_range>"
},
"name": "significance_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Significance threshold (default 0.05). The change is flagged as significant when pValue < alpha. | |
| metric | Yes | The metric to test for a significant change — which domain it comes from, the metric name, and any scoping (segment, filters). | |
| date_range | Yes | Explicit date range, e.g. "2026-05-01 to 2026-05-31". Both endpoints are INCLUSIVE — the END day is covered (a 7-day range = 7 days). Quattr weeks run Sunday–Saturday; for "last week" use the most recent complete Sun–Sat span. | |
| granularity | No | Time bucket size for the per-bucket series used in the test: day (default), week, or month. More buckets = more statistical power. | day |
| comparison_range | Yes | Explicit comparison date range to test against, e.g. "2026-04-01 to 2026-04-30". Both endpoints inclusive. |