Scan a product's competitors for their winning UGC ads
ugc_scanPaste a product page and Refs finds the UGC ads (creator-style vertical video ads on Meta and TikTok) that are working for its competitors, then takes them apart. Two steps. (1) ugc_scan(url) reads the page and returns a draft: the product (name, category, price, audience) and 5–8 suggested competitors, each with its site, Facebook Page and TikTok handle. Nothing is queued and no scan is used yet. Show the user the list and let them add, remove or fix competitors (at most 10). (2) ugc_scan(id, competitors?, confirm: true) saves the final list and queues the scan; it uses 1 of the account's 3 scans a month, and a scan that fails gives it back. Only confirm after the user has agreed to the list. Then the Refs worker finds each competitor's ads, ranks them by how long and how hard they ran, keeps the top 25 (at most 5 per competitor), reuses the ones already in the library and measures and blueprints the rest; it usually takes under an hour. Follow it with get_ugc_scan(id). Calling ugc_scan(url) again with a link that's already a draft or being scanned returns that scan. Pro only, free in credits; private to the user.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ugc_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Step 2: the scan id from step 1 (or its refs.video/ugc/… link), to edit or confirm that draft | |
| url | No | Step 1: the product's page, e.g. https://www.yourbrand.com/products/serum (https; a public site) | |
| confirm | No | true queues the scan (uses 1 of the month's 3). Only once the user has seen and agreed to the competitors | |
| competitors | No | Replaces the draft's list, at most 10. Send the whole final list, including the suggestions the user kept |