<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: bursteri</title>
    <description>The latest articles on DEV Community by bursteri (@bursteri).</description>
    <link>https://dev.to/bursteri</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F628106%2F53d9bee4-3d52-4c35-900a-2681da5a9978.jpeg</url>
      <title>DEV Community: bursteri</title>
      <link>https://dev.to/bursteri</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bursteri"/>
    <language>en</language>
    <item>
      <title>Auditing 6 Meta Ads MCP servers: tool count, schema bloat, and write safety</title>
      <dc:creator>bursteri</dc:creator>
      <pubDate>Thu, 26 Nov 2026 06:51:09 +0000</pubDate>
      <link>https://dev.to/bursteri/auditing-6-meta-ads-mcp-servers-tool-count-schema-bloat-and-write-safety-ll0</link>
      <guid>https://dev.to/bursteri/auditing-6-meta-ads-mcp-servers-tool-count-schema-bloat-and-write-safety-ll0</guid>
      <description>&lt;p&gt;When you connect Claude Code, Cursor, or ChatGPT to a Meta Ads MCP server, three engineering questions matter immediately:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;How many tools does it dump into your agent's context window before you send a single prompt?&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;What write and delete capabilities does it expose directly to the LLM (&lt;code&gt;activate&lt;/code&gt;, &lt;code&gt;boost&lt;/code&gt;, &lt;code&gt;delete&lt;/code&gt;, budget edits)?&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How does Meta's own official Ads MCP (&lt;code&gt;https://mcp.facebook.com/ads&lt;/code&gt;) compare to open-source GitHub wrappers and governed hosted servers?&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To get concrete numbers instead of relying on marketing pages, I built a small reproducible audit repo (&lt;a href="https://github.com/plainrouter/meta-ads-mcp-benchmarks" rel="noopener noreferrer"&gt;&lt;code&gt;plainrouter/meta-ads-mcp-benchmarks&lt;/code&gt;&lt;/a&gt;) covering six servers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Meta Official Ads MCP (&lt;code&gt;https://mcp.facebook.com/ads&lt;/code&gt;):&lt;/strong&gt; Live authenticated tool inventory captured on 2026-11-25 plus live &lt;code&gt;WWW-Authenticate&lt;/code&gt; OAuth scope probe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Four public GitHub Meta Ads MCP repositories:&lt;/strong&gt; Static source-code extraction on pinned commits (&lt;code&gt;pipeboard-co/meta-ads-mcp&lt;/code&gt;, &lt;code&gt;mikusnuz/meta-ads-mcp&lt;/code&gt;, &lt;code&gt;EfrainTorres/armavita-meta-ads-mcp&lt;/code&gt;, &lt;code&gt;oliverames/meta-mcp-server&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plainrouter MCP (&lt;code&gt;v0.4.2&lt;/code&gt;):&lt;/strong&gt; Verified against public MCP documentation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Disclosure: I build &lt;a href="https://plainrouter.com" rel="noopener noreferrer"&gt;Plainrouter&lt;/a&gt;, which is included below. All raw tool lists, commit SHAs, and the audit script are published under MIT in &lt;a href="https://github.com/plainrouter/meta-ads-mcp-benchmarks" rel="noopener noreferrer"&gt;&lt;code&gt;plainrouter/meta-ads-mcp-benchmarks&lt;/code&gt;&lt;/a&gt;.)&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Side-by-side results (2026-11-24 / 2026-11-25)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;Source / Version&lt;/th&gt;
&lt;th&gt;Total Tools&lt;/th&gt;
&lt;th&gt;Write Tools&lt;/th&gt;
&lt;th&gt;Delete Tools&lt;/th&gt;
&lt;th&gt;Direct Live Spend / Activation Writes&lt;/th&gt;
&lt;th&gt;Approval Queue &amp;amp; Audit Receipts&lt;/th&gt;
&lt;th&gt;Independent First-Party Arrival Counts&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;pipeboard-co/meta-ads-mcp&lt;/code&gt; (Python)&lt;/td&gt;
&lt;td&gt;Commit &lt;code&gt;63d0e5e&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;Yes (&lt;code&gt;update_campaign&lt;/code&gt; / &lt;code&gt;update_adset&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Plainrouter MCP&lt;/strong&gt; &lt;em&gt;(ours, hosted)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;&lt;code&gt;v0.4.2&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;44 &lt;em&gt;(15/page)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;No (budget raises &amp;amp; campaign/ad-set activations always wait for a person)&lt;/td&gt;
&lt;td&gt;Yes (&lt;code&gt;Ask&lt;/code&gt;, &lt;code&gt;Custom&lt;/code&gt;, &lt;code&gt;Full&lt;/code&gt; + receipts)&lt;/td&gt;
&lt;td&gt;Yes (10 signal/arrival/consent tools)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;mikusnuz/meta-ads-mcp&lt;/code&gt; (TS)&lt;/td&gt;
&lt;td&gt;Commit &lt;code&gt;ccb4489&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;88&lt;/td&gt;
&lt;td&gt;29&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Yes (+ &lt;code&gt;delete_campaign&lt;/code&gt; / &lt;code&gt;delete_adset&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No (send helper only)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Meta Official Ads MCP&lt;/strong&gt; (&lt;code&gt;mcp.facebook.com/ads&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Live &lt;code&gt;2026-11-25&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;111 &lt;em&gt;(12 interactive, 58 read, 41 write/delete)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;48 &lt;em&gt;(41 + 7 interactive)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;Yes (&lt;code&gt;ads_activate_entity&lt;/code&gt;, &lt;code&gt;ads_boost_ig_post&lt;/code&gt;, &lt;code&gt;ads_update_entity&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Meta interactive prompts / client toggles (no external approval inbox or stored decision receipts)&lt;/td&gt;
&lt;td&gt;No (14 Meta-side dataset/pixel tools only)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;EfrainTorres/armavita-meta-ads-mcp&lt;/code&gt; (Rust)&lt;/td&gt;
&lt;td&gt;Commit &lt;code&gt;8ff63fa&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;125&lt;/td&gt;
&lt;td&gt;61&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Yes (+ 6 &lt;code&gt;delete_*&lt;/code&gt; tools)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No (send helper only)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;oliverames/meta-mcp-server&lt;/code&gt; (TS)&lt;/td&gt;
&lt;td&gt;Commit &lt;code&gt;9b2a7d6&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;185&lt;/td&gt;
&lt;td&gt;61&lt;/td&gt;
&lt;td&gt;12&lt;/td&gt;
&lt;td&gt;Yes (+ 12 &lt;code&gt;delete_*&lt;/code&gt; tools)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No (4 Meta Pixel/CAPI wrappers only)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  1. What we actually found inside Meta's official Ads MCP (&lt;code&gt;111&lt;/code&gt; tools)
&lt;/h2&gt;

&lt;p&gt;Because Meta's official server at &lt;code&gt;https://mcp.facebook.com/ads&lt;/code&gt; sits behind OAuth, its live tool list is rarely documented in full. Here is the exact live breakdown captured on 2026-11-25:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;10 OAuth scopes requested up front&lt;/strong&gt; in &lt;code&gt;WWW-Authenticate&lt;/code&gt;: &lt;code&gt;ads_management&lt;/code&gt;, &lt;code&gt;ads_read&lt;/code&gt;, &lt;code&gt;catalog_management&lt;/code&gt;, &lt;code&gt;business_management&lt;/code&gt;, &lt;code&gt;pages_show_list&lt;/code&gt;, &lt;code&gt;pages_manage_ads&lt;/code&gt;, &lt;code&gt;facebook_branded_content_ads_brand&lt;/code&gt;, &lt;code&gt;instagram_basic&lt;/code&gt;, &lt;code&gt;instagram_branded_content_ads_brand&lt;/code&gt;, and &lt;code&gt;ads_mcp_management&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;12 Interactive tools&lt;/strong&gt; (including 7 mutations: &lt;code&gt;ads_create_campaign&lt;/code&gt;, &lt;code&gt;ads_create_ad_set&lt;/code&gt;, &lt;code&gt;ads_create_ad&lt;/code&gt;, &lt;code&gt;ads_update_entity&lt;/code&gt;, &lt;code&gt;ads_creative_upload_media&lt;/code&gt;, &lt;code&gt;ads_catalog_update_catalog&lt;/code&gt;, &lt;code&gt;ads_permission_preview_set_asset_permissions&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;58 Read-only tools&lt;/strong&gt;, including genuinely unique first-party Meta diagnostics that third-party wrappers do not have: &lt;code&gt;ads_insights_anomaly_signal&lt;/code&gt;, &lt;code&gt;ads_insights_auction_ranking_benchmarks&lt;/code&gt;, &lt;code&gt;ads_insights_performance_vs_peers&lt;/code&gt;, &lt;code&gt;ads_get_opportunity_score&lt;/code&gt;, &lt;code&gt;ads_get_dataset_quality&lt;/code&gt;, and &lt;code&gt;ads_account_get_activity_logs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;41 Write/delete tools&lt;/strong&gt;, including live spend triggers (&lt;code&gt;ads_activate_entity&lt;/code&gt;, &lt;code&gt;ads_boost_ig_post&lt;/code&gt;) and &lt;strong&gt;8 explicit delete tools&lt;/strong&gt; (&lt;code&gt;ads_creative_delete&lt;/code&gt;, &lt;code&gt;ads_delete_custom_audience&lt;/code&gt;, &lt;code&gt;ads_pixel_event_delete&lt;/code&gt;, &lt;code&gt;ads_pixel_parameter_delete&lt;/code&gt;, and 4 catalog delete tools).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Meta's native MCP is strong for &lt;strong&gt;Meta-side reads, peer benchmarks, catalog management, and native experiments&lt;/strong&gt;. Its two limits are structural: it exposes 48 write/delete tools (including &lt;code&gt;ads_activate_entity&lt;/code&gt;, &lt;code&gt;ads_boost_ig_post&lt;/code&gt;, and pixel/creative deletes) without an external human approval inbox or decision receipts, and its 14 dataset/pixel tools only report Meta's own view rather than independent first-party site arrivals and backend orders.&lt;/p&gt;

&lt;p&gt;Because MCP clients support multiple servers at once, teams do not have to choose exclusively: you can connect Meta's official Ads MCP (with write/delete tools toggled off) for Meta-side peer benchmarks alongside a governed server like Plainrouter for independent arrival counts, approval queues, and decision receipts.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Tool counts vary 4.6x across the ecosystem (40 to 185 tools)
&lt;/h2&gt;

&lt;p&gt;Wrapping every Meta Marketing API endpoint 1-to-1 into MCP tools looks impressive on a feature checklist, but it taxes every single turn in your agent session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;oliverames/meta-mcp-server&lt;/code&gt; registers &lt;strong&gt;185 tools&lt;/strong&gt; (~56.5k tokens of source-level tool definitions across Ads, Pages, Instagram, WhatsApp, and Commerce).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;EfrainTorres/armavita-meta-ads-mcp&lt;/code&gt; registers &lt;strong&gt;125 tools&lt;/strong&gt; in Rust with tight macro docstrings (~19.5k tokens) and built-in token redaction.&lt;/li&gt;
&lt;li&gt;Meta Official Ads MCP registers &lt;strong&gt;111 tools&lt;/strong&gt; (heavy catalog and experiment coverage alongside core ads).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mikusnuz/meta-ads-mcp&lt;/code&gt; registers &lt;strong&gt;88 tools&lt;/strong&gt; (~25.5k tokens).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;pipeboard-co/meta-ads-mcp&lt;/code&gt; keeps the leanest open-source surface at &lt;strong&gt;40 tools&lt;/strong&gt; (~20.7k tokens, zero delete tools).&lt;/li&gt;
&lt;li&gt;Plainrouter registers &lt;strong&gt;44 tools&lt;/strong&gt; and paginates &lt;code&gt;tools/list&lt;/code&gt; at 15 tools per page with read-only conversion and arrival counts on page 1.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. &lt;code&gt;PAUSED&lt;/code&gt; defaults do not equal write safety
&lt;/h2&gt;

&lt;p&gt;Every open-source server we audited defaults &lt;code&gt;create_campaign&lt;/code&gt;'s &lt;code&gt;status&lt;/code&gt; parameter to &lt;code&gt;"PAUSED"&lt;/code&gt;. That is good baseline hygiene, but it does not protect live spend after creation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;All four open-source servers allow the LLM to pass &lt;code&gt;status: "ACTIVE"&lt;/code&gt; directly or call &lt;code&gt;update_campaign&lt;/code&gt; / &lt;code&gt;update_adset&lt;/code&gt; to modify live budgets immediately.&lt;/li&gt;
&lt;li&gt;Four of the six servers audited (&lt;code&gt;mikusnuz&lt;/code&gt;, &lt;code&gt;armavita&lt;/code&gt;, &lt;code&gt;oliverames&lt;/code&gt;, and Meta's own official Ads MCP) expose &lt;strong&gt;6 to 12 explicit delete tools&lt;/strong&gt; directly to the model.&lt;/li&gt;
&lt;li&gt;None of the four open-source servers implement a server-side approval queue, budget-increase gate, or immutable decision receipt. Safety relies entirely on your client's local tool-confirmation prompt (which users routinely click "Always allow" on).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you only run read-only insights, Meta's native server (in read-only mode) or a lean open-source wrapper with a read-only token is completely fine. Once an agent has write credentials on a live or client ad account, server-side policy enforcement (such as &lt;code&gt;Ask&lt;/code&gt;, &lt;code&gt;Custom&lt;/code&gt;, and &lt;code&gt;Full&lt;/code&gt; modes where budget raises and campaign/ad-set activations always wait for a person) removes an entire class of expensive mistakes.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Reading Meta Insights without first-party conversion checks
&lt;/h2&gt;

&lt;p&gt;When an agent only sees Meta's self-reported ROAS (whether via Meta's official MCP or a third-party Graph API wrapper), a broken checkout webhook or a dropped &lt;code&gt;_fbc&lt;/code&gt; cookie looks identical to creative fatigue. Pairing Meta ad metrics with independent arrival counts and CAPI delivery/deduplication health prevents agents from proposing campaign pauses caused by tracking regressions.&lt;/p&gt;




&lt;h2&gt;
  
  
  Reproducing or updating these numbers
&lt;/h2&gt;

&lt;p&gt;All raw JSON snapshots (including the full 111-tool Meta Official Ads MCP inventory) and the zero-dependency Node audit script are public under MIT here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub benchmark repo:&lt;/strong&gt; &lt;a href="https://github.com/plainrouter/meta-ads-mcp-benchmarks" rel="noopener noreferrer"&gt;&lt;code&gt;github.com/plainrouter/meta-ads-mcp-benchmarks&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full comparison guide:&lt;/strong&gt; &lt;a href="https://plainrouter.com/library/meta-ads-mcp-options" rel="noopener noreferrer"&gt;Meta Ads MCP options compared&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you maintain one of these servers (or spot an update to Meta's live tool list), feel free to open a PR against the benchmark repo so the numbers stay current.&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>aiagents</category>
      <category>meta</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Designing approval gates for an AI agent with Meta Ads write access (MCP architecture notes)</title>
      <dc:creator>bursteri</dc:creator>
      <pubDate>Tue, 24 Nov 2026 18:00:42 +0000</pubDate>
      <link>https://dev.to/bursteri/designing-approval-gates-for-an-ai-agent-with-meta-ads-write-access-mcp-architecture-notes-2k9l</link>
      <guid>https://dev.to/bursteri/designing-approval-gates-for-an-ai-agent-with-meta-ads-write-access-mcp-architecture-notes-2k9l</guid>
      <description>&lt;p&gt;Connecting an AI agent to Meta Ads for &lt;strong&gt;read-only reporting&lt;/strong&gt; is straightforward. You wire up OAuth, expose a handful of Insights endpoints over Model Context Protocol (MCP), and let Claude or Cursor summarize spend, CPA, and creative fatigue.&lt;/p&gt;

&lt;p&gt;The hard engineering problem starts the moment someone asks the agent to &lt;strong&gt;make a change&lt;/strong&gt;: pause an underperforming ad set, upload new creative variants, or adjust a daily budget.&lt;/p&gt;

&lt;p&gt;Live ad accounts have real money attached to every &lt;code&gt;POST&lt;/code&gt; call. If an LLM hallucinates a zero (&lt;code&gt;500&lt;/code&gt; instead of &lt;code&gt;50&lt;/code&gt;), targets the wrong client account, or activates an unreviewed creative, standard API retries cannot undo the spend.&lt;/p&gt;

&lt;p&gt;Here is the three-layer governance architecture we landed on to make ad-account MCP writes safe enough for real teams.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Never let an agent mutate live spend directly by default
&lt;/h2&gt;

&lt;p&gt;The most useful constraint is separating &lt;strong&gt;preparing a change&lt;/strong&gt; from &lt;strong&gt;activating spend&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Paused by default:&lt;/strong&gt; Any newly created campaign, ad set, or creative variant starts &lt;code&gt;PAUSED&lt;/code&gt;. Preparing ten creative variants never spends a cent until a human (or an explicit policy rule) activates them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped ad-account boundary:&lt;/strong&gt; An OAuth token or MCP session is pinned to an explicitly approved workspace and ad account, not every account inside a Business Manager portfolio. For agencies running multiple clients, cross-client blast radius has to be structurally impossible at the server layer, not left to prompt instructions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured proposals instead of raw Graph API passthrough:&lt;/strong&gt; Rather than giving the LLM a generic &lt;code&gt;meta_post(path, body)&lt;/code&gt; tool, every write passes through a typed proposal contract with explicit fields (&lt;code&gt;target_id&lt;/code&gt;, &lt;code&gt;before_value&lt;/code&gt;, &lt;code&gt;after_value&lt;/code&gt;, &lt;code&gt;reason&lt;/code&gt;, &lt;code&gt;idempotency_key&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  2. Three execution modes: &lt;code&gt;Ask&lt;/code&gt;, &lt;code&gt;Custom&lt;/code&gt;, and &lt;code&gt;Full&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Binary "read-only vs. full write" forces teams into a bad trade-off: either the agent can't help with execution at all, or you hand it unrestricted write access.&lt;/p&gt;

&lt;p&gt;A three-tier execution model solves most real workflows cleanly:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mode&lt;/th&gt;
&lt;th&gt;What happens when the agent calls a write tool&lt;/th&gt;
&lt;th&gt;Typical use case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Ask&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every write creates a pending proposal in an approval queue; nothing executes on Meta until a human approves it.&lt;/td&gt;
&lt;td&gt;New accounts, agencies, sensitive budgets, creative launches.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Custom&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Policy rules auto-approve narrow, bounded actions (e.g., pausing an ad that exceeded a CPA cap, or staging paused drafts) while routing budget increases and activations to human approval.&lt;/td&gt;
&lt;td&gt;Day-to-day growth teams wanting safe guardrails.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Full&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Policy-compliant changes execute automatically within workspace bounds, while every action is still recorded in an immutable audit log.&lt;/td&gt;
&lt;td&gt;Mature, tightly scoped automations.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The key design detail is that &lt;strong&gt;the agent calls the exact same MCP tool in all three modes&lt;/strong&gt;. Policy evaluation happens server-side, never inside the LLM prompt. If a tool call violates a cap or requires approval, the server returns a deterministic &lt;code&gt;pending_approval&lt;/code&gt; state with a review URL so the agent doesn't panic or enter a retry loop.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Why ad-account ROAS alone misleads an AI agent
&lt;/h2&gt;

&lt;p&gt;Even with tight write guardrails, there is a subtler failure mode: &lt;strong&gt;garbage-in measurement&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If an agent reads Meta's self-reported ROAS from the Marketing API and sees purchases drop 40% overnight, a naive agent will propose pausing campaigns or rotating creatives. Half the time, the ads didn't break; &lt;strong&gt;the Conversions API pipeline did&lt;/strong&gt; (a Shopify update dropped &lt;code&gt;event_id&lt;/code&gt; deduplication, a CMP change stopped passing &lt;code&gt;_fbc&lt;/code&gt;, or someone started hashing &lt;code&gt;fbp&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Giving the agent access to &lt;strong&gt;first-party signal health&lt;/strong&gt; (landing arrivals, server delivery receipts, deduplication ratio, and backend-confirmed revenue) alongside Meta's ad metrics lets it distinguish a tracking regression from actual ad fatigue &lt;em&gt;before&lt;/em&gt; proposing a spend change.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Practical implementation notes
&lt;/h2&gt;

&lt;p&gt;If you are building or auditing an MCP server with write capabilities against any financial or advertising API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Enforce idempotency keys on proposals.&lt;/strong&gt; LLMs retry tool calls when responses are slow. Without an idempotency key, a timeout can duplicate a budget increase or create duplicate ad sets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep tool definitions lean.&lt;/strong&gt; Loading 60+ raw API wrappers into &lt;code&gt;tools/list&lt;/code&gt; bloats the client's context window and degrades tool selection accuracy. Group read diagnostics and typed write proposals into a small, well-documented surface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record who proposed, who approved, and what changed.&lt;/strong&gt; Store the actor (&lt;code&gt;agent&lt;/code&gt; / &lt;code&gt;user&lt;/code&gt;), policy evaluation result, pre-state, and post-state for every mutation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;(Disclosure: This is the governance model we built in &lt;a href="https://plainrouter.com/docs/actions/policies-and-safety" rel="noopener noreferrer"&gt;Plainrouter&lt;/a&gt; for Meta Ads MCP and Conversions API diagnostics; our typed SDKs and CLI live on &lt;a href="https://github.com/plainrouter/sdk" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.)&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>aiagents</category>
      <category>architecture</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
