preview_meta_ad
Get a facebook.com preview link for a drafted Meta ad, so the user can see exactly what it will look like before deciding to activate. Use after create_meta_ad_draft or when the user asks to see a drafted ad.
This record as markdown: /tools/com-getfreedomos-freedom-mcp/preview-meta-ad.md
What preview_meta_ad does on Freedom Mcp
AI agents call preview_meta_ad 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 |
|---|---|---|---|
ad_id | string | Yes | Numeric ad id (from create_meta_ad_draft output) |
companyId | string | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |
Parameters from the server's own tool schema.
Why preview_meta_ad is rated Low
The tool generates a preview URL for review purposes only. It does not create, modify, delete, execute code, move money, or trigger external operations. The user must separately decide to activate the ad. This is a read-only operation that retrieves or displays data without altering state.
From the tool's definition preview_meta_ad returns a preview link for a drafted Meta ad; the description states 'Get a facebook.com preview link' and 'see exactly what it will look like before deciding to activate.' This is purely informational retrieval with no side effects.
Attacks that exploit this kind of access
The rule that runs preview_meta_ad 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 preview_meta_ad, this is the rule to start with:
preview_meta_ad 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 preview_meta_ad call is checked against it from then on.
Questions about preview_meta_ad
Get a facebook.com preview link for a drafted Meta ad, so the user can see exactly what it will look like before deciding to activate. Use after create_meta_ad_draft or when the user asks to see a drafted ad. It is categorised as a Read tool in the Freedom Mcp MCP Server, which means it retrieves data without modifying state.
preview_meta_ad accepts 2 parameters: ad_id, companyId. Required: ad_id, 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 preview_meta_ad: 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.
preview_meta_ad 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 preview_meta_ad 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 preview_meta_ad. 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.
preview_meta_ad 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