Skip to main content
Glama

New paused ad group

create_ad_set

Create a paused ad group in a campaign (no spend, no approval needed; enabling is a status proposal). Meta: optimization_goal, countries (ISO) and/or regions / cities from search_locations, age_min/age_max (13–65), genders (all|male|female), advantage_audience (explicitly), for OFFSITE_CONVERSIONS / VALUE — the account's pixel_id and a standard event or a custom conversion (custom_conversion_id) with custom_event_type; optional placements (as in propose_ad_set_targeting; omitted — automatic placements), interests [{id, name}] from search_interests, custom_audience_ids / excluded_audience_ids; budget_minor or lifetime_budget_minor with end_time — only for a campaign without a budget; optional start_time / end_time. Google (Search campaign only): name and an optional cpc_bid_minor. Microsoft (Search campaign only): name and an optional cpc_bid_minor, as for Google. Google Ads: from Claude, ChatGPT or an API key this only saves a request, and nothing is created in Google Ads until a person approves it in the AdAce Ads web app (the response gives the link).

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": {
      "campaign_id": "<campaign_id>",
      "name": "<name>"
    },
    "name": "create_ad_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
citiesNoCities from search_locations: [{key, name, radius, distance_unit}] (radius optional)
age_maxNo
age_minNo
gendersNo
page_idNoRequired for LEAD_GENERATION; a Page from meta_ads.get_pages
regionsNoRegions from search_locations: [{key, name}]
end_timeNoISO 8601 with a time zone
pixel_idNo
countriesNo
interestsNo
languagesNoLanguages from search_languages: [{key, name}]; empty — all languages
placementsNoEmpty publisher_platforms — automatic placements (Advantage+); an empty positions list — all positions of the platform
start_timeNoISO 8601 with a time zone
campaign_idYesThe service campaign id or the platform's campaign id (external_id)
budget_minorNo
cpc_bid_minorNo
custom_event_typeNo
optimization_goalNo
advantage_audienceNo
custom_audience_idsNo
custom_conversion_idNoA custom conversion of the account (get_custom_conversions); custom_event_type must be its type
excluded_audience_idsNo
lifetime_budget_minorNoInstead of budget_minor; requires end_time

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / campaign_id / description
      Added value: +"The service campaign id or the platform's campaign id (external_id)"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say it is not read-only, not destructive, not idempotent, and open-world. The description adds substantive behavior beyond that: the object is created paused with no spend, enabling is a separate status proposal, and for Google Ads nothing exists on the platform until a human approves it in the web app with a link returned. It does not address retry/idempotency risk for a non-idempotent create, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence earns its place, but the body is a single semicolon-chained paragraph where platform sections (Meta/Google/Microsoft/Google Ads) are buried inline. The information is dense and mostly relevant, yet the run-on structure makes conditional rules hard to locate at a glance.

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 a 24-parameter, nested, multi-platform creation tool with no output schema, the definition covers the risky parts: paused state, approval gating per platform, conversion tracking requirements, and budget/time coupling. Remaining gaps are minor (error behavior, retry safety, format details for cpc_bid_minor).

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?

With only 42% schema description coverage across 24 parameters, the description carries the load and does so for the hard cases: pixel_id plus standard event or custom_conversion_id/custom_event_type for OFFSITE_CONVERSIONS and VALUE, budget_minor vs lifetime_budget_minor with end_time and its campaign-budget precondition, placements omitted meaning automatic, and ISO country format. A few parameters (cpc_bid_minor format, advantage_audience intent, start_time) get only a bare mention.

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 opening clause names a specific verb and resource plus a critical state modifier: 'Create a paused ad group in a campaign'. That alone separates it from create_campaign (container) and create_ad (creatives), and the added 'no spend, no approval needed' clause tells the agent what kind of object is produced.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is real context — creation is non-committal (no spend, no approval), and enabling later is framed as 'a status proposal', which implies approve_change/propose_change. But it never names an alternative tool or states prerequisites explicitly (e.g., that the campaign must already exist, or that budget parameters are only valid for campaigns without a budget is buried mid-sentence rather than framed as a usage rule).

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