get_ads_performance
Get Meta ads results: spend, impressions, clicks, CTR, CPC, CPM, reach, conversions (actions), cost per action, and purchase ROAS — at account, campaign, adset, or ad level over a chosen window. Use when the user asks how their Facebook/Instagram ads are doing, what they spent, or what it returned.
This record as markdown: /tools/com-getfreedomos-freedom-mcp/get-ads-performance.md
What get_ads_performance does on Freedom Mcp
AI agents call get_ads_performance to retrieve information from Freedom Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
level | string | — | Aggregation level: 'account', 'campaign' (default), 'adset', or 'ad'. |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
time_range | object | — | Exact window: { since: 'YYYY-MM-DD', until: 'YYYY-MM-DD' }. Mutually exclusive with date_preset. |
campaign_id | string | — | Optional: scope the report to one campaign (id from list_ad_campaigns). |
date_preset | string | — | Reporting window preset, e.g. 'last_7d', 'last_30d' (default), 'this_month', 'lifetime'. Mutually exclusive with time_range. |
ad_account_id | string | — | Ad account id (act_<digits> or bare digits). Optional when the connection has exactly one ad account. |
Parameters from the server's own tool schema.
Why get_ads_performance is rated Low
This tool only reads and reports historical advertising performance data from Meta's API. It has no side effects—it queries metrics without modifying accounts, campaigns, budgets, or any other resources. No financial transactions, destructive actions, or code execution occur. Classified as Read with low severity because misuse would only leak performance insights, not cause financial harm or operational disruption.
From the tool's definition Tool retrieves Meta ads metrics: 'spend, impressions, clicks, CTR, CPC, CPM, reach, conversions (actions), cost per action, and purchase ROAS' at various aggregation levels.
Attacks that exploit this kind of access
The rule that runs get_ads_performance safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Freedom Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For get_ads_performance, this is the rule to start with:
get_ads_performance is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Freedom Mcp, apply this rule, and every get_ads_performance call is checked against it from then on.
Questions about get_ads_performance
Get Meta ads results: spend, impressions, clicks, CTR, CPC, CPM, reach, conversions (actions), cost per action, and purchase ROAS — at account, campaign, adset, or ad level over a chosen window. Use when the user asks how their Facebook/Instagram ads are doing, what they spent, or what it returned. It is categorised as a Read tool in the Freedom Mcp MCP Server, which means it retrieves data without modifying state.
get_ads_performance accepts 6 parameters: level, companyId, time_range, campaign_id, date_preset, ad_account_id. Required: companyId. The full parameter table on this page comes from the server's own tool schema.
Register the Freedom MCP server in PolicyLayer and add a rule for get_ads_performance: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Freedom Mcp. Nothing to install.
get_ads_performance is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_ads_performance rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_ads_performance. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_ads_performance is provided by the Freedom MCP server (https://twuluxmoognlwtmaoqgo.supabase.co/functions/v1/freedom-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Freedom, and thousands of servers like it.
This server
Across the catalogue