Uneltele conectorului.
Lista completă a uneltelor pe care le vede asistentul când conectezi Optimads în Claude sau ChatGPT: ce face fiecare și ce parametri primește. Generată automat din server, ca să fie mereu la zi.
Descrierile sunt în engleză pentru că le citește asistentul, nu tu: așa alege singur unealta potrivită la ce-l întrebi. Tu vorbești cu el în orice limbă. Parametrul account_id poate lipsi: atunci asistentul lucrează pe contul tău principal.
Citire (16)
list_accounts
List the user's ad accounts in Optimads, which one is the primary account, the plan and the AI tokens left. Call this first when you don't know the account_id: most tools take one (Meta `act_…`; TikTok tools take the advertiser id from `tiktok_advertisers`).
Fără parametri.
business_profile
The business behind the account, as described in Optimads: website, description, targets (ROAS, CPA, margin, average order value) and the onboarding answers. Read it before giving advice about the business.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
campaign_performance
Performance table per campaign, ad set or ad (`level`): spend, purchases, revenue, ROAS, CPA, CTR, frequency, leads, status, daily budget. `period`: today, yesterday, last_3d, last_7d, last_14d, last_30d, this_month, last_month — or pass since/until as YYYY-MM-DD. `campaign_id` narrows ad sets / ads to one campaign. `platform`: meta (default) or tiktok (then account_id is the TikTok advertiser id). Use it to say exactly what to pause, scale or fix.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
level | text | nu | campaign |
period | text | nu | last_7d |
since | text | nu | — |
until | text | nu | — |
campaign_id | text | nu | — |
platform | text | nu | meta |
ads_breakdown
Break the account's results down by a dimension, to see WHO and WHERE performs or wastes budget. Meta: age, gender, age_gender, platform, placement, device, country, region, hour. TikTok: age, gender, country, placement, platform. `days`: lookback window, 1-90.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
breakdown | text | nu | age |
days | număr întreg | nu | 14 |
platform | text | nu | meta |
ads_daily_trend
Day-by-day evolution of the Meta account (spend, purchases, revenue, ROAS, CTR), to spot WHEN performance dropped or scaled. `days`: 1-90.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
days | număr întreg | nu | 14 |
top_creatives
SEE the actual images of the top-spending Meta ads together with their numbers. Call it before recommending what creatives to make or why creatives underperform: analyse format, hook, angle, on-image text and quality, and correlate them with the figures. `limit`: up to 8 ads.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
days | număr întreg | nu | 30 |
limit | număr întreg | nu | 6 |
tracking_status
Optimads Tracking on this account: whether server-side tracking is on, the connected store, the pixels and the platforms that receive events (Meta, TikTok, Google Ads; under `canale`, Pinterest / Snapchat / ChatGPT Ads with their IDs, on / off, last delivery and last error — `canale_on` false means these three are not enabled for the account yet).
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
attribution
Where the orders come from (Meta / TikTok / Google / Pinterest / Snapchat / ChatGPT Ads / organic / direct): last-touch credit plus who discovered the buyer (first touch), from Optimads Tracking. A source appears only when it brought visits or orders. `economics` gives per channel the visitors, orders, net revenue and, where Optimads can read it, spend, ROAS and what the platform claims (ChatGPT Ads spend needs its report key; Pinterest / Snapchat spend is not read yet). Needs the store connected and tracking on.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
period | text | nu | last_30d |
since | text | nu | — |
until | text | nu | — |
utm_report
Orders grouped by the last UTM the buyer saw before purchasing. `dimension`: campaign, source, medium, content or term.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
dimension | text | nu | campaign |
period | text | nu | last_30d |
orders_and_buyers
The period's orders with buyer insights: new vs returning buyers, time to purchase, paid attribution, tracking coverage. No personal data.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
period | text | nu | last_30d |
store_profit
Real store profit for the period: revenue minus product costs, ads, VAT and operating costs. Needs a connected store (Shopify, WooCommerce, MerchantPro, Gomag, PrestaShop or Magento); `connected: false` otherwise.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
period | text | nu | last_7d |
since | text | nu | — |
until | text | nu | — |
revenue_by_day
Day-by-day revenue (or cost per lead with metric=cpl) and spend per channel (Meta / TikTok / Google), with totals — the dashboard chart. `days`: 7, 14, 30 or 90.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
days | număr întreg | nu | 14 |
metric | text | nu | revenue |
creative_gallery
Images already generated or uploaded in Optimads for this account (id, image_url, media_type, created_at). Pass an `image_url` from here to launch_meta_campaign.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
list_audiences
The custom audiences that exist on the account (id, name, type). `platform`: meta (account_id = act_…) or tiktok (account_id = advertiser id). Use it before suggesting audiences or before creating the standard set.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
platform | text | nu | meta |
tracking_vs_platforms
Compare what the ad platforms REPORT with what Optimads Tracking really MEASURED in the store, for the same period: per Meta campaign the reported spend / purchases / revenue / ROAS next to the tracked orders and revenue (real ROAS), plus the real orders by channel (Meta, Google, TikTok, Pinterest, Snapchat, ChatGPT Ads, direct). Needs Optimads Tracking active on the account; otherwise `tracking` is false and only the platform numbers are returned. Use it when the user asks whether Meta's numbers are true, or which campaign really brings sales.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
period | text | nu | last_7d |
since | text | nu | — |
until | text | nu | — |
tracking_health
How well Optimads Tracking is delivering for the account, last 30 days: events sent to Meta and TikTok vs failed, signal quality (browser identifiers present), the funnel per event, retry queue; under `canale`, the same for Pinterest, Snapchat and ChatGPT Ads (sent / failed, funnel, retry queue, last error) when they are on. Use it when sales look under-reported.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | nu | — |
Acțiuni (5)
set_status
Pause or activate a campaign, ad set or ad. `status`: ACTIVE or PAUSED. `level`: campaign, adset or ad. `platform`: meta (account_id = act_…) or tiktok (account_id = advertiser id). Activating a campaign also activates its ad sets and ads; pausing a campaign pauses everything under it. ACTIVE spends money: get the user's explicit confirmation in this conversation first. The user is notified of every change.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | da | — |
entity_id | text | da | — |
status | text | da | — |
level | text | nu | campaign |
platform | text | nu | meta |
set_daily_budget
Change the daily budget, in the account's currency, of a campaign (CBO) or an ad set (ABO, `level`=adset). Meta allows about 4 changes per hour per entity. `platform`: meta or tiktok. Raising a budget spends more money: confirm with the user first. The user is notified of every change.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | da | — |
entity_id | text | da | — |
daily_budget | număr | da | — |
level | text | nu | campaign |
platform | text | nu | meta |
create_standard_audiences
Create Optimads' standard audience set on the account (site visitors, add-to-cart, buyers, engagement, lookalikes), skipping the ones that already exist. `platform`: meta (account_id = act_…; pixel_id optional, for accounts with several pixels) or tiktok (account_id = advertiser id; pixel_id required). Returns what was created, skipped and failed. Free.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | da | — |
platform | text | nu | meta |
pixel_id | text | nu | — |
generate_creatives
Generate ONE ad image with Optimads' own AI (costs the user's Optimads tokens, like in the app). `brief`: what the ad should show, in any language; empty = Optimads builds it from the business profile. `pattern` (Studio style): angles, splash_offer, hero_dramatic, before_after, premium_showcase, brand_lifestyle, discreet_elegant, disruptive, comparison_leadgen, testimonial_ugc, ugc_selfie, fb_review, clean_ingredient, search_mockup, product_range_review, kit_breakdown, announcement_icons, portrait. `format`: square, portrait or story. Returns the new gallery entry (creative.image_url) — pass it to launch_meta_campaign. Call again for more images. Tell the user it uses tokens first.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | da | — |
brief | text | nu | — |
pattern | text | nu | angles |
format | text | nu | square |
launch_meta_campaign
Launch a NEW Meta campaign through Optimads (campaign + ad set + one ad per creative), with Optimads' naming and UTM rules. It is created PAUSED: nothing spends until the user activates it. `objective`: Conversions, Catalog Sales, Traffic, Engagement, Awareness, Website Leads or Form Leads. `daily_budget`: whole number, account currency. Each creative: image_url (public, or from creative_gallery), headline, text, link. `countries`: ISO2 codes (default RO). `gender`: all, men or women. `audience`: 1 COLD, 2 WARM, 3 HOT or COMBO. `budgeting`: CBO or ABO. Interests are chosen automatically from the website; page and pixel come from the account's saved assets. Returns the IDs created.
| Parametru | Tip | Obligatoriu | Implicit |
|---|---|---|---|
account_id | text | da | — |
objective | text | da | — |
daily_budget | număr întreg | da | — |
creatives | listă de Creativ | da | — |
countries | listă de text | nu | — |
age_min | număr întreg | nu | 18 |
age_max | număr întreg | nu | 65 |
gender | text | nu | all |
audience | text | nu | 1 COLD |
budgeting | text | nu | CBO |
campaign_name | text | nu | — |
Creativ — câmpurile unui element din listă:
| Parametru | Tip | Obligatoriu | Implicit | Ce înseamnă |
|---|---|---|---|---|
image_url | text | da | — | Public image URL, or an image_url from creative_gallery |
headline | text | da | — | Ad headline (short) |
text | text | da | — | Primary text of the ad |
link | text | da | — | Landing page URL (UTMs are added automatically) |
description | text | nu | — | Optional description shown under the headline |
Cum le folosești
Nu chemi uneltele tu: îi spui asistentului ce vrei, pe românește, iar el alege unealta. Ghidul de conectare: Claude și ChatGPT.