Competitor visibility gap
get_competitor_visibility_gapThe prompts where one tracked competitor is mentioned in AI answers more often than the workspace's own brand.
Use this tool as a follow-up to get_competitor_comparison when the user wants to understand WHY a competitor is winning -- phrases like 'why is X beating us', 'where are we losing to X', 'what sources does AI cite for X', or 'how do we beat X'.
Returns: prompts where the competitor leads by at least min_gap_percent percentage points, each with the gap, the AI models that favor the competitor, and the URLs AI cites in those answers (the brand's own pages left out). Use this data for content briefs.
Example: 'Why is Sitoo beating Kassaro, and what sources does AI cite for them?'
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": {
"workspace_id": "<workspace_id>",
"competitor_name": "<competitor_name>"
},
"name": "get_competitor_visibility_gap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, counted back from end_date (default today). Default 30, max 90. Ignored when start_date is given. Prompts are re-run on a schedule, so a window shorter than a week can be empty. | |
| end_date | No | Optional end of the window, as an ISO date (YYYY-MM-DD). Default today. Cannot be in the future. | |
| start_date | No | Optional explicit start of the window, as an ISO date (YYYY-MM-DD). A full ISO datetime is accepted and its date is used. Overrides days. | |
| prompt_limit | No | How many prompts to return. Default 10, max 50. | |
| workspace_id | Yes | The workspace's numeric id, as returned by list_workspaces. | |
| competitor_name | Yes | A tracked competitor's name, as get_competitor_comparison lists it. Case does not matter. | |
| min_gap_percent | No | Smallest lead to report, in percentage points (0-100). Default 5, meaning the competitor appears in at least 5 points more of the answers. |