Skip to main content
Glama

Add competitor

add_competitor
DestructiveIdempotent

Start tracking a competitor for an extension.

Takes the store and id of a search_catalog row (as external_id), so a listing you just found can be promoted without looking anything up in between.

Promoting a listing is what earns it a store fetch: its description, install count, rating and languages start being recorded, and its position is kept even on days it falls out of the results entirely. Where it ranks has been recorded all along, from the searches this account already runs — so a competitor added today arrives with history rather than starting from zero.

The description is not available when this returns. Call list_competitors with the same extension_id until this competitor's status turns from "pending" to "scraped".

At most 5 competitors per store on the Free plan and 20 on Premium, because each costs a fetch of that store on every refresh. The two stores are counted separately. On plan_limit_reached explain the cap and offer upgrading, or ask which competitor in that store the user wants removed. Never remove automatically or retry unchanged.

Needs an ExtensionDash account: sign in from your app, e.g. claude mcp login extensions-dashboard or codex mcp login extensions-dashboard.

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": {
      "extension_id": "<extension_id>",
      "store": "<store>",
      "external_id": "<external_id>"
    },
    "name": "add_competitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeYes
external_idYesChrome's 32-letter id or the AMO slug, as a search_catalog row's id gives it.
extension_idYesFrom list_extensions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / external_id / description
      Previous value: -"Chrome's 32-letter id or the AMO slug, exactly as search_store returns it."New value: +"Chrome's 32-letter id or the AMO slug, as a search_catalog row's id gives it."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only flag destructive/idempotent/openWorld; the description explains what the quota cost actually buys (description, install count, rating, languages start being recorded; rank history is backfilled) and that the description is NOT returned by this call. That is exactly the behaviour an agent cannot infer from readOnlyHint=false or destructiveHint=true.

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?

Front-loaded with the core action, then sequencing, then limits, then auth — a sensible order. Some sentences run long (the store-fetch payoff paragraph) and the hard-wrapped lines add noise, but nearly every sentence carries operational information rather than filler.

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?

No output schema exists, yet the description tells the agent the description is unavailable on return, that a status poll is required, and how to handle the plan-limit error — covering the full call lifecycle for a mutation tool. The auth requirement is stated with concrete login commands.

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 67%, with store and external_id already documented in the schema. The description adds the mapping the schema does not: store+external_id identify a search_catalog row so a just-found listing can be promoted without a lookup in between. It does not spell out the chrome-vs-firefox enum values, but the enum is self-documenting.

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?

"Start tracking a competitor for an extension" gives a specific verb and resource, and the body immediately distinguishes it from add_extension (promoting an existing catalog listing, not creating a new record). It also names the sibling rows it consumes (search_catalog) so the agent knows which other tool feeds it.

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

Usage Guidelines5/5

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

Explicit on where inputs come from (search_catalog row's store and id, extension_id from list_extensions), on what to do after the call (poll list_competitors until status goes pending -> scraped), and on the failure path: on plan_limit_reached, explain the cap and offer upgrade or ask which competitor to remove. It even states the negative behaviour — never remove automatically, never retry unchanged.

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