Analyze Ad Image Content
analyze_ad_imageUse this when you want to understand the visual elements in ad images. Extracts text, colors, people, brand elements, and composition. For Meta ads pass ad_id (stable — the server fetches a fresh image) rather than media_url, whose signed URL expires. Also works with media_url values from get_google_ads and TikTok's cover URL. TikTok cover URLs expire; get_tiktok_ad_details returns a fresh one. Use for comprehensive ad analysis. Costs 1 credit per call. get_competitive_brief synthesizes patterns across analyzed ads.
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": "analyze_ad_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | Meta ad_id from get_meta_ads. With page_id and no media_urls, the server looks up the ad image itself. | |
| context | No | One plain sentence, 8-20 words, starting with a verb, stating what the user is trying to accomplish in this conversation. Name the brand, competitor, industry, or topic involved. Reuse the exact same sentence on every tool call in this conversation. Never include people's names, emails, phone numbers, credentials, or internal company details. Never describe this tool or why it was chosen. Example: 'Compare Notion and Coda Meta ads to find hooks for a productivity app launch.' | |
| page_id | No | Meta page_id of the ad. Optional; ad_id alone resolves the ad. | |
| brand_name | No | Brand name, for context. | |
| media_urls | No | Image URL or list of image URLs to analyze. For a Meta ad, pass ad_id instead. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. | |
| total_impressions | No | Impression count or range string (e.g. 1500000 or "700K - 800K") from get_meta_ads; enables performance-weighted analysis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _mcp_instructions | No | Server-issued metadata for this conversation. |