Skip to main content
Glama

compare_competitors

Read-only

Compares 2–5 competitors side-by-side. Returns a complete, pre-formatted report with 5 sections: Persona differences, Messaging differences, Offer differences, Creative format differences (ad counts per format per competitor), and White-space opportunities. 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": {
      "competitor_names": "<competitor_names>"
    },
    "name": "compare_competitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoPlatform to analyse.linkedin
competitor_namesYes2–5 competitor names. e.g. ["Gong", "6sense"]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already carry readOnlyHint=true, destructiveHint=false and openWorldHint=false, and the description adds genuinely new context: it enumerates the exact five report sections returned and handles the refusal path for write-request follow-ups. The read-only restatement is partly redundant with annotations, but the section inventory and refusal script go beyond structured data.

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?

Purpose and output shape are front-loaded in the first two sentences, followed by the safety/refusal paragraph. Every sentence carries weight: the section list sets expectations and the refusal script defines a concrete fallback behavior.

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?

With no output schema, the description compensates by enumerating the five returned sections and per-format ad counts. It leaves minor gaps such as whether platform selection alters the report, but overall it is complete enough for a two-parameter analytics tool.

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 both parameters are already documented in the schema, including the 2–5 item bounds and platform enum. The description reinforces the 2–5 range but adds no meaning about the platform parameter or the default behavior beyond what the schema states.

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?

The description opens with a precise verb and resource ("Compares 2–5 competitors side-by-side") and bounds the scope to 2–5 names, which implicitly distinguishes it from single-competitor siblings like analyze_competitor. It never names an alternative explicitly, so it stops just short of full sibling differentiation.

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?

Usage is implied by the 2–5 competitor range and the multi-competitor 'side-by-side' framing, so an agent can infer this is the multi-competitor path. There is no explicit when-not-to-use guidance or routing to search_competitors / analyze_competitor for different cases.

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