SpyWinAds

v1.0.0
com.spywinads/mcp Checked 1 day ago Published 1 month ago

Facebook video ad intel: a video ad's real age and every store running the same video.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spywin_lookup_video_ad Look up a Facebook video ad

Check how old a Facebook video ad really is and which stores run the same video. Input: a Meta Ad Library link or ad ID, or a SpyWinAds video_id (from spywin_list_my_videos, spywin_get_scan_results or other tools). Returns the day the video file was first uploaded to Facebook (accurate to 1-2 days), the first ad date, live ads, how many stores run the same video now and ever, and the earliest stores in the SpyWinAds library.

ParameterTypeDescription
adstringMeta Ad Library link (https://www.facebook.com/ads/library/?id=...) or the numeric ad ID
video_idintegerSpyWinAds video_id, instead of ad

spywin_spy_store_ads Spy on a store's Facebook ads

See the Facebook video ads a Shopify / online store is running. Input: the store domain. Returns live ads, new ads in 7 days, number of videos, products and Pages, and the top videos with their real age and how many stores run each one.

ParameterTypeDescription
domain *stringStore domain, e.g. example.com

spywin_get_page_ads Video ads of a Facebook Page

See the video ads a Facebook Page runs: total and live ads, videos, top videos with real age, and the stores the Page sends traffic to. Input: Facebook Page link or Page ID.

ParameterTypeDescription
page *stringFacebook Page link (https://www.facebook.com/...) or numeric Page ID

spywin_export_shopify_product Copy a Shopify product to CSV

Read a public Shopify product page and return its title, prices, variants and images, plus a download link to a Shopify-import CSV (valid 24 hours) and the product's video ads if the SpyWinAds library has them.

ParameterTypeDescription
url *stringProduct URL, e.g. https://store.com/products/handle

spywin_get_video_reuse_research Video Reuse Index (research)

Headline numbers from SpyWinAds Research 'Video Reuse Index': how often Facebook video ads are old videos brought back, how many stores share a video, and how fast a video spreads to 5 stores. With method link.

spywin_get_my_scanner_status My SpyWinAds app status

Status of the SpyWinAds desktop app on the user's computer: no_app (not installed / not paired), app_off (not seen for 5+ minutes), fb_paused (Facebook temporarily limited the home network, with the time scanning resumes), scanning or idle, plus jobs running and waiting. Scans only run while the app is open on the user's computer.

spywin_get_my_overview My SpyWinAds overview

Counts for the signed-in user's SpyWinAds account: videos in each tab (Win, potential, scale, cash-cow, followed, testing, waiting for deep dig), videos found in the last 30 days, stores, and the latest keyword scan.

spywin_list_my_videos My videos by tab

List the videos in one tab of the user's SpyWinAds account (only videos the user's own app found). Give tab (a built-in tab) or custom_tab_id (a tab the user saved, from spywin_list_my_custom_tabs; same videos and filters as that tab in the app). Each video: product line from the ad, full ad text, store domain, the day the video file first appeared on Facebook (or first ad if unknown), age in days, days running, live ads, total ads seen, stores running it now, first ad date, landing page. Up to 50 per page; use page for more.

ParameterTypeDescription
custom_tab_idintegerid of a saved tab from spywin_list_my_custom_tabs, instead of tab
limitintegerVideos per page, default 20, max 50
max_age_daysintegerOnly videos whose file / first ad is at most this many days old
max_storesintegerOnly videos run by at most this many stores now
min_days_runningintegerOnly videos whose first ad is at least this many days old and still have a live ad
min_storesintegerOnly videos run by at least this many stores now
pageinteger0 = first page
sortstringstrongest (same order as the app; default for custom tabs), stores (default for built-in tabs), newest, ads (built-in tabs only)
tabstringwin, potential, scale, cash_cow, followed, testing, deep_dig or all

spywin_list_my_custom_tabs My saved tabs

Tabs the user saved in the SpyWinAds app (saved filters over the videos their own keyword scans found in the last 30 days, e.g. 'Few stores, long-running'): id, name and filters. Read a tab's videos with spywin_list_my_videos(custom_tab_id=id).

spywin_list_my_scans My keyword scans (30 days)

The user's keyword scans in the last 30 days, newest first: scan id, start time (Vietnam time), first keyword, number of keywords, still running or done. Use the scan id with spywin_get_scan_results.

ParameterTypeDescription
limitintegerDefault 20

spywin_get_scan_results Videos found by one of my scans

Videos one of the user's keyword scans found (50 per page, strongest first): same fields as spywin_list_my_videos plus the keyword and the tab the video is in, if any. If an exact_phrase keyword found fewer than 30 ads the response says so (hints, hint_text): rescan that keyword with spywin_queue_keyword_scan(match="keyword") for more ads.

ParameterTypeDescription
scan_id *integerScan id from spywin_list_my_scans
pageinteger0 = first page

spywin_list_my_stores Stores running my videos

Stores running videos from the user's tabs: domain, platform, Pages, which tabs, ads seen, when the store was last scanned and new videos found then.

ParameterTypeDescription
limitintegerDefault 20

spywin_get_video_history Daily history of one of my videos

Night-by-night history (up to 30 days) of one video in the user's account: Pages running it (live), stores running it (live), Win / scale / old ad counts, total ads, landing pages, and what changed from the night before.

ParameterTypeDescription
video_id *integervideo_id from spywin_list_my_videos

spywin_queue_keyword_scan Scan keywords on my SpyWinAds app

Start Facebook Ad Library keyword scans on the user's own SpyWinAds desktop app (it scans from the user's home network). Up to 10 keywords per call, 30 new keywords a day. Keywords someone scanned fully in the last 24 hours return at once from the library (status cached). If the app is closed, not installed, or Facebook is pausing the home network, nothing is queued and the status says so (app_off, no_app, fb_paused) with the next step. match chooses how Facebook matches the words: exact_phrase (default) returns only ads containing the whole phrase in that order, so it is precise but returns f…

