Skip to main content
Glama

Compare Brand Strategy

get_competitive_brief
Read-only

Use this when comparing brands, summarizing ad analysis, identifying winners, finding whitespace, surfacing patterns, or producing takeaways/recommendations from analyzed ads across one or more brands. USE THIS WHEN THE USER ASKS: "compare X vs Y", "what's working in this market", "what should we test next", "where's the gap". Pass factual metadata per ad (id, impressions, start_date, and optionally format and hook_type). Omit hook_type/format if not derived from prior analysis — do not guess. Returns computed signals (hook/format mix, winner concentration, whitespace, cross-brand overlap, recency, own-brand delta) plus a scenario-sized brief structure with selected winners. Costs 1 credit.

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": {
      "brands": "<brands>"
    },
    "name": "get_competitive_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandsYesBrand objects: {name, is_own_brand (true includes all ads, false only winners), ads: [{id (required), impressions, start_date (ISO), format ("image"|"video"|"carousel"), hook_type ("text"|"visual"|"voiceover")}]}. Omit format and hook_type unless derived from analysis. Also accepted: brand_name/page_name for name, ad_ids for ads, ad_id for id, bare ad ids as ads.
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.'
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. Changed1 schema field changed
    • changedInput schema / properties / brands / description
      Previous value: -"Brand objects: {name, is_own_brand (true includes all ads, false only winners), ads: [{id (required), impressions, start_date (ISO), format (\"image\"|\"video\"|\"carousel\"), hook_type (\"text\"|\"visual\"|\"voiceover\")}]}. Omit format and hook_type unless derived from analysis."New value: +"Brand objects: {name, is_own_brand (true includes all ads, false only winners), ads: [{id (required), impressions, start_date (ISO), format (\"image\"|\"video\"|\"carousel\"), hook_type (\"text\"|\"visual\"|\"voiceover\")}]}. Omit format and hook_type unless derived from analysis. Also accepted: brand_name/page_name for name, ad_ids for ads, ad_id for id, bare ad ids as ads."
  3. Changed1 schema field changed
    • addedInput schema / properties / brands / description
      Added value: +"Brand objects: {name, is_own_brand (true includes all ads, false only winners), ads: [{id (required), impressions, start_date (ISO), format (\"image\"|\"video\"|\"carousel\"), hook_type (\"text\"|\"visual\"|\"voiceover\")}]}. Omit format and hook_type unless derived from analysis."
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false) and open-world scope, so the description's added value is the cost disclosure ('Costs 1 credit') and the data-fidelity rule ('do not guess' hook_type/format), both of which are genuinely useful and absent from structured fields. It stops short of saying what happens when analysis is thin or how large the returned brief is relative to scenario size.

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?

Well front-loaded: trigger conditions first, then input requirements, then return shape, then cost. It is dense rather than padded, but the opening list of six use-case phrases and the restatement of schema-level ad fields cost more words than they earn.

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?

For a multi-brand aggregation tool with an output schema, this covers what an agent needs: when to call it, what facts to supply, what it computes, and its credit price. The remaining gap is workflow placement — it never says whether prior ad search/analysis is a prerequisite, which matters because the tool explicitly requires derived hook_type/format.

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 the schema already explains brands, per-ad fields, accepted aliases, and the context/conversation_id conventions. The description restates the ad metadata requirements and the 'omit if not derived' rule, adding reinforcement but no new meaning beyond the schema — the baseline 3 applies.

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 states a specific verb+resource pair (compare brands, produce a brief) and enumerates the computed signals it returns (hook/format mix, winner concentration, whitespace, cross-brand overlap, recency, own-brand delta). That is far more specific than the title alone, though the opening laundry list of use cases ('summarizing ad analysis, identifying winners, finding whitespace, surfacing patterns') blurs the single core function rather than sharpening it.

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 literal trigger phrasings ('compare X vs Y', 'what's working in this market', 'what should we test next', 'where's the gap'), which is unusually concrete routing guidance. It does not name any sibling or state when NOT to use it — e.g. whether to run search_meta_ads first to gather the ads being analyzed — so the agent must infer the upstream workflow.

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