Skip to main content
Glama

chatgpt_ads_ad_groups_update

Rename a ChatGPT Ads ad group and return the updated object; each change is logged so rollback_apply can reverse it.

Instructions

Renames one ChatGPT Ads ad group. Returns the updated platform object unchanged. Mutates the account. mureo records a reversal in STATE.json action_log, so rollback_apply can undo it. For bids use chatgpt_ads_ad_groups_update_bid; to pause or activate use chatgpt_ads_ad_groups_pause / chatgpt_ads_ad_groups_enable; to retire it for good, chatgpt_ads_ad_groups_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": {
      "ad_group_id": "<ad_group_id>",
      "name": "<name>"
    },
    "name": "chatgpt_ads_ad_groups_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNew 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)
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.
ad_group_idYesAd group id as the API returns it (e.g. 'adgrp_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

A5/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 states the account is mutated, that the return is the updated platform object unchanged, that a reversal is written to STATE.json action_log so rollback_apply can undo it, and that archive (unlike this) is irreversible. That reversibility and audit-trail context is exactly the behavioral information annotations cannot convey.

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?

The mutation and return behavior is front-loaded, followed by the rollback note, then a compact semicolon-delimited routing list to siblings. Every clause earns its place: no restatement of the name or title, no filler.

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 six-parameter mutation with a nested approval object and no output schema, the description covers the mutation, the shape of the return, the undo path, and the sibling routing. The audit-trail parameters (reason, expected, approval, decision_id) are fully explained in the schema, so nothing an agent needs before invoking this tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

schema_description_coverage is 100% and every property carries its own inline documentation, including format rules for name, the purpose of reason/approval/expected/decision_id, and the enum-like metric and direction values. The description adds no parameter detail beyond "renames," but the schema already fully specifies all six, so the baseline of 3 would understate a description that correctly defers rather than duplicates. No parameter meaning is lost.

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?

"Renames one ChatGPT Ads ad group" names a specific verb (rename), a specific resource, and a scope of exactly one, so a rename is distinguishable from a bid change, a status change, or an archive. The opening sentence alone lets an agent rule this tool in or out without opening the 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?

It routes explicitly to alternatives by condition: bids go to chatgpt_ads_ad_groups_update_bid, pausing/activating go to chatgpt_ads_ad_groups_pause / _enable, and retirement goes to chatgpt_ads_ad_groups_archive, which is flagged as irreversible. Both when-to-use and when-not-to-use are stated with named siblings.

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