Skip to main content
Glama

Meta ads: Create ad

meta_create_ad

Add an ad to an existing Meta ad set: primary text, headline, button, link, with one image, a 2-10 image carousel or a video, running from the client's Facebook Page. Created PAUSED. Call without confirm first: the images are uploaded to the ad account's library and Meta checks the whole ad (validate only, no ad created). Then confirm: 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": {
      "adset_id": "<adset_id>",
      "page_id": "<page_id>",
      "ad": "<ad>"
    },
    "name": "meta_create_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
adYes
confirmNoLeave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change.
page_idYesThe client's Facebook Page (meta_list_pages)
adset_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only tell the agent this is non-read-only, non-destructive and open-world; the description adds material facts they do not carry, notably that the ad is created PAUSED and that even a validate-only call has a real side effect (images land in the ad account's library). It stops short of describing what the call returns or how long Meta's review check takes.

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?

Roughly three sentences, all front-loaded: what is built, the PAUSED default, then the confirm workflow. Every clause carries operational information and nothing is redundant with the title.

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 non-idempotent, open-world write with a nested object and no output schema, the description covers the creative options, the PAUSED state and the confirm gate well. It is silent on the return value (ad id? validation errors?) and on whether a failed validation still leaves uploaded images behind, which matters for retry decisions.

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 coverage is 50% and the nested ad object already documents most creative fields, so the schema does much of the work. The description adds useful disambiguation for the media fields (one image, a 2-10 image carousel, or a video) and explains the confirm flag's two-phase meaning, but says nothing about adset_id or page_id beyond what the schema implies.

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 states a concrete verb and resource ('Add an ad to an existing Meta ad set') and enumerates the creative pieces involved, so an agent knows exactly what gets built. It implicitly separates itself from Google's ads_create_ad by naming Meta and from meta_create_ad_set by requiring an existing ad set, but it never names meta_update_ad as the alternative for changing an ad after creation.

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 prescribes an explicit two-step protocol: call first without confirm to upload assets and validate, then call again with confirm: true to actually create. That is exactly the when-to-use and sequencing guidance an agent needs for a mutating tool, with 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.