Skip to main content
Glama

Propose duplicating a Meta object

propose_ad_duplicate

special_ad_categories are inherited from the campaign; countries are required only when that campaign has a special ad category. Propose an exact PAUSED Meta ad copy with the same text, media and lead form via native copies, without overrides. creative, lead_gen_form_id, targeting, daily_budget, start_date and end_date are refused with invalid_input; propose_ad_edit and propose_ad_rebuild cover those changes. Campaign/ad-set deep-copy remains blocked. No delete, duplicate dry-run or approval through MCP.

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": {
      "site_id": "<site_id>",
      "account": "<account>",
      "action": "<action>",
      "object_type": "<object_type>",
      "name": "<name>",
      "reason": "<reason>"
    },
    "name": "propose_ad_duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
nameYes
actionYes
reasonYes
accountYes
replaceNo
site_idYes
creativeNo
end_dateNo
ad_set_idNo
countriesNo
dsa_payorNo
object_idNo
targetingNo
start_dateNo
campaign_idNo
object_typeYes
daily_budgetNo
dsa_beneficiaryNo
expected_impactNo
idempotency_keyNo
promoted_objectNo
lead_gen_form_idNo
platform_post_idNo
special_ad_categoriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "site_id",
      -  "account",
      -  "action",
      -  "object_type",
      -  "name",
      -  "special_ad_categories",
      -  "countries",
      -  "reason"
      -]New value: +[
      +  "site_id",
      +  "account",
      +  "action",
      +  "object_type",
      +  "name",
      +  "reason"
      +]
  2. Changed42 schema fields changed
    • removedInput schema / properties / ad_set_id / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / ad_set_id / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / ad_set_id / type
      Added value: +"string"
    • removedInput schema / properties / campaign_id / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / campaign_id / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / campaign_id / type
      Added value: +"string"
    • removedInput schema / properties / creative / properties / existingCreativeId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / creative / properties / existingCreativeId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / creative / properties / existingCreativeId / type
      Added value: +"string"
    • removedInput schema / properties / creative / properties / imageUrl / $ref
      Removed value: -"#/properties/creative/properties/linkUrl"
    • addedInput schema / properties / creative / properties / imageUrl / maxLength
      Added value: +2000
    • addedInput schema / properties / creative / properties / imageUrl / type
      Added value: +"string"
    • removedInput schema / properties / creative / properties / videoId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / creative / properties / videoId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / creative / properties / videoId / type
      Added value: +"string"
    • removedInput schema / properties / end_date / $ref
      Removed value: -"#/properties/start_date"
    • addedInput schema / properties / end_date / format
      Added value: +"date-time"
    • addedInput schema / properties / end_date / type
      Added value: +"string"
    • removedInput schema / properties / lead_gen_form_id / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / lead_gen_form_id / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / lead_gen_form_id / type
      Added value: +"string"
    • removedInput schema / properties / object_id / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / object_id / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / object_id / type
      Added value: +"string"
    • removedInput schema / properties / platform_post_id / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / platform_post_id / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / platform_post_id / type
      Added value: +"string"
    • removedInput schema / properties / promoted_object / properties / applicationId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / promoted_object / properties / applicationId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / promoted_object / properties / applicationId / type
      Added value: +"string"
    • removedInput schema / properties / promoted_object / properties / objectStoreUrl / $ref
      Removed value: -"#/properties/creative/properties/linkUrl"
    • addedInput schema / properties / promoted_object / properties / objectStoreUrl / maxLength
      Added value: +2000
    • addedInput schema / properties / promoted_object / properties / objectStoreUrl / type
      Added value: +"string"
    • removedInput schema / properties / promoted_object / properties / pageId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / promoted_object / properties / pageId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / promoted_object / properties / pageId / type
      Added value: +"string"
    • removedInput schema / properties / promoted_object / properties / pixelId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / promoted_object / properties / pixelId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / promoted_object / properties / pixelId / type
      Added value: +"string"
    • removedInput schema / properties / promoted_object / properties / productSetId / $ref
      Removed value: -"#/properties/account"
    • addedInput schema / properties / promoted_object / properties / productSetId / pattern
      Added value: +"^[A-Za-z0-9_:.\\-]{1,100}$"
    • addedInput schema / properties / promoted_object / properties / productSetId / type
      Added value: +"string"
  3. Changed5 schema fields changed
    • addedInput schema / properties / creative / properties / bodies
      Added value: +{
      +  "items": {
      +    "maxLength": 5000,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / creative / properties / descriptions
      Added value: +{
      +  "items": {
      +    "maxLength": 255,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / creative / properties / headlines
      Added value: +{
      +  "items": {
      +    "maxLength": 255,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / creative / properties / videoId
      Added value: +{
      +  "$ref": "#/properties/account"
      +}
    • addedInput schema / properties / replace
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "maxLength": 5000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "to": {
      +        "maxLength": 5000,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "from",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "minItems": 1,
      +  "type": "array"
      +}
  4. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds real behavioral value: the duplicate is created in PAUSED state, uses native copies rather than re-uploading assets, and accepts no overrides. Missing is any statement about what happens on failure or what the returned proposal contains, so it is strong but not exhaustive.

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

Conciseness3/5

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

The prose is dense but every sentence carries information. The flaw is ordering: it opens with the narrow edge case about special_ad_categories inheritance and conditional countries rather than front-loading the core action, forcing the reader past a corner case before learning what the tool does.

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?

For a 25-parameter, nested-object tool with no output schema and no annotation detail beyond safety hints, the description covers refusals, inheritance rules, and scope limits well. It leaves a large share of input parameters unexplained and says nothing about the proposal lifecycle (whether the returned object needs out-of-band approval), which is a meaningful gap for a propose-style mutation.

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?

Schema description coverage is 0% across 25 parameters, so the description carries the full burden and only covers a handful: countries (conditionally required), special_ad_categories (inherited), and the six refused fields. Major parameters such as replace, goal, promoted_object, idempotency_key, expected_impact, and the campaign_id/ad_set_id distinction are undocumented — and 'replace' actively conflicts with the 'exact copy ... without overrides' framing without explanation.

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 gives a specific verb and resource: 'Propose an exact PAUSED Meta ad copy with the same text, media and lead form via native copies, without overrides,' and it narrows scope further by stating 'Campaign/ad-set deep-copy remains blocked.' That resolves the tension with the title ('Meta object') and the object_type enum (campaign/ad_set/ad), though the name/title mismatch still costs a point.

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 names the exact fields that will be rejected (creative, lead_gen_form_id, targeting, daily_budget, start_date, end_date) and routes those needs to specific alternatives: propose_ad_edit and propose_ad_rebuild. It also states the exclusions plainly ('No delete, duplicate dry-run or approval through MCP'), leaving no inference required.

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