Skip to main content
Glama

Adbloop Meta Ads

bulk_create_campaigns

Destructive

Create many Meta campaigns at once on ONE account (rate-limit-safe, validated). WRITES live. Honors plan limits, spend guardrails, and capacity. Auto-uses the correct Page/Instagram/pixel. Each campaign needs an imageUrl (public image, or Drive/Dropbox share link).

Input Schema

NameRequiredDescriptionDefault
confirmNoSet true to proceed when a spend-guardrail or rate-limit-capacity warning would otherwise pause the run.
page_idNoFacebook Page for the ads. Optional — auto-resolved from the account if omitted.
pixel_idNoMeta Pixel for conversion tracking. Optional — auto-resolved from the account if omitted.
campaignsYesThe campaigns to create; each item's fields are defined in the campaign schema. campaignName and objective are required per campaign; image ads need an imageUrl.
catalogIdNoProduct catalog ID, for DPA / catalog (dynamic product) campaigns.
productSetIdNoProduct set ID within the catalog, for DPA / catalog campaigns.
meta_account_idNoAd account to create all these campaigns on (defaults to your primary account).
instagram_account_idNoInstagram account for placements. Optional — auto-resolved from the account if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / campaigns / items / properties / geoLocations
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "OPTIONAL specific places instead of whole countries (replaces countries when set). Get keys from search_locations. cities: [{ key, radius (km, 17-80; omit for the city only), country_code }], regions: [{ key, country_code }] (states), zips: [{ key e.g. \"IN:380015\", country_code }] (PIN/ZIP codes). Meta rejects overlapping places (e.g. a PIN inside a city radius). With a Special Ad Category: no zips, and cities need a radius of at least 25 km.",
      +  "properties": {
      +    "cities": {
      +      "items": {
      +        "properties": {
      +          "country_code": {
      +            "type": "string"
      +          },
      +          "key": {
      +            "type": "string"
      +          },
      +          "radius": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "key"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "regions": {
      +      "items": {
      +        "properties": {
      +          "country_code": {
      +            "type": "string"
      +          },
      +          "key": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "key"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "zips": {
      +      "items": {
      +        "properties": {
      +          "country_code": {
      +            "type": "string"
      +          },
      +          "key": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "key"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed8 schema fields changed
    • addedInput schema / properties / campaigns / description
      Added value: +"The campaigns to create; each item's fields are defined in the campaign schema. campaignName and objective are required per campaign; image ads need an imageUrl."
    • addedInput schema / properties / catalogId / description
      Added value: +"Product catalog ID, for DPA / catalog (dynamic product) campaigns."
    • addedInput schema / properties / confirm / description
      Added value: +"Set true to proceed when a spend-guardrail or rate-limit-capacity warning would otherwise pause the run."
    • addedInput schema / properties / instagram_account_id / description
      Added value: +"Instagram account for placements. Optional — auto-resolved from the account if omitted."
    • addedInput schema / properties / meta_account_id / description
      Added value: +"Ad account to create all these campaigns on (defaults to your primary account)."
    • addedInput schema / properties / page_id / description
      Added value: +"Facebook Page for the ads. Optional — auto-resolved from the account if omitted."
    • addedInput schema / properties / pixel_id / description
      Added value: +"Meta Pixel for conversion tracking. Optional — auto-resolved from the account if omitted."
    • addedInput schema / properties / productSetId / description
      Added value: +"Product set ID within the catalog, for DPA / catalog campaigns."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=true; the description adds that it WRITES live, that it is rate-limit-safe and pre-validated, and that plan limits, spend guardrails, and account capacity gate execution. That is real context beyond annotations, though it stops short of saying runs can pause for confirmation or what happens on partial failure.

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?

Four short sentences, front-loaded with the core write action and scope before the supporting constraints. Dense and mostly earned, with only mild redundancy against the schema on imageUrl.

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

Completeness3/5

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

This is a high-complexity bulk mutation with no output schema, and the description never addresses return shape, partial success handling, or batching limits. The confirm/pause semantics that an agent most needs are only discoverable in the confirm parameter description.

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 every parameter, including the imageUrl allowlist and geo constraints. The description restates two of them (imageUrl requirement, auto-resolved Page/Instagram/pixel) without adding syntax or format detail. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

"Create many Meta campaigns at once on ONE account" gives a specific verb, resource, batch semantics, and account scope. The 'ONE account' constraint implicitly separates it from the sibling bulk_create_multi_account, and 'many campaigns' separates it from create_campaign.

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?

The description implies when the tool applies (batch creation on a single account with guardrails and validation in force) but never names alternatives such as validate_campaigns, estimate_bulk_create, or bulk_create_multi_account, nor does it state when not to use this tool. The agent must infer routing from the sibling list.

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