Skip to main content
Glama

ChatGPT Ads: build a whole campaign (paused)

chatgpt_ads_build_campaign

Build a whole ChatGPT Ads campaign in one step: the campaign (budget, locations, dates), one ad group (context hints: the topics and questions people ask ChatGPT when the ad should show, 10-15 specific ones; bid) and 1-5 chat-card ads (title, description, link, optional image). The campaign is created PAUSED with everything ready inside it, so nothing spends until it is resumed with chatgpt_ads_set_status. Call WITHOUT confirm first: the preview checks the copy (ChatGPT shows about 32 characters of a title and 54 of a description), the links and the settings, and shows exactly what will be created. Show it to the person; after they approve, call again with confirm: true. Write copy as the next step after ChatGPT's answer and link to the page for that service. A conversions objective needs conversion_event_setting_id from chatgpt_ads_conversion_setup.

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": {
      "account": "<account>",
      "name": "<name>",
      "daily_budget": "<daily_budget>",
      "context_hints": "<context_hints>",
      "ads": "<ads>"
    },
    "name": "chatgpt_ads_build_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
adsYes
utmNoe.g. utm_source=chatgpt&utm_medium=cpc&utm_campaign=fence-boise
nameYesCampaign name
accountYesThe ChatGPT Ads account: its client's name, the account name, or its adacct_ id (chatgpt_ads_list_accounts)
confirmNoLeave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change.
max_bidNoFixed max bid per click (clicks) or per conversion (conversions). Omit for automatic bidding.
end_dateNoYYYY-MM-DD, last day it can run
objectiveNoclicks
start_dateNoYYYY-MM-DD, account time zone
daily_budgetYesReal currency, e.g. 25 = $25.00 a day
location_idsNoFrom chatgpt_ads_find_locations; empty = everywhere ChatGPT ads serve
ad_group_nameNo
context_hintsYesTopics and questions, e.g. 'how much does a cedar fence cost in Boise'
lifetime_budgetNoOptional total cap for the campaign
conversion_event_setting_idNoFor objective conversions: from chatgpt_ads_conversion_setup

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), the description discloses the key behavioral fact that the campaign is created PAUSED and nothing spends until resumed, that the preview call is a true no-op that validates copy, links, and settings, and that the preview will surface copy truncation. That is exactly the context an agent needs to sequence a two-call mutation safely.

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 what gets built, then the safety protocol, then copy best-practice — a sensible order with no filler. The middle sentences are long and comma-chained, which slightly taxes scanability, but every sentence carries information an agent would otherwise have to guess.

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 15-parameter, multi-object creation tool with no output schema, the definition covers the creation shape, the preview/confirm safety flow, the paused-state consequence, the conversion-objective dependency, and the account identifier source (chatgpt_ads_list_accounts). Nothing an agent needs to invoke it correctly appears to be 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?

The description adds real meaning over the 80%-covered schema: it narrows context_hints to '10-15 specific ones' (the schema only caps at 50), states the 1-5 ad range, and explains the ad group's bid and the campaign's budget/locations/dates in prose. It says nothing extra about utm, lifetime_budget, max_bid, or ad_group_name beyond what the schema already documents, so it is strong but not fully additive.

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?

The description opens with a specific verb and resource ('Build a whole ChatGPT Ads campaign in one step') and immediately enumerates exactly what gets created: the campaign (budget, locations, dates), one ad group (context hints, bid), and 1-5 chat-card ads. That scope statement distinguishes it from lower-level siblings such as ads_create_campaign or ads_create_ad_group without needing to name them.

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 gives an explicit two-step protocol — call without confirm to preview, show the preview to the person, then call again with confirm: true after approval — plus a routing rule ('A conversions objective needs conversion_event_setting_id from chatgpt_ads_conversion_setup') and the resume path via chatgpt_ads_set_status. When-to-use, when-not-to-write, and the prerequisite sibling are all stated.

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.