insights_capabilities
List insight grains, compatible metrics, dimensions, and paging semantics. Access:mcp:read. Workspace and target permissions also apply.
Arguments: none.
Full input schema
Full input schema
insights_query
Query one bounded insights page, then follow next_cursor when needed. Callinsights_capabilities first for valid combinations. The default page contains 25 rows and the MCP maximum is 100 rows to keep tool results within agent context limits. Prefer the default instead of requesting the maximum unless a larger page is necessary. Daily account, campaign, and adset queries automatically roll up aggregation-safe metrics from ad rows; reach and frequency remain exact native metrics at the requested level. Filter structured metrics with action_types and attribution_windows instead of returning every raw Meta action tuple. Both filters are REQUIRED for actions, action_values, and other structured metrics. For purchase analysis, for example, supply action_types=[“omni_purchase”], attribution_windows=[“value”]. Choose the action and attribution window that match the question; they are not inferred. Use sorting and min_spend before paginating for top-N analysis; use entity_ids for targeted follow-up queries.
Access: mcp:read. Workspace and target permissions also apply.
Keep the argument nesting shown in the schema. Expand it for nested fields, allowed values, and limits.
Full input schema
Full input schema
insights_rank
Rank compact period performance without returning raw insight pages. Use one entity level per call and choose an explicit conversion action and attribution window for conversion metrics.highest and lowest are numeric extremes, not automatic business judgments. global returns one ranking across the requested accounts; per_account returns one bounded ranking for each account. Add minimum evidence filters for meaningful results. The result never includes raw structured Meta metric arrays or a pagination cursor.
Access: mcp:read. Workspace and target permissions also apply.
Keep the argument nesting shown in the schema. Expand it for nested fields, allowed values, and limits.
Full input schema
Full input schema