Skip to main content
Glama

Create a paused ChatGPT Ads ad group

chatgpt_ads_create_ad_group

Create an ad group inside a campaign, always PAUSED. Previews by default (dryRun true). Needs the campaign id and a name; bidding is billed per click or per impression, with an optional maximum bid (omit for automatic bidding), optional context hints (topics the ad should appear next to), and an optional queryStringTemplate (UTM tags; it overrides the campaign's for a matching key). A name that already exists in that campaign is refused.

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": {
      "campaignId": "<campaignId>",
      "name": "<name>"
    },
    "name": "chatgpt_ads_create_ad_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesAd group 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. Omit for 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.
campaignIdYesThe campaign id, from chatgpt_ads_get_campaigns.
billingEventNoPay per click (default) or per thousand impressions.
contextHintsNoTopics or phrases describing the conversations the ads should show beside.
queryStringTemplateNoUTM / tracking query string OpenAI appends to destination links, e.g. utm_source=chatgpt.com&utm_medium=cpc&utm_campaign={campaign_id}&utm_content={ad_id} (no leading '?', max 2048). Only {campaign_id}, {ad_id} and {oppref} are supported macros. Set at campaign level and ad groups and ads inherit it; a lower level overrides a matching key. chatgpt_ads_utm_audit shows what is tagged and recommends a template.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations it discloses the created entity is always paused, that the default is a no-op preview, that a duplicate name inside the campaign is refused, and how billing/max bid interact. These are exactly the traits an agent cannot infer from readOnlyHint/destructiveHint/idempotentHint alone.

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?

One paragraph, front-loaded with the create action and the paused/preview defaults. It is dense and slightly run-on (billing, hints, UTM and duplicate-name rules all in one breath), but nearly every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter creation tool with no output schema, the description covers required inputs, defaults, error behavior and the key optional fields. It leaves accountId resolution and the response shape unaddressed, but the schema already carries the former.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description mentions maxBid omission for automatic bidding, context hints and queryStringTemplate override-on-matching-key, but all of that is already documented in the schema properties and adds little new meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Create an ad group inside a campaign') plus two non-obvious facts about the result: it is always PAUSED and previews by default. It does not explicitly contrast itself with chatgpt_ads_update_ad_group or chatgpt_ads_create_ad, but the resource is unambiguous.

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 concrete prerequisites ('needs the campaign id and a name') and a workflow rule ('previews by default… set false only after the user has seen the preview' is echoed from the schema). It stops short of naming when a different tool should be used instead, so it is short of a 5.

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