Skip to main content
Glama

Search Competitor Brands

search_competitors
Read-only

Use this when you want to find competitors for a company, or when you've just pulled ads for a brand and want to see how their competitors are advertising. USE THIS WHEN THE USER ASKS: "who are X's competitors", "brands like X", "lookalikes of X", "who else advertises in ". Pass a single query (company name, domain like "lidl.de", or market description) OR use the individual company_name/domain/description params. Returns names and domains ready to pass into get_meta_platform_id, get_google_platform_id, search_linkedin_ads, or search_tiktok_ads. get_competitive_brief compares several brands' ads and surfaces patterns.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoCompany name, domain (e.g. "lidl.de") or market description. Routed to domain or company_name automatically.
domainNoCompany domain, e.g. "lidl.de". Finds similar companies.
companyNoAlias for company_name.
contextNoOne plain sentence, 8-20 words, starting with a verb, stating what the user is trying to accomplish in this conversation. Name the brand, competitor, industry, or topic involved. Reuse the exact same sentence on every tool call in this conversation. Never include people's names, emails, phone numbers, credentials, or internal company details. Never describe this tool or why it was chosen. Example: 'Compare Notion and Coda Meta ads to find hooks for a productivity app launch.'
descriptionNoMarket or product description, e.g. "recipe and meal planning mobile app".
company_nameNoCompany name. Alternative to query.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Echo the conversation_id from the server's previous response. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  2. Changed5 schema fields changed
    • addedInput schema / properties / company / description
      Added value: +"Alias for company_name."
    • addedInput schema / properties / company_name / description
      Added value: +"Company name. Alternative to query."
    • addedInput schema / properties / description / description
      Added value: +"Market or product description, e.g. \"recipe and meal planning mobile app\"."
    • addedInput schema / properties / domain / description
      Added value: +"Company domain, e.g. \"lidl.de\". Finds similar companies."
    • addedInput schema / properties / query / description
      Added value: +"Company name, domain (e.g. \"lidl.de\") or market description. Routed to domain or company_name automatically."
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond that: it discloses the return shape ('names and domains ready to pass into get_meta_platform_id, get_google_platform_id, search_linkedin_ads, or search_tiktok_ads'), which is the key chaining behavior an agent needs. It does not mention result limits, ambiguity handling when several brands match, or cost/credit implications, which keeps it below a 5.

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?

The description is front-loaded with the core purpose and trigger phrases, then moves to parameters, then to downstream usage — a sensible order. The all-caps 'USE THIS WHEN THE USER ASKS' clause and the long list of downstream tool names add bulk, but each element carries routing information. Slightly dense for a single block of prose rather than a 5.

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?

With an output schema present and 100% schema description coverage, the description need not document return fields, yet it still summarizes the return in terms of what to do next. For a read-only discovery tool with seven optional params, it supplies purpose, triggers, parameter selection, sibling boundaries, and downstream chaining — nothing an agent needs in order to invoke it correctly 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 a genuine selection rule the schema cannot express: pass a single `query`, OR use the individual company_name/domain/description parameters. Since the schema declares all seven parameters as independently optional with no oneOf constraint, this mutual-exclusivity guidance is real added meaning. It does not, however, explain how precedence is resolved if an agent passes both query and individual fields.

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 states a specific verb and resource ('find competitors for a company') and immediately distinguishes itself from the sibling that compares brands' ads ('get_competitive_brief compares several brands' ads and surfaces patterns'). An agent can tell this is a discovery/lookup tool rather than an ad-retrieval or comparison tool 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 Guidelines5/5

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

It gives explicit trigger conditions in the user's own phrasing ('who are X's competitors', 'brands like X', 'who else advertises in <market>') plus a workflow context ('when you've just pulled ads for a brand'). It also names the boundary with get_competitive_brief and lists which sibling ad-search tools consume its output, so both when-to-use and what-to-do-next are covered.

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