Skip to main content
Glama

Edit a ChatGPT Ads ad group

chatgpt_ads_update_ad_group
Idempotent

Change settings of ONE existing ad group: name, description, billing event (click or impression), the maximum bid (account currency; null returns to automatic bidding), context hints, and the UTM query-string template. Only what you pass changes, and only if it differs. NOT for pausing/resuming (chatgpt_ads_set_status); nothing is archived or deleted. A bid change sends the COMPLETE bidding configuration (current values with your changes), and a maximum bid that more than doubles needs allowLargeChange. Previews by default (dryRun true); set dryRun false only after the user agrees. Only works where the user has allowed changes for the ad account.

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": {
      "adGroupId": "<adGroupId>"
    },
    "name": "chatgpt_ads_update_ad_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name (3+ characters).
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.
maxBidNoMaximum bid in the account currency; null switches to automatic bidding.
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.
adGroupIdYesThe ad group id, from chatgpt_ads_get_ad_groups.
descriptionNoNew description; null clears it.
billingEventNoPay per click or per impression.
contextHintsNoReplace the context hints (topics the ads should show beside); [] clears them.
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.
queryStringTemplateNoThe UTM / query-string template OpenAI appends to the link (landing_page_configuration.query_string_template), e.g. utm_source=chatgpt.com&utm_medium=cpc&utm_campaign={campaign_name}. No leading ?, no spaces, 2048 characters at most. null removes it. Tagging links lets GA4 attribute the traffic (chatgpt_ads_vs_ga4_conversions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the supplied annotations by disclosing patch semantics ("Only what you pass changes, and only if it differs"), the requirement that a bid change send the COMPLETE bidding configuration, and the allowLargeChange guard for increases above double. It also states the permission precondition ("Only works where the user has allowed changes for the ad account"), which annotations do not express.

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?

Compact, front-loaded with the verb, resource, and scope, then exclusions, then mechanics, then safety gating. Every clause carries distinct signal, and the parenthetical cross-references keep related tools tied to the exact conditions that select them.

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 10-parameter mutation tool with no output schema, it covers the things an agent would otherwise have to guess: dryRun default and agreement protocol, partial-update behavior, the bid-doubling refusal, and the account permission requirement. Combined with full schema descriptions, nothing needed to invoke it 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 100%, so per-parameter definitions already carry the baseline meaning for maxBid=null, allowLargeChange, and queryStringTemplate. The description still adds non-obvious semantics: null maxBid returns to automatic bidding and bid updates must carry the full bidding config, which is not apparent from any single field. It does not add anything for adGroupId or accountId beyond 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?

States a specific verb and resource ("Change settings of ONE existing ad group") and enumerates the exact settable fields: name, description, billing event, max bid, context hints, UTM template. It also rules out sibling operations ("NOT for pausing/resuming (chatgpt_ads_set_status)"), so an agent can distinguish it without opening other schemas.

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 pausing/resuming to chatgpt_ads_set_status and makes clear nothing is archived or deleted, so the agent knows this is a non-destructive edit path. It also gives sequencing guidance: preview via dryRun=true by default and set dryRun=false only after the user agrees.

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