Skip to main content
Glama
meta-ad-library-mcp

meta-ad-library-mcp

analyze_competitor_ads

Analyze a competitor’s Meta ads to reveal longest-running creatives, media mix, top headlines, recurring hooks, and calls to action for marketing intelligence.

Instructions

Deep marketing intelligence analysis on a competitor. Analyzes their longest-running ads, video vs. image split, top headlines, recurring hooks, and calls to action.

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": {
      "brandName": "<brandName>"
    },
    "name": "analyze_competitor_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNameYesThe exact brand or advertiser name to analyze (e.g. "Nike", "Shopify", "Hims").
sampleSizeNoNumber of active ads to sample for the intelligence report (up to 50). Defaults to 25.
countryCodeNoTarget country code (e.g. "US", "GB"). Defaults to "US".US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully states what dimensions get analyzed (and implies an aggregated, synthesized result rather than raw records), but says nothing about cost, latency, permissions, or that analysis is limited to active ads sampled in the given country.

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?

Two sentences, front-loaded with the core purpose and followed by a compact enumeration of the report contents. No filler, hedging, or repetition of the tool name.

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 does the needed work by listing the analysis dimensions an agent can expect back. It stops short of indicating the shape of the response (narrative vs. structured) or depth/latency, which is a minor gap for a no-annotation analytical 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 every parameter (brandName, sampleSize with its 25/50 bounds, countryCode) is already documented in the schema. The description adds no further meaning about how brandName must match advertiser naming or how countryCode affects results, so 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 names a specific verb and resource ('Deep marketing intelligence analysis on a competitor') and enumerates the concrete outputs: longest-running ads, video vs. image split, top headlines, recurring hooks, and calls to action. An agent can tell this is an analytical report generator rather than a raw ad lookup, which separates it from a search-style sibling, though it never names an alternative explicitly.

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?

The phrase 'Deep marketing intelligence analysis' implies a heavier analytical use case versus a plain ad search, but there is no explicit when-to-use, when-not-to-use, or prerequisite statement. An agent must infer the choice against the sibling ad-lookup tools rather than being told.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.