Skip to main content
Glama

Compare AI search visibility with one competitor and get action items

get_gap_analysis
Read-onlyIdempotent

Compares 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

NameRequiredDescriptionDefault
periodNoOptional start and end date. Defaults to the last 7 days, the period Hi, Moose opens with.
projectNoThe Hi, Moose project, by its name as shown by list_projects. The projectId is also accepted. Optional when the account has one project.
competitorYesThe competitor to compare with, by name or domain. It must be one of the project's tracked competitors (visibility_list_tracked lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare read-only/idempotent/closed-world; the description adds the traits that actually matter: it never runs new checks and reads stored answers, it's gated to paid plans with a stated free-plan outcome, an untracked competitor returns the tracked list instead of a report, and it can take a minute or two. It also flags a scope caveat (numbers cover tracked prompts and engines, not all of AI search).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Long, but front-loaded with purpose and almost every sentence carries distinct load (data source, return contents, error paths, plan gating, tool hand-off, latency). Slight density cost from enumerating output fields in one running sentence rather than as a short list.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the full burden of describing the return value, and it does — share of voice, mention/citation share, per-engine breakdown, topic and source gaps, action-item columns matching the export, and a report link. Error and edge-case behavior are covered too.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so parameters are already documented, including the competitor/tracked-list constraint and the period default. The description adds only the failure behavior for an untracked competitor, not any extra syntax or semantics for period or project. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('compares the brand's AI search visibility with one tracked competitor') plus the three-part return (gap, reasons, prioritised action items). It is clearly distinguishable from visibility_get_summary or visibility_list_opportunities, which don't take a competitor.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete routing: use visibility_list_tracked to find valid competitors, and call create_content_brief/refresh_content/create_faqs/create_key_points only after the user says yes, never before. It also prescribes how to present results (summary, numbers, all action items with reasons, then the link). It falls short of explicitly saying when to prefer this over visibility_get_summary for a competitor-free snapshot.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources