Skip to main content
Glama
Meta Ads MCP

Meta Ads MCP

Duplicate ad set

duplicate_adset

Copies an ad set—and optionally its ads—for A/B testing, with an option to place the copy in another campaign. Previews changes first; confirm to execute and create it paused.

Instructions

Duplicates an ad set (and, with deep_copy, its ads) for A/B testing, optionally into a different campaign. The copy is always created PAUSED regardless of the source ad set's status. Always previews first — call again with confirm: true to execute.

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": {
      "adset_id": "<adset_id>"
    },
    "name": "duplicate_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to actually execute this action. Omit or pass false to get a preview (current state, proposed change, computed deltas) without making any changes.
adset_idYesAd set id to duplicate.
client_idNoClient identifier from accounts.config.json. Omit to use the default META_ACCESS_TOKEN.
deep_copyNoAlso copy the ad set's ads, not just the ad set shell (default true).
name_suffixNoAppended to the source name for the copy (default " - Copy").
target_campaign_idNoMove the copy into this campaign instead of the source ad set's campaign.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses that the copy is always created PAUSED regardless of source status, that deep_copy includes ads, and that the default path is a non-mutating preview. It does not cover permission requirements, rate limits, or what the preview output contains, which keeps it short of 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.

Conciseness5/5

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

Three sentences, each earning its place: purpose and scope first, the PAUSED safety behavior second, the preview-then-confirm workflow last. The mutation-safety warning is front-loaded and there is no redundant wording.

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 mutation tool with no annotations and no output schema, the description covers the critical safety profile (paused copy, preview gate) and the main behavioral branches. The remaining gap is return-value expectations for the preview call, which is minor since the confirm parameter in the schema explains the preview/execute split.

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 every parameter is already documented in the schema. The description reinforces the most consequential semantics — deep_copy copying ads and confirm gating execution — but adds little parameter meaning beyond what the schema states, so the baseline of 3 applies.

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 opens with a specific verb and resource: 'Duplicates an ad set', and immediately scopes the behavior with deep_copy and optional cross-campaign targeting. That distinguishes it cleanly from sibling tools such as duplicate_campaign and the update_adset_* mutators without needing the 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?

It states the intended use case (A/B testing) and the optional variation (into a different campaign), plus the required two-step workflow: preview first, then call again with confirm: true. It does not explicitly say when to prefer this over duplicate_campaign, but the resource-level distinction is implicit in the first sentence.

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