Skip to main content
Glama

Change a ChatGPT Ads campaign's daily budget

chatgpt_ads_set_daily_budget
Idempotent

Change the DAILY budget of one campaign, in the account currency (for example 25 for 25.00). Previews by default (dryRun true) with before and after; set dryRun false only after the user agrees. A budget that more than doubles is refused unless allowLargeChange is true. The minimum is 1.00. Only works where the user has allowed changes for the ad account in the Caybl.ai dashboard.

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": {
      "campaignId": "<campaignId>",
      "dailyBudget": "<dailyBudget>"
    },
    "name": "chatgpt_ads_set_daily_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
dryRunNoPreview only (the default): reads the current value and shows exactly what would change (before and after) without sending anything. Set false only after the user has seen the preview and agreed.
accountIdNoThe ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out.
campaignIdYesThe campaign id, from chatgpt_ads_get_campaigns.
dailyBudgetYesThe new daily budget in the account currency, e.g. 25 for 25.00.
allowLargeChangeNoA budget that more than doubles the current one is refused unless this is true. Set it only when the increase is deliberate and the user has confirmed it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint false, idempotent, non-destructive, open world) by disclosing the safe-preview workflow, that a preview shows exact before and after values, the doubling guard, the 1.00 minimum, and the dashboard permission prerequisite. These are exactly the operational traits an agent needs before mutating a live 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?

Five tight sentences, front-loaded with what changes and in what units, followed by the preview-by-default rule and then the guardrails. Every sentence carries actionable information with no restatement of the title.

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 5-parameter mutation tool with no output schema, the definition covers units, preview flow, escalation conditions, limits, and the permission prerequisite. Nothing an agent needs to call it safely is missing.

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, but the description still adds real meaning: '25 for 25.00' pins down currency units, and the stated 1.00 minimum clarifies behavior the schema only expresses as exclusiveMinimum 0. It does not explain accountId's optionality, though the schema already does.

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 budget of one campaign') and scopes it to campaign level, which separates it from the account-level spend-limit sibling. The currency qualifier and the 'one campaign' framing make the unit of operation unambiguous.

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-to-use sequencing: dryRun true is the default preview with before/after, and dryRun false only after the user agrees; allowLargeChange only when the increase is deliberate and confirmed. It also states a precondition (changes must be enabled for the ad account in the dashboard). It does not name a sibling alternative such as the account-level budget tool, which is the only 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.

Resources