Biggest tracked-query movers
get_query_moversRanks a project's tracked queries by how much a metric changed between two snapshots — the biggest gainers and losers. Each query is read through its latest check on or before dateTo (an archived project's archive day when earlier) and compared with its latest check on or before the day before dateFrom; a check that came back empty, or a query not active that day, has no figures in that snapshot, and a deleted query has no row at all. asOf.date and asOf.previousDate name the two days. Each row is one tracked query (a single engine + country) with its current position/share/sentiment and the signed trend delta (positive = improved). Sort by one of the trend keys; sortOrder desc = top gainers, asc = top losers. Dates must fall within the data retention window. A call whose reads run past their time budget is refused; narrow the range or filters instead of retrying as is. Answers questions like "which queries moved the most" or "my biggest gains and drops versus last period".
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": {
"organizationId": "<organizationId>",
"projectId": "<projectId>",
"dateFrom": "<dateFrom>",
"dateTo": "<dateTo>"
},
"name": "get_query_movers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| dateTo | Yes | ||
| offset | No | ||
| sortBy | No | which trend delta to rank by | trend_share_of_voice |
| engines | No | allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping | |
| dateFrom | Yes | ||
| countries | No | ISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters | |
| projectId | Yes | ||
| sortOrder | No | desc for top gainers, asc for top losers | desc |
| organizationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ||
| rows | Yes | ||
| total | Yes | ||
| dataDirtySince | No |