Skip to main content
Glama

Google Ads & Meta Ads

Meta: Update Campaign, Ad Set, Ad or Creative

meta_update_object
DestructiveIdempotent

Rename a Meta campaign, ad set, ad or creative in your ad account, change a campaign's or ad set's start and end dates, or swap the creative an ad shows (creative_id). Budget, status, targeting and bidding have their own tools (meta_update_budget, meta_set_status, meta_update_adset_targeting, meta_update_adset_bidding). An ad whose creative changes goes back through Meta's ad review.

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": {
      "object_id": "<object_id>",
      "object_type": "<object_type>"
    },
    "name": "meta_update_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name.
end_timeNoCAMPAIGN or ADSET: new end, ISO 8601 with offset.
object_idYesId of the object to change.
start_timeNoCAMPAIGN or ADSET: new start, ISO 8601 with offset.
creative_idNoAD only: creative to show instead.
object_typeYesWhat the id is.
ad_account_idNoMeta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.

Output Schema

NameRequiredDescriptionDefault
objectIdYesId of the changed object.
objectTypeYesKind of object.
changedFieldsYesGraph fields that were written.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds a genuine behavioral consequence not present in structured data — that changing an ad's creative sends it back through Meta's ad review. It does not state that name/date changes are live immediately and non-reversible, which is the remaining gap for a destructive mutation.

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

Conciseness5/5

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

Two sentences: the first front-loads what can be changed, the second eliminates the main confusion risk (sibling concerns) plus one caveat. No filler, no repetition of the title.

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

Completeness4/5

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

With an output schema, rich annotations and full schema coverage, the description only needed to carry scope, sibling boundaries and surprising behavior — and it does all three. It omits the multi-ad-account requirement for ad_account_id, though that is documented in the schema, and never states that mutations take effect immediately on live objects.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter is already documented with type, enum and per-object applicability (end_time/start_time for CAMPAIGN or ADSET, creative_id for AD only). The description restates object scope at a high level but adds no syntax or format detail beyond the schema — baseline 3.

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?

Names concrete verbs and resources (rename campaign/ad set/ad/creative, change start and end dates, swap the creative an ad shows) and states the scope boundary in the same breath. An agent can distinguish this from meta_update_budget or meta_set_status without opening either 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 four adjacent concerns (budget, status, targeting, bidding) to their named sibling tools, so when-to-use and when-not-to-use are both stated. Nothing about tool selection is left to inference.

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