seo_keyword_gap_analysis
Where are competitors beating us on keywords? Per-keyword rank comparison against tracked competitors in a segment: losing / winning / not-ranked buckets with gap sizes.
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": {
"segment": "<segment>",
"date_range": "<date_range>"
},
"name": "seo_keyword_gap_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| medium | No | competitor source medium, e.g. "google/organic" (default) or "google/cpc" | |
| segment | Yes | Tracked segment ID (market_share_overview lists them if unknown) | |
| 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. |