meta get insights
meta_get_insightsQuery Meta Ads performance insights across 170+ metrics and 43+ breakdowns; intelligent query planning automatically splits incompatible combinations and merges results.
Instructions
Query Meta Ads performance insights. Supports 170+ metrics, 43+ breakdowns with intelligent query planning. Use meta://metrics resource to see available metrics. Use meta://breakdowns for available breakdowns. The query planner automatically splits incompatible metric/breakdown combinations into multiple API requests and merges results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adIds | No | Restrict ad-level insights to these ad IDs. | |
| level | Yes | Aggregation level: account, campaign, adset, or ad | |
| limit | No | Maximum number of returned items or rows. The declared bounds and default apply; use pagination for additional results. | |
| metrics | Yes | Metric keys from meta://metrics (e.g., impressions, spend, ctr) | |
| timeRange | No | Custom date range with since/until in YYYY-MM-DD format | |
| breakdowns | No | Breakdown keys from meta://breakdowns (e.g., age, gender, country) | |
| datePreset | No | Predefined date range (e.g., last_7d, last_30d) | |
| adAccountId | Yes | Ad account ID (e.g., act_123456789) | |
| timeIncrement | No | Time granularity: 1 (daily), 7 (weekly), 'monthly', or 'all_days' | |
| attributionMode | No | Use Meta account settings, ad-set settings, or explicitly supplied windows. No setting is inferred from returned numbers. | account |
| actionReportTime | No | Date basis for actions, sent explicitly to Meta. | impression |
| attributionWindows | No | Only with attributionMode explicit. These windows are sent identically to every split query and account total. | |
| includeAccountTotals | No | Also read native account-level totals with the same dates, metrics and attribution. Requires no adIds or breakdowns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Original tool result: parsed JSON when the text is JSON, otherwise the text or multiple MCP content blocks. Provider fields depend on the selected query. |