Skip to main content
Glama

Adbloop Meta Ads

add_ad_to_adset

Destructive

Add a NEW ad (with creative) to an EXISTING ad set. Created PAUSED. Accepts either an existing creative_id, a library image_hash (this is where saved library creatives CAN be used), or ad copy fields. WRITES live.

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": "add_ad_to_adset"
  }
}

Input Schema

NameRequiredDescriptionDefault
ctaNoe.g. LEARN_MORE
ad_nameNo
page_idNo
adset_idYes
headlineNo
image_hashNoUse a saved library creative's image_hash — supported here (unlike bulk-create).
creative_idNoUse an existing Meta creative as-is.
descriptionNo
website_urlNo
primary_textNo
meta_account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a destructive write, so the safety profile is covered. The description still adds meaningful behavior: the ad is created PAUSED, the call WRITES live, and creative can come from three sources — details the annotations do not convey. It does not address permissions or failure modes.

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 short sentences, front-loaded with the action and scope, followed by creation state and accepted inputs. Capitalized NEW, EXISTING, PAUSED, and WRITES are emphatic but each carries a real constraint; nothing is wasted.

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 an 11-parameter mutation tool with no output schema, the description covers the essential call-time behavior: target, creation state, live-write semantics, and creative input alternatives. Missing are the required parameter combinations within the ad-copy path and what is returned, but the core is complete enough to call correctly.

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?

Schema coverage is only 27%, so the description carries real weight here. It groups the parameters into three mutually exclusive creative paths and clarifies that image_hash is the library-creative route, which is the most consequential ambiguity in the schema. It still leaves ad_name, page_id, meta_account_id, and required combinations unexplained.

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 specific verb and resource ('Add a NEW ad ... to an EXISTING ad set') and makes the creation-vs-listing distinction explicit. The contrast with bulk-create and the note about saved library creatives let an agent place it relative to siblings 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 Guidelines4/5

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

It names the three input paths — existing creative_id, library image_hash, or ad copy fields — and explicitly says library creatives can be used here but not in bulk-create, which is genuine routing guidance. It stops short of naming an alternative tool or spelling out when not to use this one.

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