Skip to content
Get MCP Ads, home

meta_detect_anomalies

Detect unusual moves in Meta performance: compares the last days of each campaign (or the whole account) with its own daily baseline and lists the metrics…

View as Markdown

Detect unusual moves in Meta performance: compares the last days of each campaign (or the whole account) with its own daily baseline and lists the metrics that moved far beyond their usual variation (spend, results, CPM, CTR, CPC, cost per result, ROAS), most unusual first. A statistical deviation, not a cause: check the change history and delivery before acting.

Source
Meta Ads
Kind
Read
Discovery
Reachable through search_tools and run_tool
Account parameter
adAccountId
Endpoint
https://mcp.getmcpads.com/meta-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
adAccountIdstringRequiredOwning advertising account ID. Use the exact ID returned by account discovery; do not substitute a campaign or business ID.
baselineDaysintegerOptionalDays of baseline before the recent window. Default 28.
recentDaysintegerOptionalRecent days compared with the baseline. Default 3.
levelstringOptionalDefault campaign. One of: account, campaign.
minDailySpendnumberOptionalIgnore entities whose baseline daily spend is below this, in account currency. Default 0.
thresholdnumberOptionalStandard deviations from the baseline mean. Default 2.
resultActionTypestringOptionalExact action_type counted as a result, for example omni_purchase, lead or offsite_conversion.fb_pixel_purchase. Default omni_purchase. Never several overlapping purchase types.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_detect_anomalies",
    "args": {
      "adAccountId": "<string>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search