Skip to main content
Glama
GEO MCP by DigestSEO

GEO MCP by DigestSEO

Compare competitor AI visibility

compare_competitors
Read-only

Compare brand and competitor mentions and share of voice over a selected period, with options to exclude retired prompts and report coverage or tracking caveats.

Instructions

Compare brand/competitor mentions and share of voice. active_prompts_only=true excludes retired prompts; default keeps history. Unmeasured coverage and tracking caveats are reported. Example: brand_id='acme', days=7.

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": {
      "brand_id": "<brand_id>"
    },
    "name": "compare_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoPrevious days to compare.
brand_idYesTracked brand ID to compare.
competitor_domainsNoCompetitor domains; omit to use the brand's configured list.
active_prompts_onlyNoExclude observations for retired prompts; default keeps the full historical comparison window.

Output Schema

NameRequiredDescriptionDefault
daysYes
brand_idYes
competitorsYes
your_mentionsYes
prompts_you_winYes
prompt_set_scopeYes
prompts_brand_onlyYes
comparison_semanticsYes
identity_attributionYes
observation_coverageYes
prompts_co_mentionedYes
google_search_samplingYes
your_share_of_voice_pctYes
historical_coverage_noteYes
outside_current_trackingYes
requested_competitor_domainsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.3.31
    • addedInput schema / properties / active_prompts_only
      Added value: +{
      +  "default": false,
      +  "description": "Exclude observations for retired prompts; default keeps the full historical comparison window.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / days / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / comparison_semantics
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / google_search_sampling
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "country": {
      +          "const": "us",
      +          "type": "string"
      +        },
      +        "engines": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "language": {
      +          "const": "en",
      +          "type": "string"
      +        },
      +        "scope_note": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "engines",
      +        "country",
      +        "language",
      +        "scope_note"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / historical_coverage_note
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / identity_attribution
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "excluded_responses": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "last_identity_change_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "last_identity_change_at",
      +    "excluded_responses",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / observation_coverage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "note": {
      +      "type": "string"
      +    },
      +    "per_engine": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "distinct_prompts": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "distinct_runs": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "engine": {
      +            "type": "string"
      +          },
      +          "last_observed_at": {
      +            "type": "string"
      +          },
      +          "successful_responses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "engine",
      +          "successful_responses",
      +          "distinct_runs",
      +          "distinct_prompts",
      +          "last_observed_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "enum": [
      +        "not_compared",
      +        "no_observations",
      +        "observed"
      +      ],
      +      "type": "string"
      +    },
      +    "successful_responses": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "successful_responses",
      +    "per_engine",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / outside_current_tracking
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / prompt_set_scope
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "active_prompt_count": {
      +      "anyOf": [
      +        {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "excluded_observations": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "selection": {
      +      "enum": [
      +        "full_window",
      +        "active_only"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "selection",
      +    "active_prompt_count",
      +    "excluded_observations",
      +    "note"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / prompts_brand_only
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "competitors_cited": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "prompt": {
      +        "type": "string"
      +      },
      +      "you_cited_by": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "you_cited_by",
      +      "competitors_cited"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / prompts_co_mentioned
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "competitors_cited": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "prompt": {
      +        "type": "string"
      +      },
      +      "you_cited_by": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "prompt",
      +      "you_cited_by",
      +      "competitors_cited"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "brand_id",
      -  "days",
      -  "your_share_of_voice_pct",
      -  "your_mentions",
      -  "competitors",
      -  "prompts_you_win",
      -  "requested_competitor_domains"
      -]New value: +[
      +  "brand_id",
      +  "days",
      +  "identity_attribution",
      +  "observation_coverage",
      +  "google_search_sampling",
      +  "comparison_semantics",
      +  "historical_coverage_note",
      +  "outside_current_tracking",
      +  "prompt_set_scope",
      +  "your_share_of_voice_pct",
      +  "your_mentions",
      +  "competitors",
      +  "prompts_you_win",
      +  "prompts_brand_only",
      +  "prompts_co_mentioned",
      +  "requested_competitor_domains"
      +]
  2. Changed3 schema fields changedv0.3.23
    • changedInput schema / properties / brand_id / description
      Previous value: -"Stable identifier of the tracked brand to compare."New value: +"Tracked brand ID to compare."
    • changedInput schema / properties / competitor_domains / description
      Previous value: -"Optional competitor domains to compare; otherwise use the brand's configured competitors."New value: +"Competitor domains; omit to use the brand's configured list."
    • changedInput schema / properties / days / description
      Previous value: -"Number of previous days to include in the comparison."New value: +"Previous days to compare."
  3. Changed4 schema fields changedv0.3.8
    • addedOutput schema / properties / competitors / items / properties / mentions
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / properties / competitors / items / required
      Previous value: -[
      -  "domain",
      -  "share_of_voice_pct",
      -  "prompts_won_against_you"
      -]New value: +[
      +  "domain",
      +  "share_of_voice_pct",
      +  "mentions",
      +  "prompts_won_against_you"
      +]
    • addedOutput schema / properties / your_mentions
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "brand_id",
      -  "days",
      -  "your_share_of_voice_pct",
      -  "competitors",
      -  "prompts_you_win",
      -  "requested_competitor_domains"
      -]New value: +[
      +  "brand_id",
      +  "days",
      +  "your_share_of_voice_pct",
      +  "your_mentions",
      +  "competitors",
      +  "prompts_you_win",
      +  "requested_competitor_domains"
      +]
  4. First observedv0.3.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and a closed-world scope, so the safety profile is covered. The description adds that unmeasured coverage and tracking caveats are reported back, which is useful behavioral context, but does not address cost, latency, or result limitations beyond that.

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?

Four short sentences, front-loaded with the purpose and ending with a concrete example, with no filler. There is mild redundancy with the schema on the active_prompts_only default.

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

Completeness3/5

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

With full schema coverage, an output schema, and read-only annotations, most structured information is already supplied. The notable missing piece is routing guidance against the several visibility-related siblings, which matters for a comparison tool in a crowded namespace.

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 description coverage is 100%, so the baseline is 3. The description restates active_prompts_only's default behavior already documented in the schema and offers an example call ('brand_id=acme, days=7'), adding illustrative but not new semantic detail.

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

Purpose4/5

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

The first sentence gives a specific verb ('Compare') and resource ('brand/competitor mentions and share of voice'), which is far more informative than the title alone. It does not distinguish this from siblings like check_visibility or get_visibility_history, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no mention of when to prefer a sibling such as check_visibility or get_visibility_history. The only conditional text ('active_prompts_only=true excludes retired prompts') describes a parameter, not tool selection.

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