Compare AI search visibility with one competitor and get action items
get_gap_analysisCompares the brand's AI search visibility with one tracked competitor and returns the gap, the reasons, and a prioritised action item list. It reads the answers Hi, Moose already stored for the period and never runs new checks. The result has share of voice for both brands, how often each is named in answers, mention share and citation share, share of voice by engine, the topics where the competitor is named more, the sources cited in answers that name the competitor and not the brand, the action items as rows (priority, action, why, type, topic, engines, sources, status: the same columns as the Excel and CSV export in Hi, Moose), and a link that opens the same report in Hi, Moose. If the competitor is not tracked for the project, no report runs: the tool returns the tracked competitors so you can ask the user which one they meant. The report is part of paid plans; on a free plan no report runs and the tool says so. Give the user the summary, the numbers and every action item with its reason, then the link. The numbers describe the tracked prompts on the tracked engines, not the whole of AI search. Where a Hi, Moose tool does the work of an action item (create_content_brief, refresh_content, create_faqs or create_key_points), the item carries that tool and its arguments: offer to start it in the chat and call it when the user says yes, never before. Takes up to a minute or two.
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": {
"competitor": "<competitor>"
},
"name": "get_gap_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Optional start and end date. Defaults to the last 7 days, the period Hi, Moose opens with. | |
| project | No | The Hi, Moose project, by its name as shown by list_projects. The projectId is also accepted. Optional when the account has one project. | |
| competitor | Yes | The competitor to compare with, by name or domain. It must be one of the project's tracked competitors (visibility_list_tracked lists them). |