ParameterTypeDescription
keywords *arrayProduct keywords in English, e.g. ["pet hair remover", "under sink organizer"]
matchstringexact_phrase (default): the whole phrase in order, precise but few ads. keyword: the words in any order, many more ads but noisier.

spywin_queue_page_scan Scan a Page, store or ad on my SpyWinAds app

When spywin_get_page_ads, spywin_spy_store_ads or spywin_lookup_video_ad say the library does not have it yet, ask the user's own SpyWinAds desktop app to scan it from the user's home network. kind: page (Facebook Page link or ID), store (domain), ad (Ad Library link or ad ID). Uses the plan's daily competitor-research limit. If the app is closed, not installed, or Facebook is pausing the home network, nothing is queued and the status says so. Returns a request_id for spywin_get_scan_status; when done, call the lookup tool again.

ParameterTypeDescription
kind *stringpage, store or ad
target *stringFacebook Page link / ID, store domain, or Ad Library link / ad ID

spywin_get_scan_status Status of my keyword scan

Progress of a keyword scan (scan_id from spywin_queue_keyword_scan / spywin_list_my_scans: per keyword queued, running, done, failed or expired — not picked up by the app within 15 minutes — and ads found) or of a Page / store / ad scan (request_id from spywin_queue_page_scan). Includes the app status. When a keyword scan is done, read the videos with spywin_get_scan_results; when a Page / store / ad scan is done, call its lookup tool again. Each keyword shows its match type; an exact_phrase keyword that found fewer than 30 ads carries a hint to rescan with match="keyword".

ParameterTypeDescription
request_idintegerrequest_id from spywin_queue_page_scan
scan_idintegerscan_id from spywin_queue_keyword_scan or spywin_list_my_scans