Skip to main content
Glama

chatgpt_ads_account_daily_spend_limit_set

Set a ChatGPT Ads account-wide daily spending limit that caps all campaigns and renews at midnight in the account time zone; use it to control daily spend for invoice-billed accounts.

Instructions

Sets the ChatGPT Ads account's daily spending limit, shared by every campaign and renewed at midnight in the account time zone. Returns the platform's answer unchanged (the account's spend limits after the change). Mutates spend; amount in micros of the account currency. Available only for accounts on invoice billing; otherwise the result is feature_not_enabled or an API error. mureo reads the current revision first; with more than one daily rule it refuses and points to Ads Manager. A decrease below spend already counted is rejected. The STRATEGY.md cap max_daily_budget_per_campaign also holds this amount, although the limit is account-wide. mureo records a reversal in STATE.json action_log, so rollback_apply can undo it. Read the limits with chatgpt_ads_account_spend_limits_get.

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": {
      "amount_micros": "<amount_micros>"
    },
    "name": "chatgpt_ads_account_daily_spend_limit_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.
approvalNoExternal approval this change carries out (recorded and shown, never verified)
expectedNoExpected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold.
decision_idNoA proposed decision this change carries out.
amount_microsYesNew daily limit in micros of the account currency (1,000,000 = one unit; 100000000 is 100.00). Use multiples of the currency's smallest unit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations supply only readOnlyHint=false, so the description carries the behavioral burden and does so well: it discloses that the platform's answer is returned unchanged, that the tool reads the revision first, what happens on multi-rule accounts, that decreases below counted spend are rejected, and that a reversal is journalled in STATE.json so rollback_apply can undo it. It stops short of detailing the payload shape or what a successful versus partial result looks like, so a 4 rather than a 5.

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?

The core behavior and the amount semantics are front-loaded, and every sentence adds a fact an agent would otherwise get wrong. It is dense and telegraphic in places ("Mutates spend; amount in micros of the account currency"), trading smooth prose for information density, which costs it a point but not much.

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?

There is no output schema, and the description compensates by stating that the return value is the platform's answer unchanged — the account's spend limits after the change. Combined with the billing restriction, refusal conditions, and rollback note, an agent has everything needed to invoke this mutation safely.

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 adds meaning the schema does not: the amount is account-wide even though STRATEGY.md's max_daily_budget_per_campaign holds the same figure, which is a real source of confusion. It also ties the call to the journal and action_log entry that the reason and approval fields feed, though it does not explain decision_id or expected explicitly.

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 — setting the ChatGPT Ads account's daily spending limit — and immediately scopes it as shared by every campaign and renewed at midnight in the account time zone. This is distinguishable from the sibling read tool and from per-campaign budget setters without opening any schema.

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?

Gives explicit routing: read current values with chatgpt_ads_account_spend_limits_get, and go to Ads Manager instead when more than one daily rule exists. It also names the two conditions that block a call — non-invoice billing (feature_not_enabled) and a decrease below spend already counted — so the agent knows when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools