Competitor comparison
get_competitor_comparisonRank the workspace's own brand against the competitors the user tracks, by visibility: the share of AI answers that mention each brand.
Use this tool when the user asks about competitive position -- phrases like 'how do we compare', 'who's winning', 'where do we rank', or 'vs competitors'. Do NOT use for the own score alone (use get_visibility_score), trends (use get_visibility_trend), or every brand the AI mentions, tracked or not (use get_share_of_voice).
Returns: tracked brands ranked by visibility, the own brand among them. Brands with nothing to measure get no rank. To see WHY a competitor leads, follow up with get_competitor_visibility_gap.
Example: 'How does Kassaro compare to its competitors?'
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>"
},
"name": "get_competitor_comparison"
}
}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. | |
| workspace_id | Yes | The workspace's numeric id, as returned by list_workspaces. | |
| competitor_limit | No | How many competitors to list. Default 5, max 20. |