Skip to main content
Glama

meta_ads_ad_sets_create

Create a new ad set within an existing Meta Ads campaign. Returns the new ad set ID; defaults to PAUSED until spend is confirmed.

Instructions

Creates a new ad set inside an existing campaign. Returns the new ad_set id. Mutating — not automatically reversible; record before-state with mureo_state_action_log_append if you may need to roll back. Targeting is passed as a Meta targeting spec object; at minimum supply geo_locations and age bounds. Default initial status is PAUSED — only ACTIVE when the operator has confirmed spend. After creation, attach ads with meta_ads_ads_create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAd set name, up to 400 characters.
statusNoInitial status. Default PAUSED. Only ACTIVE after operator sign-off.
targetingNoMeta targeting spec. Typical keys: geo_locations (e.g. {'countries': ['JP']}), age_min, age_max, genders, interests, custom_audiences. See Meta Marketing API targeting docs for the full schema.
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
bid_amountNoBid cap in account currency minor units. Required when bid_strategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Omit for LOWEST_COST_WITHOUT_CAP (automatic bidding).
campaign_idYesParent campaign ID. Must exist and not be DELETED.
bid_strategyNoBid strategy for automatic auction bidding. LOWEST_COST_WITHOUT_CAP is fully automatic (do NOT set bid_amount). LOWEST_COST_WITH_BID_CAP and COST_CAP both require a bid_amount on the ad set (the cap). LOWEST_COST_WITH_MIN_ROAS requires bid_constraints.roas_average_floor on the ad set. When set on the campaign, budgets typically live at the campaign (CBO) level; when set on the ad set, at the ad-set level.
daily_budgetNoDaily budget in account currency minor units (cents for USD, yen for JPY). Required unless the parent campaign uses CBO; mutually exclusive with lifetime-budget settings on the same ad set.
billing_eventNoWhat Meta charges for. Default IMPRESSIONS. The valid options depend on the optimization_goal — incompatible pairings are rejected by Meta.
bid_constraintsNoBid constraints object. Currently carries roas_average_floor for the LOWEST_COST_WITH_MIN_ROAS strategy.
promoted_objectNoConversion target for conversion optimization, e.g. {"pixel_id": "123", "custom_event_type": "LEAD"}. Required for conversion optimization (e.g. OUTCOME_LEADS + optimization_goal OFFSITE_CONVERSIONS optimizing to a pixel event).
optimization_goalNoWhat Meta optimises delivery for (e.g. REACH, LINK_CLICKS, OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS, THRUPLAY). Default REACH. Must be compatible with the parent campaign's objective.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly discloses that the operation is mutating and not automatically reversible, advises logging for rollback, and clarifies the default initial status (PAUSED) and when ACTIVE is allowed. This goes beyond the schema and informs the agent of important behavioral traits.

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

Conciseness5/5

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

The description is five sentences, front-loaded with the core action and return value, followed by the mutation warning, targeting requirement, status default, and next step. Each sentence contributes distinct, useful information with no redundancy.

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 complex tool with 12 parameters and no annotations or output schema, the description provides a complete high-level picture: creates an ad set in an existing campaign, requires key targeting fields, default status behavior, rollback guidance, and the follow-up step. It doesn't enumerate every parameter interaction, but the schema already does that, so the description fills the contextual gaps.

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 schema covers 100% of parameters with rich descriptions, so baseline is 3. The description adds meaningful extra guidance by stating that targeting must include at least geo_locations and age bounds, and by explaining the default status behavior. This is sufficient to elevate the score above the schema-only baseline.

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 states a clear action with verb and resource: 'Creates a new ad set inside an existing campaign' and specifies the return value ('Returns the new ad_set id'). It differentiates from sibling tools like meta_ads_ad_sets_update and meta_ads_ads_create by focusing on creation and noting the follow-up to attach ads with meta_ads_ads_create.

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 gives clear workflow context: when creating an ad set in an existing campaign, default status is PAUSED, and then attach ads with meta_ads_ads_create. It also advises recording before-state with mureo_state_action_log_append for rollback. However, it does not explicitly contrast with meta_ads_ad_sets_update or list when-not conditions, so it falls short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server