Skip to main content
Glama

Discover competitors

discover_competitors

Finds (or refreshes) this brand's competitor set: reads its own site research, searches Google Places for nearby businesses in the same category, resolves each one's public Instagram/Facebook handle, and scores them. Meant to be re-run occasionally, not on every call — safe to call again any time, it updates the existing set rather than duplicating it. A brand with no site research yet, or a national/online brand, gets back its existing set (if any) and an honest reason instead of a new one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brandIdYesThe brand's id, from list_brands.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover the write/safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds real behavioral context beyond them: the multi-step external pipeline, non-duplication on re-run, and honest fallback when prerequisites are absent. The claim that it 'updates the existing set rather than duplicating it' sits in mild tension with idempotentHint=false, though this is not a flat contradiction.

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 sentences, front-loaded with the core action and pipeline, followed by re-run guidance and edge-case behavior. Dense and purposeful; no filler or restated name/title noise.

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?

Despite no output schema, the description explains what is returned in normal and degraded cases ('gets back its existing set... and an honest reason instead of a new one'), which is exactly the return-value information an agent needs. Combined with the annotated safety profile, nothing material is missing for correct invocation.

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?

Only one parameter (brandId) and the schema already documents it fully (100% coverage, including the 'from list_brands' provenance). The description references 'this brand' but adds no format, constraint, or sourcing detail beyond the schema, so the baseline of 3 applies.

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?

The description names a specific verb+resource ('Finds or refreshes this brand's competitor set') and lays out the exact pipeline (site research → Google Places search → Instagram/Facebook handle resolution → scoring). It is clearly distinguishable from the sibling list_competitors, which is the read-only counterpart. An agent can tell what this does without opening any schema.

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?

It gives explicit when/when-not guidance ('Meant to be re-run occasionally, not on every call') and discloses the non-duplicating re-run behavior, plus two failure modes (no site research, national/online brand) with the resulting fallback. It stops short of naming list_competitors as the alternative for simply viewing the set, so the routing is implied rather than stated.

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.