Search tracked queries
search_tracked_queriesSearch and paginate the tracked queries (keywords) of a project with their latest rank positions and metrics. Filter by status (active/paused), engines, countries, locations (city ids from get_available_filters, or "none" for country level; any location returns only google_serp and google_shopping queries), a free-text search and overdue (active queries whose latest check is older than their check frequency plus one day). Sort by one of: queryText, lastSerpPosition, lastMentionPosition, lastShoppingPosition, lastShareOfVoice, lastPositivityIndex, lastMentionCount, lastCheckedAt. limit is 1-100 (default 20). latestCheckEmpty is true when the query's latest check came back without an answer; its last* positions, mention counts, positivity and share of voice are then null rather than the previous answer's. overdue is true exactly when the overdue filter would select the item, and dueAt is when the query was due for its next check (its latest check plus its check frequency; null when never checked). Answers questions like "list my top queries by share of voice" or "find a specific tracked query".
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>"
},
"name": "search_tracked_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| search | No | ||
| sortBy | No | queryText | |
| status | No | ||
| engines | No | allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode, google_serp, google_shopping | |
| overdue | No | Only active queries whose latest check is older than their check frequency plus one day, the overdue count of get_tracking_coverage and of a report's asOf.overdueQueries | |
| countries | No | ISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters | |
| locations | No | City ids, or "none" for queries at country level; the cities in use are listed by get_available_filters. Any location returns only google_serp and google_shopping queries. | |
| projectId | Yes | ||
| sortOrder | No | desc | |
| organizationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes |