Skip to main content
Glama

Set Competitor Aliases

set_competitor_aliases
Idempotent

Replaces a competitor's other names (up to 5). An AI answer that uses its name or any alias counts as naming it, in past weeks' answers too. Trims each name, drops duplicates and the competitor's own name; an empty list goes back to the name only. Related: list_competitors, get_competitor_scorecard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aliasesYesThe full list of other names, like ["Casita"] for "Casita Builders". Replaces the current list.
competitorIdYesCompetitor id from list_competitors.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
competitorYes

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 declare a non-read, idempotent, non-destructive mutation; the description goes well beyond them by disclosing that the list is fully replaced (not appended), that aliases count as naming the competitor in past weeks' answers, and that names are trimmed, deduplicated, self-name-stripped, and that an empty list resets to name-only. These side-effect details are exactly what annotations cannot convey.

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?

Three tight sentences, no filler. The replacement/limit fact is front-loaded, behavioral edge cases follow, and the affinity links sit at the end where they belong.

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 two-parameter mutation with a full output schema, the description covers the mutation semantics an agent needs. It is slightly thin on practical details such as what happens if more than 5 aliases are supplied or whether the update takes effect immediately in scoring, but nothing critical is missing.

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 real semantics the schema lacks: the maximum of 5 aliases, the normalization rules applied to each entry, and the empty-list reset behavior. It does not restate the schema's own example format, but the added constraints are meaningful.

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 ('replaces') plus the exact resource ('a competitor's other names') and even the cardinality limit (up to 5). An agent can immediately distinguish this from list_competitors or get_competitor_scorecard, which are read operations.

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

Usage Guidelines3/5

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

The 'Related: list_competitors, get_competitor_scorecard' line hints at the workflow (get the id, then set aliases), but it never states when to use this versus alternatives such as track_competitor or untrack_competitor. Usage is implied rather than prescribed.

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