Skip to main content
Glama

Honeyfield Marketing MCP

Meta Ads: Update ad

meta_update_ad
Destructive

Bestehende Meta-Ad ändern: Text (message), Titel (headline), Beschreibung (description), Zielseite (link), Call-to-Action, UTM-Parameter (url_tags) oder Anzeigenname — ID, Status und Statistik der Anzeige bleiben. Nur übergebene Felder ändern sich; None = bleibt, '' = Feld entfernen (headline, description, url_tags; message und call_to_action lassen sich nicht leeren). Bild und Video bleiben unverändert — für ein neues Medium meta_create_ad und die alte Anzeige pausieren. So funktioniert es bei Meta: Creatives sind unveränderlich. Das Tool legt ein neues Creative an (bisheriger Inhalt + Änderungen) und hängt es an die Anzeige. Folgen, die der Nutzer vorher kennen sollte:

  • Meta sieht einen neuen Beitrag: Likes, Kommentare und Shares der bisherigen Anzeige sind nicht mehr sichtbar.

  • Die Anzeige geht erneut in die Prüfung und kann kurz pausieren.

  • Vorher und nachher stehen in derselben Statistik-Zeile. Für einen sauberen A/B-Vergleich besser eine neue Anzeige anlegen. Lead-Anzeigen: link ist dort immer https://fb.me/ (link → error= link_not_allowed_for_lead_ad); call_to_action nur APPLY_NOW/DOWNLOAD/ GET_QUOTE/LEARN_MORE/SIGN_UP/SUBSCRIBE; das Formular bleibt. Nicht änderbar (error=unsupported_creative): Advantage+/dynamische Creatives, Carousels und Anzeigen, die einen bestehenden Beitrag bewerben. creative_id: weist ein vorhandenes Creative unverändert zu — zum Zurückgehen die previous_creative_id aus der Antwort einer früheren Änderung nehmen (stellt auch den alten Beitrag samt Likes wieder her). Nicht zusammen mit Inhaltsfeldern. validate_only: True liest die Anzeige, baut das neue Creative und lässt Meta es prüfen, ohne etwas anzulegen oder zu ändern; would_create zeigt den neuen Inhalt. Antwort: changed, previous_creative_id, creative_id, effective_status nach dem Zurücklesen. Hängt danach nicht das neue Creative an der Anzeige, kommt error=update_not_applied statt Erfolg. IDs muessen zum Werbekonto des Workspace gehoeren — IDs eines anderen Kontos (auch wenn die Meta-Verbindung es sieht) → {'error': 'foreign_object'}. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ad_id": "<ad_id>"
    },
    "name": "meta_update_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNo
nameNo
ad_idYes
messageNo
headlineNo
url_tagsNo
workspaceNo
creative_idNo
descriptionNo
validate_onlyNo
call_to_actionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag destructiveHint=true and openWorldHint=true, and the description goes well beyond them: Meta creatives are immutable, a new creative is created and attached, existing likes/comments/shares become invisible, the ad re-enters review and may briefly pause, and statistics stay in the same row. It also discloses the failure mode error=update_not_applied and the cross-account guard ('foreign_object'), which the annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the changeable-field list, then grouped into behavior, consequences, lead-ad rules, exclusions, and per-parameter notes — well structured and nearly every sentence carries operational weight. It is long, and the trailing response-field sentence partly duplicates the output schema, so it falls just short of fully earned brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter destructive mutation with 0% schema coverage, the definition covers preconditions, side effects, dry-run mode, rollback path, error codes, and post-write verification. Output schema exists, yet the brief note on post-read status adds confirmation semantics rather than merely restating return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 11 parameters, so the description carries the full burden and does: None = leave unchanged, '' = remove field (only headline, description, url_tags; message and call_to_action cannot be cleared), link is forced to https://fb.me/ for lead ads with a restricted CTA set, creative_id assigns an existing creative and pairs with previous_creative_id for rollback, and validate_only performs a dry run showing would_create.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Bestehende Meta-Ad ändern') and immediately enumerates exactly which fields can be changed (message, headline, description, link, call_to_action, url_tags, name) versus what stays fixed (ID, status, statistics). This is clearly distinguishable from meta_create_ad and meta_update_ad_status without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: for new media use meta_create_ad and pause the old ad; for a clean A/B comparison create a new ad instead. It also names exclusions (Advantage+/dynamic creatives, carousels, boosted-post ads → error=unsupported_creative) and the rule that creative_id must not be combined with content fields.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources