Skip to main content
Glama

New paused ad group

create_ad_set
Destructive

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.

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

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, openWorldHint=true and non-read-only, so the safety profile is covered. The description adds context beyond that: the ad group is created paused with no spend, no approval flow is triggered, budget fields only apply to campaigns without a budget, and conversion objectives require pixel_id plus an event. It stops short of saying what is returned or what permissions/account scopes are needed.

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 purpose is front-loaded, but the remainder is a single run-on paragraph mixing Meta, Google and Microsoft specifics with no separation, making it hard to scan for the platform in use. The length is defensible for 24 params, but the lack of structure wastes reader effort.

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-field, nested-object mutation with no output schema, the description covers the important semantics: defaults, budget constraints, conversion requirements and placement fallbacks. Gaps remain around the returned identifier and whether the parent campaign must be in a particular status, but nothing critical to a correct call 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?

With 24 parameters at 42% schema coverage, the description carries the burden and largely does: it explains cross-field constraints (budget_minor/lifetime_budget_minor only for unbudgeted campaigns, lifetime requires end_time, custom_event_type must match the custom conversion, advantage_audience must be set explicitly, age range 13–65) and the source tools for countries/regions/cities/interests. Several parameters, notably page_id, languages and the placement sub-fields, are only covered by schema text.

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?

The opening clause states a specific verb and resource ('Create a paused ad group in a campaign') and immediately discloses the default state, which distinguishes it from create_campaign and create_ad. It never names those siblings explicitly, so differentiation is inferred from the resource noun rather than stated.

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?

'no spend, no approval needed; enabling is a status proposal' gives useful context that this tool is safe to call without the propose_change/approve_change flow, which is real guidance. However, it never states prerequisites (existing campaign, matching campaign type) or when to choose this over create_ad or a platform-specific change tool; usage is implied rather than 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.

Resources