meta get insights
meta_get_insightsQuery Meta Ads performance insights across 170+ metrics and 43+ breakdowns, automatically splitting incompatible combinations into multiple requests and merging 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. For purchases, leads or conversion analysis, request actions (and action_values for revenue) or explicit metrics such as purchases, omni_purchases or leads. The native conversions field is not a universal conversion total, and its absence does not mean purchases or leads are unavailable. Label the exact action_type and never sum overlapping purchase types.
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) | |
| adsetIds | No | Restrict adset- or ad-level insights to these ad set IDs. | |
| 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) | |
| dimensions | No | Dimension keys listed in meta://compatibility. Entity metadata, such as names, statuses and budgets, is read at its current value. | |
| adAccountId | Yes | Ad account ID (e.g., act_123456789) | |
| campaignIds | No | Restrict campaign-, adset- or ad-level insights to these campaign IDs. | |
| 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 |
| effectiveStatus | No | Keep only entities with this native effective status at the selected level. | |
| actionBreakdowns | No | Native action breakdowns such as action_type. Only for action metrics. | |
| 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 entity filter, dimension or breakdown. |
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. |