Skip to main content
Glama

chatgpt_ads_campaigns_update

Update a ChatGPT Ads campaign's name and/or schedule, changing only the fields you specify and clearing dates with null. Use this to correct campaign details while preserving other settings.

Instructions

Updates one ChatGPT Ads campaign's name and/or schedule. Returns the updated platform object unchanged. Mutates the account; partial update: only the fields given change, and null clears start_time or end_time. mureo records a reversal in STATE.json action_log, so rollback_apply can undo it. Give at least one of name, start_time, end_time. For the budget use chatgpt_ads_campaigns_update_budget; to pause or activate use chatgpt_ads_campaigns_pause / chatgpt_ads_campaigns_enable; to retire it for good, chatgpt_ads_campaigns_archive (irreversible).

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "chatgpt_ads_campaigns_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name: 3 to 1000 characters on one line, not all spaces.
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)
end_timeNoNew end time as Unix seconds, or null to clear it. Omit to leave it unchanged.
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.
start_timeNoNew start time as Unix seconds, or null to clear it. Omit to leave it unchanged.
campaign_idYesCampaign id as the API returns it (e.g. 'cmpn_123'). Find it with the matching list tool.
decision_idNoA proposed decision this change carries out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.8/5.0
Behavior5/5

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

With only readOnlyHint=false supplied, the description carries real weight: it discloses mutation, partial-update semantics, that null clears start_time/end_time, and that a reversal is logged to STATE.json action_log so rollback_apply can undo it. It also states the return value (the updated platform object unchanged).

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?

Front-loaded with the action and its scope, then mutation/rollback behavior, then sibling routing — a sound ordering with no filler. The single dense block is slightly cramped but every clause carries information.

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?

Covers mutation scope, partial-update and clearing semantics, rollback availability, the return value, and all sibling alternatives for an 8-parameter tool with a nested approval object. Nothing an agent needs to invoke this correctly 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 already 100%, so the baseline is 3; the description adds genuine semantics beyond the schema by explaining the omit-versus-null distinction and the minimum-one-field rule. It does not explain reason/expected/decision_id/approval, but those are self-documented 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?

Names a specific verb and resource ("Updates one ChatGPT Ads campaign's name and/or schedule") and scopes it to a single campaign, which distinguishes it from create/get/list siblings. The bounded field set (name, start_time, end_time) makes the boundary versus update_budget and pause/enable immediately obvious.

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?

Explicitly routes alternatives: budget changes go to chatgpt_ads_campaigns_update_budget, pausing/activating to chatgpt_ads_campaigns_pause / _enable, retirement to _archive (flagged irreversible). It also states the precondition "Give at least one of name, start_time, end_time", so the agent knows when this tool is a no-op.

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