Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Update ChatGPT Ads Campaign

update_chatgpt_ads_campaign
Destructive

Changes an existing ChatGPT Ads campaign: name, budget, locations, platforms, schedule, conversion events, status.

Only what you pass changes. Budgets are in the account currency. daily_budget on a lifetime-budget campaign SWITCHES it to a daily budget, which OpenAI does not let you undo (a lifetime budget would need a new campaign); the dry run says so. A campaign has exactly one budget type, so pass one of the two. include_locations / exclude_locations take ISO country codes (TR, GB) or location ids from chatgpt_ads_geo_lookup (e.g. 2001311 = Istanbul); locations_mode: replace (the list becomes exactly this, default) | add | remove. Changing geography rewrites the whole targeting block, so the current audiences and platforms are read first and sent back unchanged. platforms: any of ios_app, android_app, web, desktop_web, ios_web, android_web, or ['all'] to lift the restriction; a platform-only change leaves locations untouched. start / end: YYYY-MM-DD or YYYY-MM-DDTHH:MM in the account time zone, 'now', or 'none' to remove the date. conversion_event_setting_ids attaches event settings for measurement (conversion_mode add | replace | remove); it is refused on a conversions-objective campaign because OpenAI locks that event at creation. status: active | paused (archiving is chatgpt_ads_status). The objective itself can never change. confirm=false returns a dry run showing each current value next to the proposed one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNo
nameNo
startNo
statusNo
accountNo
confirmNo
platformsNo
campaign_idYes
descriptionNo
daily_budgetNo
locations_modeNoreplace
conversion_modeNoadd
lifetime_budgetNo
exclude_locationsNo
include_locationsNo
conversion_event_setting_idsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond annotations (which only flag destructive/openWorld/non-idempotent): it warns that daily_budget on a lifetime campaign irreversibly switches budget type, that geos rewrite the whole targeting block with audiences/platforms read back unchanged, that the objective can never change, and that a dry run shows current vs proposed values. This is exactly the destructive-behavior context an agent needs.

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?

Dense but front-loaded with the verb/resource, then grouped by concern (budget, geo, platforms, dates, conversion, status, dry run). Nearly every sentence carries operational value; a few clauses (e.g. the Istanbul id example) are slightly verbose but still illustrative.

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 16-param destructive mutation with a 0%-coverage schema, the description plus an existing output schema and safety annotations leave nothing critical unaddressed: budget constraints, targeting side effects, irreversible operations, and the dry-run escape hatch are all documented.

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 0%, so the description must carry all parameter meaning, and it does for the hard cases: budget-type exclusivity, ISO codes/geo ids for include/exclude_locations, locations_mode values with defaults, platform enum values and ['all'], date formats/time zone, and conversion_mode add/replace/remove. Only account, description, and name are left to inference.

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 (Changes/Update) and resource (existing ChatGPT Ads campaign) and enumerates the mutable surface: name, budget, locations, platforms, schedule, conversion events, status. It also implicitly differentiates from create_chatgpt_ads_campaign and update_chatgpt_ads_ad/ad_group by scoping to campaign-level fields.

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 strong contextual guidance: 'Only what you pass changes,' confirm=false for a dry run, conversion_event_setting_ids refused on conversions-objective campaigns, and explicitly routes archiving to chatgpt_ads_status and location ids to chatgpt_ads_geo_lookup. It lacks an explicit statement of when to prefer this tool over a sibling update tool, but the routing hints are substantive.

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.