Skip to content

Meta Ads (Facebook/Instagram) MCP server for Claude, ChatGPT, Perplexity & Cursor — the Meta node of Pipeboard’s 5-platform family (+ Google, TikTok, Snap, Reddit). Hosted remote MCP, badged Meta Business Partner, free plan — no self-hosting required.

docs: update get_insights docstring to clarify response size and usage of bulk_get_insights

Yves Junqueirae69a4e52fe08
diff --git a/meta_ads_mcp/core/insights.py b/meta_ads_mcp/core/insights.py
index 8c102aa..398509f 100644
--- a/meta_ads_mcp/core/insights.py
+++ b/meta_ads_mcp/core/insights.py
@@ -94,6 +94,14 @@ async def get_insights(object_id: str, access_token: Optional[str] = None,
(omni_*, onsite_web_*, offsite_conversion.fb_pixel_*, etc.) to reduce
payload size by ~60%. The canonical action types (purchase, add_to_cart,
view_content, etc.) are always preserved. Default: False.
+
+ Note on response size: This tool always returns a fixed set of fields (impressions, clicks,
+ spend, cpc, cpm, ctr, reach, actions, action_values, etc.) and cannot filter to a subset.
+ For large result sets (50+ rows), the actions/action_values arrays can make responses very
+ large (1–2MB+). If you only need specific metrics like spend or impressions, consider using
+ bulk_get_insights with compact=true and the fields parameter:
+ bulk_get_insights(level="ad", account_ids=[...], compact=true, fields=["spend", "impressions"])
+ bulk_get_insights supports level="ad", "adset", "campaign", and "account".
"""
if not object_id:
return json.dumps({"error": "No object ID provided"}, indent=2)