Skip to main content
Glama

AEO Goal

set_brand_competitors

DestructiveIdempotent

Replace a brand's tracked competitor list. This drives both the Competitors view and what the citation crawler detects. Merges existing website/logo by name and clamps to the plan's competitor cap. Defaults to the active brand. Requires the platform:write scope.

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": {
      "competitors": "<competitors>"
    },
    "name": "set_brand_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
brand_nameNoBrand to set competitors for. Defaults to active.
competitorsYesFull competitor list (replaces existing). Names or {name, website} objects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotent=true, but the description adds real behavior beyond them: existing website/logo values are merged by name, the list is clamped to the plan's competitor cap, and the change propagates to both the Competitors view and the citation crawler. The write-scope requirement is also disclosed, so an agent knows both the side effects and the authorization bar.

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

Conciseness5/5

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

Five short sentences, front-loaded with the action, then consequences, merge behavior, default, and scope. Every sentence carries distinct information with no restatement of the name or title.

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 destructive, no-output-schema mutation with only two parameters, this covers consequences, cap behavior, merge rules, default target, and auth. The only gap is what happens to competitors dropped from the list (history, citation data) and whether an error or silent clamp occurs at the cap boundary.

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 100%, so the baseline is 3, but the description adds meaning the schema does not: that names match against existing entries to preserve website/logo, and that the array is a wholesale replacement rather than an addition. Those merge/replace semantics materially change how an agent should populate the competitors array.

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?

Opens with a specific verb and resource: "Replace a brand's tracked competitor list." It also states the downstream effect (Competitors view and citation crawler), which distinguishes it from read-side siblings like get_competitor_citation_gaps and from additive siblings like add_tracked_keywords.

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 clear context for use: it is a full replacement, it defaults to the active brand, and it requires the platform:write scope, which is an actionable prerequisite. It does not name an alternative or state when not to use it (e.g., appending a single competitor), so it stops short of explicit routing.

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