Skip to main content
Glama

Add competitor

add_competitor

Add a competitor to a project by domain or URL; the next scan mines its affiliates deep. Same rules as the Competitors page: the plan's competitor cap (too_many) and a brand already on the list (already_tracked). Undo with remove_competitor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoHow the brand is written, e.g. "AI Allure"; used when its homepage gives no fitting name.
app_idNoProject id from list_apps. Omit to use your most recently added project.
domainYesThe competitor's domain or URL, e.g. rival.com.
confirmNoSet true after the user confirmed an action the guard flagged as hard to undo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare write, non-destructive, non-idempotent, and closed-world behavior. The description adds specific behavioral context beyond that: the next scan mines affiliates deep, the exact error conditions too_many and already_tracked, and the undo tool remove_competitor.

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, front-loaded with purpose, then constraints, then undo. Every sentence earns its place with no 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?

For a write tool with full schema coverage and annotations covering its safety profile, the description supplies error codes, scan impact, and undo path. Nothing needed to call it correctly is missing.

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 all four parameters are fully documented in the schema. The description adds only 'by domain or URL' for the required domain, which matches schema text and provides no additional syntax or format 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?

Clearly states the verb (add), resource (competitor), and method (by domain or URL). It does not explicitly contrast with the sibling add_suggested_competitor, so sibling differentiation is implied rather than stated.

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: same rules as the Competitors page, plan cap (too_many), duplicate brand (already_tracked), and the undo path via remove_competitor. It does not explicitly say when to choose this over add_suggested_competitor, but the constraints and reversibility guidance are strong.

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