Skip to main content
Glama

Change a Meta campaign or ad set budget

meta_update_budget
Idempotent

Change the daily or lifetime budget of a Meta campaign or ad set, in the ad account's currency (e.g. 25 = €25.00). Changes of more than 50% up or down need confirmLargeChange=true. An ad set's budget can't be changed when its campaign holds the budget (campaign budget / CBO) - change the campaign's instead. Dry run by default.

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>",
      "id": "<id>"
    },
    "name": "meta_update_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCampaign or ad set id.
levelYes
adAccountNoAd account name or id, from meta_list_ad_accounts.
dailyBudgetNoNew daily budget in the account currency.
validateOnlyNoDefault TRUE: Meta validates the change and nothing changes. Show the user the result; call again with validateOnly=false once they agree.
lifetimeBudgetNoNew lifetime budget in the account currency.
confirmLargeChangeNoRequired for a change of more than ±50%.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantive behavior beyond annotations: currency interpretation of the numeric value, the ±50% confirmation gate, the CBO restriction on which object can be mutated, and that the call is a no-op dry run by default. The 'dry run by default' note sits alongside readOnlyHint=false rather than contradicting it, since the schema marks validateOnly as defaulting to TRUE.

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?

Four short sentences, front-loaded with what changes and in what unit, followed by constraints. No filler or 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?

For a 7-parameter mutation tool with no output schema, the description covers the risky parts well: units, large-change confirmation, CBO blocking, and the safe-by-default validation flow. It could say more about what the dry-run result contains, though 'Show the user the result' gives a usable cue.

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 already 86%, and the description still contributes meaning: the budget unit is the ad account currency with an explicit example, and confirmLargeChange is tied to a concrete ±50% rule. It adds little about the id/level/adAccount trio, which the schema already covers.

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 (change the daily or lifetime budget of a Meta campaign or ad set) and scopes it to the two object levels in the enum. It also distinguishes the campaign-level case from the ad-set case, so an agent can pick correctly without opening the schema.

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 when-not guidance: an ad set's budget cannot be changed under CBO, and the campaign's should be changed instead. Also states the dry-run default and the confirmLargeChange threshold. It stops short of naming a sibling tool (e.g. a dedicated campaign-budget tool) but the routing condition itself is clear.

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