Skip to main content
Glama

AdsAgent — Meta Ads MCP

copy_ad_quick_copy

Prepare copies of live ads: request_mode=single uses ad_id, source_ad_account_id and target_ad_account_id; grouped uses grouped_plan.campaigns. v3 requires explicit statuses. Choose preserve_post/new_creatives; partnership preserves the post. For a whole tree use copy_ad_clone_structure. Review, then launch_confirm

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesStrict public copy request including documented compatibility aliases.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / request / properties / grouped_plan / properties
      Added value: +{
      +  "ad_status": {
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  "adset_status": {
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  "campaign_status": {
      +    "enum": [
      +      "ACTIVE",
      +      "PAUSED"
      +    ],
      +    "type": "string"
      +  },
      +  "campaigns": {
      +    "items": {
      +      "properties": {
      +        "adsets": {
      +          "items": {
      +            "properties": {
      +              "ads": {
      +                "items": {
      +                  "properties": {
      +                    "ad_name": {
      +                      "maxLength": 500,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "ad_num": {
      +                      "maximum": 50,
      +                      "minimum": 1,
      +                      "type": [
      +                        "integer",
      +                        "string"
      +                      ]
      +                    },
      +                    "source_ad_id": {
      +                      "maxLength": 255,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "maxItems": 50,
      +                "minItems": 1,
      +                "type": "array"
      +              },
      +              "adset_name": {
      +                "maxLength": 500,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "budget_mode": {
      +                "enum": [
      +                  "inherit",
      +                  "custom"
      +                ],
      +                "type": "string"
      +              },
      +              "compliance_beneficiary": {
      +                "maxLength": 500,
      +                "type": "string"
      +              },
      +              "compliance_payor": {
      +                "maxLength": 500,
      +                "type": "string"
      +              },
      +              "countries_override": {
      +                "items": {
      +                  "maxLength": 8,
      +                  "minLength": 2,
      +                  "type": "string"
      +                },
      +                "maxItems": 250,
      +                "type": "array"
      +              },
      +              "custom_budget": {
      +                "minimum": 0,
      +                "type": [
      +                  "number",
      +                  "string"
      +                ]
      +              },
      +              "excluded_countries_override": {
      +                "items": {
      +                  "maxLength": 8,
      +                  "minLength": 2,
      +                  "type": "string"
      +                },
      +                "maxItems": 250,
      +                "type": "array"
      +              },
      +              "start_time": {
      +                "maxLength": 100,
      +                "type": "string"
      +              },
      +              "target_adset_id": {
      +                "maxLength": 255,
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "worldwide_override": {
      +                "type": [
      +                  "boolean",
      +                  "string",
      +                  "integer"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "ads"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 50,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        "bid_mode": {
      +          "enum": [
      +            "auto",
      +            "custom"
      +          ],
      +          "type": "string"
      +        },
      +        "budget_mode": {
      +          "enum": [
      +            "inherit",
      +            "custom"
      +          ],
      +          "type": "string"
      +        },
      +        "campaign_name": {
      +          "maxLength": 500,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "custom_bid": {
      +          "minimum": 0,
      +          "type": [
      +            "number",
      +            "string"
      +          ]
      +        },
      +        "custom_budget": {
      +          "minimum": 0,
      +          "type": [
      +            "number",
      +            "string"
      +          ]
      +        },
      +        "is_adset_budget_sharing_enabled": {
      +          "type": [
      +            "boolean",
      +            "string",
      +            "integer"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "adsets"
      +      ],
      +      "type": "object"
      +    },
      +    "maxItems": 20,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  "creation_contract_version": {
      +    "enum": [
      +      2,
      +      3
      +    ],
      +    "type": [
      +      "integer",
      +      "string"
      +    ]
      +  },
      +  "engagement_mode": {
      +    "enum": [
      +      "preserve_post",
      +      "new_creatives"
      +    ],
      +    "type": "string"
      +  },
      +  "grouped_plan_mode": {
      +    "enum": [
      +      "new_tree",
      +      "append_new_ads"
      +    ],
      +    "type": "string"
      +  },
      +  "mode": {
      +    "const": "new_ads",
      +    "type": "string"
      +  },
      +  "page_id": {
      +    "maxLength": 255,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "request_mode": {
      +    "const": "grouped",
      +    "type": "string"
      +  },
      +  "source_ad_account_id": {
      +    "maxLength": 255,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "target_ad_account_id": {
      +    "maxLength": 255,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / request / properties / grouped_plan / required
      Added value: +[
      +  "campaigns"
      +]
    • removedInput schema / properties / request / properties / grouped_plan / x-canonical-name-fields
      Removed value: -[
      -  "campaigns[].campaign_name",
      -  "campaigns[].adsets[].adset_name",
      -  "campaigns[].adsets[].ads[].ad_name"
      -]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only carry readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the description must supply behavioral context. It does: it says this prepares copies rather than executing them, describes the grouped/single behaviors, and notes that partnership preserves the post. It could be more explicit about what the prepared result looks like, but it adds meaningful behavior beyond annotations.

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?

The description is dense and front-loaded, with each sentence serving a purpose. It sacrifices a little clarity by using shorthand like 'v3' and 'partnership preserves the post', but it remains compact for a tool with a very large nested schema.

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?

Given the tool's complexity, the description covers modes, contract-version constraint, engagement choice, an alternative tool, and the confirm workflow. With an output schema present, it does not need to describe return values; the remaining gaps are minor context around version semantics and the exact meaning of 'prepare'.

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?

With 100% schema description coverage, the baseline is 3, but the description goes further by mapping request_mode=single to ad_id/source_ad_account_id/target_ad_account_id and grouped to grouped_plan.campaigns, plus explaining engagement_mode choices and v3 status requirements. This is valuable, though not every parameter is elaborated.

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, 'Prepare copies of live ads', and immediately disambiguates the two request modes. It also names the sibling copy_ad_clone_structure for whole-tree copies, so an agent can distinguish this tool without opening 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 Guidelines5/5

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

It gives conditional guidance: request_mode=single vs grouped, v3 status requirements, preserve_post vs new_creatives, and explicitly routes whole-tree work to copy_ad_clone_structure. The closing 'Review, then launch_confirm' states the expected workflow.

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