Skip to main content
Glama

search_competitors

Read-only

Search for competitors/advertisers available in Yirla by name. Returns matching advertiser names you can use with analyze_competitor or add_to_watchlist. Useful when you're not sure of the exact spelling. Yirla is read-only: it never creates, edits, publishes or changes campaigns, ads, bids, budgets or creative on any ad platform. If the user asks for any of those actions, say plainly that Yirla can't do that, and offer to run an analysis instead.

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": {
      "query": "<query>"
    },
    "name": "search_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1–50).
queryYesPartial or full advertiser name to search for.
platformNoPlatform to search on.linkedin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the read-only paragraph largely restates structured data. It does add genuinely new behavioral guidance beyond annotations — the specific instruction to state plainly that Yirla can't perform write actions and to offer an analysis instead. However, it says nothing about result ordering, behavior when no matches are found, or how the platform parameter affects the lookup.

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

Conciseness3/5

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

The functional sentences are front-loaded and efficient — purpose, return value, follow-on tools, and the spelling hint all land in the first two sentences. Roughly half the text is then spent on a read-only policy paragraph that repeats the readOnlyHint annotation, diluting the useful content. Trimming or moving that boilerplate would sharpen the definition.

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?

No output schema exists, and the description compensates by stating the return value is matching advertiser names. For a simple 3-parameter lookup with full schema coverage, the agent has enough to call it correctly and know what to do next with the results. Only the empty-result and result-ordering behavior remain unstated.

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%, with all three parameters documented including the platform enum and the 1–50 limit range, so the schema carries the burden. The description only reinforces that matching is name-based and tolerant of partial spelling, matching the schema's own "Partial or full advertiser name" wording. It adds no detail on how platform changes results or what limit does to ranking.

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 and resource ("Search for competitors/advertisers available in Yirla by name") and immediately names what it returns ("matching advertiser names"). It also distinguishes itself from siblings by naming the tools the output feeds into (analyze_competitor, add_to_watchlist), so an agent can place it in the workflow without opening other schemas.

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 a concrete selecting condition: "Useful when you're not sure of the exact spelling," which tells the agent to search first when the name is uncertain. It also directs downstream usage to analyze_competitor and add_to_watchlist. It does not state when NOT to use it (e.g., when the exact name is known, or versus compare_competitors), so it falls short of full when/when-not guidance.

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