Skip to main content
Glama

meta_ads_creatives_create_dynamic

Generate dynamic ad creative where Meta auto-assembles and optimizes combinations from 2–10 images, 1–5 each of headlines, bodies, and CTAs. Meta learns best mix at serve time, eliminating manual testing.

Instructions

Creates a Dynamic Creative — Meta auto-generates and optimises combinations from multiple images, headlines, bodies, and CTAs. Returns the new creative id. Mutating, reversible via rollback_apply. Use when you want Meta to learn the best-performing asset mix rather than testing manually. For static single-image ads use meta_ads_creatives_create; for explicitly-controlled multi-card layouts use meta_ads_creatives_create_carousel. Supply 2–10 images, 1–5 of each text field; Meta combines them at serve time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYesMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
nameYesCreative name shown in Ads Manager.
page_idYesFacebook Page ID that the ad will be published as. Must be a page the authenticated user has permission to post from. Required by Meta for every creative — ads cannot run without a page identity.
image_hashesYesImage hashes to include in the rotation. 2–10 recommended for meaningful optimization; Meta accepts up to 10. Upload via meta_ads_creatives_upload_image / meta_ads_images_upload_file first.
bodiesYesPrimary body text variants. 1–5 accepted. Meta recommends ≤125 characters per body.
titlesYesHeadline variants. 1–5 accepted. ~40 characters fits most placements.
link_urlYesDestination URL shared across all combinations. Must be HTTPS and domain-verified.
descriptionsNoOptional link-caption variants (0–5). Not all placements render these.
call_to_actionsNoOptional CTA variants (0–5). Values drawn from the same set as meta_ads_creatives_create (LEARN_MORE / SIGN_UP / SHOP_NOW / etc.).
Behavior4/5

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

Despite no annotations, the description discloses key behavioral traits: mutation ('Mutating'), reversibility ('reversible via rollback_apply'), and runtime behavior ('Meta combines them at serve time'). It does not cover potential rate limits or specific error conditions, but provides sufficient context for safe usage.

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?

The description is concise yet packed with information: purpose, return value, behavioral notes, usage guidance, and sibling differentiation. Each sentence contributes uniquely, and the structure front-loads key facts.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of dynamic creatives and the absence of an output schema, the description covers all essential aspects: creation, return ID, mutability, reversibility, asset requirements, and placement-specific notes. No critical gaps are evident for an agent to operate 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 100% with descriptions for all 9 parameters, so baseline is 3. The description adds value by giving recommended ranges (2-10 images, 1-5 bodies, etc.) and clarifying optional fields like descriptions ('not all placements render these') and CTAs ('values drawn from same set').

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 clearly defines the tool's purpose: 'Creates a Dynamic Creative' with Meta auto-generating combinations. It distinguishes from siblings by naming 'meta_ads_creatives_create' for static ads and 'meta_ads_creatives_create_carousel' for multi-card layouts, and explains the asset mix optimization.

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?

Explicitly states when to use: 'when you want Meta to learn the best-performing asset mix rather than testing manually.' Provides clear alternatives for static and multi-card ads, and gives specific asset counts (2-10 images, 1-5 text fields).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server