Sync & history
Pull fresh data from Meta, backfill insights, and read the account's lifetime history and its winners.
meta_sync_now
WRITE — Pull the last N days of ad-level insights and objects from Meta into the warehouse.
meta_backfill_insights
WRITE — Fill the daily warehouse back in time, so dated reads (overview, ad performance, strategy rollup) can answer for any window ("how did March do"), not only the recent sync window.
meta_pull_account_history
WRITE — Pull every ad's LIFETIME insights and its creative (copy, destination, CTA, audience) from Meta into the history table, archived and deleted ads included.
meta_get_account_history
READ — Everything that ever ran on this account, most lifetime spend first: headline, primary text, destination URL / instant form, CTA, the funnel it fed (instant_form, website, messaging, profile, traffic) and its result, with LIFETIME spend, clicks, CPC, leads (form vs website), conversations, Add to Cart and cost per result.
meta_get_history_winners
READ — What wins, what loses, and what to make next — the verdicts behind Library values and Briefs' Next tests, over MCP.
get_reciperead
The recipe of one static — a swipe or one of our assets: its format, layout zones, copy verbatim, visual system, hook, and which slots a variation could change versus what carries the format.
sync_nowwrite
Pull the last N days of ad-level insights and objects from Meta into the warehouse.