Skip to main content
Glama
swesmith-repos

Meta Ads MCP

create_ad

Create new Meta ads using existing creatives by specifying account, ad set, and creative details to launch targeted advertising campaigns.

Instructions

Create a new ad with an existing creative.

Args:
    account_id: Meta Ads account ID (format: act_XXXXXXXXX)
    name: Ad name
    adset_id: Ad set ID where this ad will be placed
    creative_id: ID of an existing creative to use
    status: Initial ad status (default: PAUSED)
    bid_amount: Optional bid amount in account currency (in cents)
    tracking_specs: Optional tracking specifications (e.g., for pixel events).
                  Example: [{"action.type":"offsite_conversion","fb_pixel":["YOUR_PIXEL_ID"]}]
    access_token: Meta API access token (optional - will use cached token if not provided)

Note:
    Dynamic Creative creatives require the parent ad set to have `is_dynamic_creative=true`.
    Otherwise, ad creation will fail with error_subcode 1885998.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
nameYes
adset_idYes
creative_idYes
statusNoPAUSED
bid_amountNo
tracking_specsNo
access_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing: 1) This is a creation/mutation operation (implied by 'Create'), 2) Authentication behavior (access token optional, will use cached), 3) Error conditions (dynamic creative requirements and specific error code). It doesn't mention rate limits or whether the operation is idempotent, but covers the essential behavioral aspects.

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?

The description is well-structured with clear sections (Args, Note) and front-loaded purpose. Every sentence earns its place by providing essential information. It could be slightly more concise by combining some parameter explanations, but overall it's efficient and well-organized.

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?

Given this is a mutation tool with 8 parameters, 0% schema coverage, no annotations, but with an output schema, the description provides excellent coverage of inputs, behavioral constraints, and prerequisites. The output schema will handle return values, so the description appropriately focuses on creation logic and requirements. It could mention sibling relationships more explicitly for completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing: 1) Clear parameter explanations with format requirements (account_id format), 2) Default values (status default: PAUSED), 3) Optional vs required indication, 4) Units (bid_amount in cents), 5) Concrete examples (tracking_specs). This adds substantial value beyond the bare schema.

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 states the specific action ('Create a new ad') and resource ('with an existing creative'), distinguishing it from sibling tools like create_ad_creative (which creates creatives) and update_ad (which modifies existing ads). The verb+resource combination is precise and unambiguous.

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?

The description provides clear context about when to use this tool (creating ads with existing creatives) and includes an important note about dynamic creative requirements. However, it doesn't explicitly state when NOT to use it or name specific alternatives like create_ad_creative for when you need to create both ad and creative.

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/swesmith-repos/pipeboard-co__meta-ads-mcp.36128861'

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