Skip to main content
Glama

Update one object

meta_update
DestructiveIdempotent

Change one campaign, adset, ad or creative. Budgets and bids are in whole minor currency units. adset targeting merges into the current one: send only keys that change (each replaces that key; null removes it). With Advantage+ audience on, ages, genders and detailed targeting can't change: create a new ad set with advantage_audience 0. is_dynamic_creative can't change. A creative's content can't be edited on Meta (rename only): create a new creative and set the ad's creative_id. Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.

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": {
      "level": "<level>"
    },
    "name": "meta_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
ad_idNoRequired for ad. A string, never a number
levelYes
statusNocampaign, adset, ad
bid_capNoOnly campaign
messageNoOnly creative
adset_idNoRequired for adset. A string, never a number
end_timeNoOnly adset
headlineNoOnly creative
messagesNoOnly creative
dsa_payorNoOnly adset
headlinesNoOnly creative
objectiveNoOnly campaign
spend_capNoOnly campaign
targetingNoOnly adset
ad_formatsNoOnly creative
bid_amountNoOnly adset, ad
start_timeNoOnly adset
campaign_idNoRequired for campaign. A string, never a number
creative_idNoRequired for creative; optional for ad. A string, never a number
descriptionNoOnly creative
bid_strategyNocampaign, adset; adset: LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS or TARGET_COST
daily_budgetNoOnly campaign, adset
descriptionsNoOnly creative
adset_budgetsNoOnly campaign
tracking_specsNoOnly ad
bid_adjustmentsNoOnly adset
bid_constraintsNoOnly adset
dsa_beneficiaryNoOnly adset
lifetime_budgetNoOnly campaign, adset
attribution_specNoOnly adset
lead_gen_form_idNoOnly creative. A string, never a number
acknowledge_rulesNoOnly on a retry after the user's Yes to rule reasons; never on a first call.
optimization_goalNoOnly adset
optimization_typeNoOnly creative
call_to_action_typeNoOnly creative
is_dynamic_creativeNoOnly adset
multi_advertiser_adsNoOnly adset
dynamic_creative_specNoOnly creative
special_ad_categoriesNoOnly campaign
creative_features_specNoOnly creative
frequency_control_specsNoOnly adset
use_adset_level_budgetsNoOnly campaign
campaign_budget_optimizationNoOnly campaign
regional_regulated_categoriesNoOnly adset
regional_regulation_identitiesNoOnly adset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say destructive, idempotent, open-world). It discloses currency units for budgets and bids, that adset targeting merges key-by-key with null removing a key, that Advantage+ locks ages/genders/detailed targeting, that is_dynamic_creative and creative content are immutable, and that a rule-reason result means nothing changed.

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?

Dense and front-loaded: capability first, then unit conventions, then immutability constraints, then the approval/retry protocol. Nearly every sentence carries operational weight, though the paragraph is long enough that the retry rule could stand alone more clearly.

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 a 46-parameter destructive mutation tool with no output schema and no annotations beyond safety hints, the description supplies the constraints that actually cause bad calls: immutability, unit conventions, merge semantics, and the user-confirmation gate. The response shape is undocumented, but the rule-reason failure mode is the only return detail an agent must act on, and that is covered.

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

Parameters4/5

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

Schema coverage is 96%, so the baseline is 3, but the description adds real meaning the schema lacks: budgets/bids in whole minor units, the merge-vs-replace semantics of the targeting object, and the precise first-call-vs-retry contract for acknowledge_rules. With 46 parameters it can't annotate them all, but it covers the highest-risk ones.

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?

Opens with a specific verb and enumerated resource scope: 'Change one campaign, adset, ad or creative.' The word 'one' implicitly separates it from meta_bulk_update, and the verb 'change' separates it from the meta_create_* siblings.

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

Usage Guidelines4/5

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

Gives explicit procedural guidance: confirm with the user before calling, and if rule reasons come back, show them, ask again, and retry with acknowledge_rules:true. It also routes the agent to create a new ad set or creative when the requested change is blocked. It doesn't explicitly name sibling tools for bulk edits, but the 'one object' framing covers that gap.

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.