Skip to main content
Glama

Google Ads & Meta Ads

Meta: Update Ad Set Bidding

meta_update_adset_bidding
DestructiveIdempotent

Change how a Meta ad set bids in your ad account: lowest cost with no cap, a cost cap or bid cap per result (bid_amount), or a minimum ROAS target given as a RATIO (pass 2.5 to mean 250%). A minimum ROAS needs an ad set that optimizes for PURCHASE; the ad set is switched to optimize for purchase value in the same change. Under Advantage campaign budget Meta keeps the bid strategy on the campaign, so the change applies to every ad set in that campaign and the result says so. Does not change budgets — use meta_update_budget for that.

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": {
      "adset_id": "<adset_id>"
    },
    "name": "meta_update_adset_bidding"
  }
}

Input Schema

NameRequiredDescriptionDefault
adset_idYesAd set to change. See meta_list_campaigns with adsets.
bid_amountNoCost or bid cap per result, for COST_CAP and LOWEST_COST_WITH_BID_CAP only. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units.
roas_targetNoMinimum ROAS for LOWEST_COST_WITH_MIN_ROAS, as a RATIO: pass 2.5 to mean 250% (2.50 of purchase value per 1 spent). Between 0.01 and 1000.
bid_strategyNoAd set bid strategy. LOWEST_COST_WITHOUT_CAP: Meta's default, the most results for the budget. COST_CAP: keeps the average cost per result near bid_amount. LOWEST_COST_WITH_BID_CAP: no auction bid above bid_amount. LOWEST_COST_WITH_MIN_ROAS: a minimum return on ad spend (roas_target); only on ad sets optimizing for PURCHASE, which are switched to optimize for purchase value. roas_target without bid_strategy means LOWEST_COST_WITH_MIN_ROAS.
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
nameNoName of the ad set.
adSetIdYesAd set that was changed.
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
bidAmountNoCost or bid cap per result; null unless the strategy has one. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.
unchangedYesTrue when the ad set already bid exactly this way and nothing was sent to Meta.
campaignIdNoCampaign the ad set belongs to.
roasTargetNoMinimum ROAS as a ratio (2.5 = 250%); null unless the strategy is LOWEST_COST_WITH_MIN_ROAS.
bidStrategyYesBid strategy the ad set now uses.
campaignWideYesTrue when the strategy was set on the campaign (Advantage campaign budget), so every ad set in it now uses it.
optimizationGoalNoWhat the ad set optimizes for after the change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses key side effects: ROAS changes switch the ad set to optimize for purchase value, and Advantage campaign budget changes propagate to every ad set in the campaign. These are important behavioral details 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?

The description is dense but front-loaded and every sentence carries operational information. It covers purpose, constraints, side effects, and the budget alternative without filler.

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 five-parameter mutation with full schema coverage and an output schema, the description provides everything needed to call it correctly: strategy meanings, ROAS ratio semantics, purchase-optimization requirements, and campaign-budget propagation behavior.

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 100%, so the schema already documents parameters well. The description adds useful meaning by emphasizing the ROAS ratio convention (2.5 means 250%) and the currency semantics for bid_amount, but much of this is also present in the schema.

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?

The description states a specific verb and resource ('Change how a Meta ad set bids') and names the supported strategies. It also explicitly distinguishes itself from meta_update_budget, which handles budgets rather than bidding.

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?

It gives explicit when-to-use guidance for each bid strategy, explains that a minimum ROAS requires a PURCHASE-optimized ad set, and directs budget changes to meta_update_budget. Alternative routing and relevant constraints are clearly stated.

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