Skip to main content
Glama

Create ad

meta_create_ad

Create an ad from a creative and ad set in the same account; it starts PAUSED. A Dynamic Creative ad set (is_dynamic_creative) takes one ad with a format "dynamic" creative; other ad sets take single or carousel creatives. Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: 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": {
      "name": "<name>",
      "creative_id": "<creative_id>",
      "account_id": "<account_id>",
      "adset_id": "<adset_id>"
    },
    "name": "meta_create_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
statusNo
adset_idYesA string, never a number
account_idYese.g. act_1234567890
bid_amountNo
creative_idYesA string, never a number
tracking_specsNo
acknowledge_rulesNoOnly on a retry after the user's Yes to rule reasons; never on a first call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses meaningful behavior: the object is created PAUSED, the call mutates the ad account, a user confirmation is required, and the rule-reasons error path requires re-asking and retrying with acknowledge_rules: true. That is substantive operational context the annotations do not carry.

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?

Three sentences, front-loaded with the core action and default state, then branching rules, then the confirmation protocol. Every sentence carries information; the density is high but not padded. Slightly compact for the rules-then-retry flow, keeping it off a 5.

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 8-parameter mutation with no output schema, the description covers the critical behavior: creation state, creative/adset compatibility, confirmation requirement, and the failure/retry path. It leaves bid_amount and tracking_specs unexplained, but the safety-critical context an agent needs to invoke correctly is present.

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 only 50%, and the description explains the acknowledge_rules retry semantics and the implicit default status (PAUSED). However, it adds nothing for bid_amount, tracking_specs, or name, so it only partially compensates for the coverage gap. Baseline 3 is appropriate when the schema does half the work.

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 ('Create an ad from a creative and ad set in the same account') and immediately adds the key side effect ('it starts PAUSED'). It further disambiguates the two creation shapes (dynamic creative vs. single/carousel), so an agent can tell this apart from meta_create_adset, meta_create_creative, or meta_create_campaign without opening their schemas.

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 gives concrete preconditions for calling: creative and ad set must be in the same account, and the ad set's is_dynamic_creative flag determines which creative format is legal. It also mandates a confirmation flow ('tell the user exactly what will change and call only after their Yes'). It does not name sibling alternatives explicitly, but the conditional guidance is clear.

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.