Skip to main content
Glama

manage_competitors

Destructive

Add or remove competitor brands tracked in a client's AI Visibility (competitors set the Share-of-Voice denominator), optionally with a website domain (used by the GEO-audit crawler benchmark, which always reads the project's own list) or brand aliases (alternate spellings counted as the same brand). Every market tracks the project's competitors unless it has its own list. market changes one market's own list (its first change starts from the project's list); without it the project's list changes, which every market without its own list tracks (the preview names those markets); market plus resetMarket:true puts a market back on the project's list. A market's list affects that market's Share of Voice only. Changing competitors rebases Share of Voice, so an internal timeline note is written. Requires MCP write actions; without confirm:true it returns a preview.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoCompetitor brand names to start tracking. A URL or a domain is tracked under its bare domain ("https://www.example.com/" → "example.com") with that domain as its website; a brand name is preferred, since answers are matched by name.
marketNoA market of the project, as a locale ("de-DE", "en-US"; marketsInWindow of get_ai_visibility_metrics lists them): change that market's own competitors only. Omit to change the project's competitors.
removeNoCompetitor brand names to stop tracking (case-insensitive match).
aliasesNoCanonical brand name → alternate spellings counted as the same brand, e.g. { "Peec AI": ["Peec"] }. With market: only that market's competitors (the client's own aliases are the project's).
confirmNoSet true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken.
domainsNoCompetitor name → website domain, e.g. { "Peec AI": "peec.ai" }. Merged into the tracked set.
clientIdNoClient id (from list_clients) — alternative to projectId.
projectIdNoAI-visibility project id.
resetMarketNoWith market: true puts the market back on the project's competitors (its own list, websites and aliases are cleared). add, remove, domains and aliases are then ignored.
previewTokenNoWith confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / aliases / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / domains / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / add / description
      Previous value: -"Competitor brand names to start tracking. A URL or a domain is tracked under its bare domain (\"https://www.example.com/\" → \"example.com\") with that domain as its website; give the brand name instead when you know it, since answers are matched by name."New value: +"Competitor brand names to start tracking. A URL or a domain is tracked under its bare domain (\"https://www.example.com/\" → \"example.com\") with that domain as its website; a brand name is preferred, since answers are matched by name."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With destructiveHint=true already declared, the description still adds real value: changes rebase Share of Voice, an internal timeline note is written, MCP write actions are required, and without confirm:true the call only returns a preview whose previewToken is single-use. It also flags that resetMarket causes add/remove/domains/aliases to be ignored — a non-obvious side effect.

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

Conciseness3/5

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

Purpose is front-loaded, but the middle is a tangle of stacked parentheticals about market inheritance, GEO-audit crawling, and aliasing that must be re-read. Every fact is relevant, yet the inheritance rules would be far clearer as separate short sentences or bullets.

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

Completeness4/5

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

For a 10-parameter destructive mutation with no output schema, the description covers the preview/confirm flow, inheritance rules, and metric side effects well. It does not say how duplicate or already-tracked brands in `add` are handled, nor what the preview actually contains beyond naming markets.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the description still adds semantics the schema does not, notably that a market's first change starts from the project's list and that the preview names the inheriting markets. Domain normalization and alias scoping are largely mirrored from the schema, so it stops short of 5.

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?

Opens with a specific verb pair and resource ('Add or remove competitor brands tracked in a client's AI Visibility') and even explains the metric consequence (Share-of-Voice denominator). It never distinguishes itself from the similarly named sibling manage_rank_competitors or from suggest_competitors, so an agent must infer the boundary.

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 rules: use `market` to change one market's list, omit it to change the project list, and `market` + `resetMarket:true` to revert. It also states the confirm/preview workflow. It offers no guidance on when to prefer suggest_competitors or manage_rank_competitors instead.

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