Skip to main content
Glama

Search Competitor Ads

search_competitor_ads
Read-onlyIdempotent

Ad Spy: find ads other brands are running on Meta (Facebook and Instagram, by keyword), Google (by brand or website; Google ads come without their text) or Pinterest (by brand name), with the advertiser, any headline and text, and a link. Amanah, Iltizam and Ihsan plans only. No credits used. Good for ad ideas before making pictures with place_product or generate_image.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many ads to show.
countryNoTwo-letter country code where the ads ran. Meta: EU countries only (shop ads), or EU for all of them (the default). Pinterest: an EU country, BR or TR (default FR). Google: any one country (default US).
keywordYesWhat to search. Meta: a brand, product or topic, e.g. 'modest fashion'. Google: a brand or website, e.g. 'nike.com'. Pinterest: a brand name.
platformNometa = Facebook and Instagram (Meta Ad Library), google = Google ads, pinterest = Pinterest ads.meta

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / country / default
      Removed value: -"US"
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter country code where the ads ran, e.g. US, GB or AE."New value: +"Two-letter country code where the ads ran. Meta: EU countries only (shop ads), or EU for all of them (the default). Pinterest: an EU country, BR or TR (default FR). Google: any one country (default US)."
    • changedInput schema / properties / keyword / description
      Previous value: -"Brand, product or topic to search, e.g. 'modest fashion' or 'dates'."New value: +"What to search. Meta: a brand, product or topic, e.g. 'modest fashion'. Google: a brand or website, e.g. 'nike.com'. Pinterest: a brand name."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the description focuses on value-add: zero credit cost, plan restriction, and the important caveat that Google ads come without their text. It also lists the return fields (advertiser, headline, text, link), removing ambiguity about output shape despite no output schema.

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?

Front-loads the core purpose in the first sentence, then adds short constraint sentences. Parenthetical platform details make the first sentence dense, but every clause carries information; nothing is wasted.

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 4-parameter read-only tool with full schema coverage and annotations, the description covers cost, eligibility, platform-specific limitations, and return fields. Minor gap: it doesn't clarify that only one platform is queried per call (implied by the single enum parameter).

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 coverage is 100%, with per-platform defaults and country constraints already documented in the schema. The description's phrase 'by keyword / by brand or website / by brand name' reinforces but does not extend the schema's parameter documentation, so the baseline 3 applies.

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?

Names a specific verb and resource ('find ads other brands are running') and enumerates the three supported platforms with their respective search semantics. Clearly distinct from siblings like search, search_vault, and list_viral_youtube_videos.

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 plan gating ('Amanah, Iltizam and Ihsan plans only'), cost ('No credits used'), and a concrete usage scenario ('good for ad ideas before making pictures with place_product or generate_image'). It stops short of an explicit exclusion versus the general-purpose search sibling.

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