Skip to main content
Glama
meta-ads-mcp

meta-ads-mcp

by 1nc0gn30

meta_create_adset

Create a paused Meta ad set inside an existing campaign with targeting, budget, schedule, and billing options; use dry_run=true to validate setup before spending.

Instructions

Create an ad set inside a campaign. Defaults to PAUSED for safety and supports dry_run=true.

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>",
      "targeting": "<targeting>"
    },
    "name": "meta_create_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
statusNoPAUSED
dry_runNo
end_timeNoISO-8601 timestamp
targetingYesMeta targeting spec JSON, e.g. { geo_locations: { countries: ['US'] }, age_min: 21, age_max: 55 }.
bid_amountNo
start_timeNoISO-8601 timestamp
campaign_idYes
daily_budgetNoIn minor currency units (e.g. 2500 = $25.00).
ad_account_idNo
billing_eventNoIMPRESSIONS
lifetime_budgetNo
promoted_objectNoe.g. { pixel_id: '...', custom_event_type: 'PURCHASE' }
optimization_goalNoOFFSITE_CONVERSIONS

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: the ad set defaults to PAUSED for safety and dry_run=true is supported. That directly informs an agent about safer invocation. It omits auth requirements, account/permission constraints, and what dry_run actually returns, keeping it below a 5.

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 tight sentences, front-loaded with the core action and followed by safety behavior. There is no wasted language, though for a 14-parameter creation tool the terseness borders on under-specification.

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

Completeness2/5

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

For a high-complexity creation tool with nested targeting and promoted_object specs, low schema coverage, and no output schema, the description is far too thin. It does not cover required fields, budget/currency rules, or what a successful vs dry_run response looks like, leaving significant gaps for an agent to fill.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 14 parameters and only 36% schema description coverage, the description should compensate but does not. It mentions only dry_run and the PAUSED default, both of which are already in the schema, while required params (campaign_id, name, targeting), budget semantics, and optimization_goal/billing_event interactions remain unexplained.

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 description states a specific verb and resource: 'Create an ad set inside a campaign,' which is actionable and unambiguous. It does not explicitly contrast itself with siblings like meta_create_ad or meta_update_adset, so it stops short of full sibling differentiation.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites (e.g., campaign must exist and be active), and no mention of how this differs from updating an ad set. Usage is only weakly implied by the verb 'Create.'

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