MCP tool · Brand and research
search_meta_ad_library
Competitors' ads in the Meta Ad Library (texts only).
What it does
Search the Meta Ad Library for competitor ads by brand/page or keyword. Returns TEXT metadata only (ad copy, headline, CTA, start date, is_running, countries) — NO images/videos to avoid token blowup. Use for Competitor Ad Analysis prompt. Ads running 90+ days = validated winners. Cache 7 days.
Parameters
-
page_idstring optionalMeta page ID of the competitor (preferred). Resolves to their ad library directly.
-
search_termsstring optionalKeyword search across all pages (use when page_id unknown).
-
countriesarray of strings optionalISO country codes (e.g. ["FR","BE"]). Default ["ALL"].
-
limitnumber optionalMax ads to return (default 20, max 50).
-
force_refreshboolean optional -
ad_account_idstring optionalMeta ad account id (act_…), from list_ad_accounts
Example
Your assistant calls it for you when you ask in your own words. What it sends (MCP tools/call, JSON-RPC 2.0):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_meta_ad_library",
"arguments": {
"page_id": "100000000000001",
"search_terms": "120200000000000001"
}
}
} The same call over HTTP with an API key, for an MCP client of your own (an assistant that signs in sends its OAuth token instead):
curl -X POST https://app.apogee.ad/mcp \
-H "Authorization: Bearer $APOGEE_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_meta_ad_library","arguments":{"page_id":"100000000000001","search_terms":"120200000000000001"}}}' Access and cost
| Plans | Pro and Scale. |
|---|---|
| Scope | read: a connection or an API key without it does not see this tool (scopes). |
| Effect | Reads only: nothing is changed, in Apogee or on the ad account. |
| Credits | Free up to the daily free reads (5,000 a day on Pro, 10,000 on Scale), then 1 credit per read. A call that fails costs nothing (credits). |
| Rate limit | 600 MCP requests per 15 minutes on Pro, 1,200 on Scale (rate limits). |
| Daily cap | Counts 1 unit toward the 2,000 units one API key or assistant connection can use in 24 hours. |
Related tools
Brand and research: Context for creative strategy: your business profile, your comments, reviews and competitors.
get_business_profile: What Apogee knows about the brand of this ad account: website, margin, targets (CAC, ROAS).update_business_profile: Saves what you told the assistant about the brand, so it does not ask again. Apogee's data only.fetch_website_content: Reads the brand's website: voice, positioning, persona, claims.fetch_ad_comments: The comments of your ads, as Comment Analysis stores them.trigger_comment_sync: Fetches fresh comments from Meta (1 to 5 minutes).fetch_customer_reviews: Public reviews of the brand, positive or negative.search_reddit: Reddit threads on a topic: the customers' own words and pain points.load_reference: Loads one of Apogee's reference documents (audit frameworks, checklists, benchmarks).