Skip to main content
Glama

Adbloop Meta Ads

update_campaign_budget

Destructive

Change the daily budget (and/or rename) of an existing campaign or ad set. The account is required so the new budget is checked against your spend guardrails. Requires confirm:true after the user approves the new budget. WRITES live.

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": {
      "entity_id": "<entity_id>",
      "meta_account_id": "<meta_account_id>",
      "confirm": "<confirm>"
    },
    "name": "update_campaign_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional new name.
confirmYesMust be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation.
entity_idYesCampaign ID (CBO budget) or ad set ID.
daily_budgetNoNew daily budget, MAJOR units (e.g. 500 = ₹500).
meta_account_idYesREQUIRED — the ad account this entity belongs to (for the guardrail check).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true, and only after the user has explicitly approved this exact change (account, items and new values) in the conversation.",
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "entity_id",
      -  "meta_account_id"
      -]New value: +[
      +  "entity_id",
      +  "meta_account_id",
      +  "confirm"
      +]
  2. 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 readOnlyHint=false and destructiveHint=true, so the write nature is known. The description adds genuinely new context: the change goes live in production, the new budget is validated against spend guardrails, and a confirmation gate is enforced. It does not describe failure modes or what happens when the guardrail rejects the budget.

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 the action and scope, then the safety constraints. Every sentence contributes either scope, a prerequisite, or a behavioral warning; nothing is padding.

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 destructive mutation with no output schema, the description covers the essentials: what changes, which entities, the account prerequisite, and the confirmation gate. It is slightly thin on outcome behavior — no mention of what the response contains or what happens on guardrail rejection — but nothing critical is missing for correct invocation.

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 baseline is 3. The description goes beyond the schema by explaining why meta_account_id is required (guardrail check) and by sequencing confirm to after explicit user approval, adding intent and ordering that the field descriptions alone do not convey.

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 daily budget / rename) and names the exact entity scope (existing campaign or ad set), which cleanly separates it from create_campaign, delete_campaigns, and update_adset_schedule.

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 a clear precondition for use — the user must have explicitly approved the new budget and confirm:true must be passed — plus the reason the account ID is mandatory. It does not name a sibling alternative for cases where the user wants a different kind of update, so it falls short of a full when/when-not routing.

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