Skip to main content
Glama

ads_campaign_create

Destructive

Create an empty campaign to attach ads to later (attach_to.campaign_id in ads_ad_create / ads_post_boost; the campaign's platform_id is the network id to use there). Paused unless status is active. Meta: name, optional goal, optional budget (makes it a campaign-budget campaign), bid_strategy only with a budget. Google: creates a Search campaign and requires budget; also takes bidding, schedule, targeting, network_settings. Returns the campaign.

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_account_id": "<ad_account_id>",
      "name": "<name>"
    },
    "name": "ads_campaign_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoMeta. Default engagement.
nameYesCampaign name
budgetNoBudget in the ad account currency, whole units (10 = 10.00). Meta minimum is the ad account's minimum_daily_budget.
statusNoDefault paused
biddingNoGoogle bidding: { strategy, target_cpa, max_cpc }. maximize_clicks (default, optional max_cpc ceiling), manual_cpc (needs max_cpc), maximize_conversions, target_cpa (needs target_cpa).
scheduleNoWhen the ad runs. Without end it runs until paused. On Meta end must be at least 30 hours after the start.
targetingNoAudience. Meta defaults to US, ages 18-65. Google Search accepts only locations, excluded_locations and location_targeting_type, with locations as arrays of numeric ids.
profile_idNoAds profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are.
bid_strategyNoMeta, only with a budget
ad_account_idYesAd account id: the network's own id, from ads_accounts_list (id field)
campaign_typeNoGoogle. Only search can be created.
validate_onlyNoCheck the request without creating anything. Returns { valid: true, validated: [...] }. On Meta only the parameters and the campaign are dry-run; on Google the whole request is.
idempotency_keyNoUnique key for this create, sent as the Idempotency-Key header. Reuse the same key when retrying so the object is not created twice.
network_settingsNoGoogle: { search_partners, display_network }, both default false
profile_group_idNoProfile group hashid, to scope the call to one profile group. Usually not needed.
special_ad_categoriesNoMeta special ad categories
eu_political_advertisingNoGoogle. Default false.
special_ad_category_countriesNoMeta

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the campaign is paused unless status is active, an optional budget turns it into a campaign-budget campaign, bid_strategy is rejected without a budget, and it returns the campaign. It does not mention permission requirements or any partial-failure behavior beyond what validate_only in the schema implies.

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?

Two sentences, front-loaded with the core purpose and its downstream use, then platform-specific deltas. It is dense – the Google clause packs budget, bidding, schedule, targeting and network_settings into one phrase – but every clause carries actionable information and nothing is decorative.

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 18-parameter tool with nested objects and no output schema, the description covers the return value ('Returns the campaign'), default paused state, and the Meta-versus-Google divergence that drives conditional requirements. Remaining gaps are modest – notably no mention of idempotency_key retry behavior in prose, though the schema documents it fully.

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 schema already documents all 18 parameters including nested goal/budget/bidding/targeting fields, and baseline is 3. The description adds cross-parameter constraints the schema only partly encodes (budget required on Google, bid_strategy only with a budget, budget level making it campaign-budget) and links platform_id to the network id needed downstream, which is genuine added meaning rather than repetition.

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?

States a specific verb and resource ('Create an empty campaign') and immediately scopes it: the campaign exists so ads can be attached later via attach_to.campaign_id in ads_ad_create / ads_post_boost. That routing detail distinguishes it from ads_ad_create and the campaign update/pause/archive siblings without the agent needing to open any schema.

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?

The description establishes the workflow position (create campaign first, attach ads later) and spells out platform-conditional prerequisites: 'Google: creates a Search campaign and requires budget', 'bid_strategy only with a budget', 'bid_strategy only with a budget' on Meta. There is no explicit when-not-to-use clause or a named alternative for creating a campaign with ads in one step, which keeps it just 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.