gsc_alerts
What changed sharply enough to be worth a message today.
Instructions
What changed sharply enough to be worth a message today.
Compares the last window_days against the window before (or a year
earlier) across queries and pages, and returns only movements past fixed
alerting rules, listed in the meta: lost positions, collapsed CTR, dropped
or vanished pages. The window ends on the last day with final data.
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_url": "<site_url>"
},
"name": "gsc_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | web, image, video, news, discover or googleNews. | web |
| compare | No | Baseline: `previous` (the equally long period before) or `year` (the same period a year earlier; whole months map to the same months). | previous |
| date_to | No | End date YYYY-MM-DD. Defaults to today. | |
| filters | No | Narrow the data first: list of {dimension, operator, expression}, e.g. {"dimension":"page","operator":"contains","expression":"/blog/"}. Dimensions: query, page, country, device, searchAppearance. Operators: equals, notEquals, contains, notContains, includingRegex, excludingRegex. All must match. | |
| no_cache | No | ||
| site_url | Yes | `sc-domain:example.com` for a domain property, or `https://example.com/` with the trailing slash for a URL-prefix property. Call gsc_sites if unsure. | |
| row_limit | No | Rows returned, capped at 1000. | |
| window_days | No | Length of the window to compare. | |
| response_format | No | `tsv` (default, compact) or `json`. | tsv |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |