Skip to main content
Glama
raihan675

OpenAI Ads & Conversion Intelligence MCP Server

by raihan675

Create Ad

create_ad

Creates an ad in a specified ad group using chat_card or product_ad_template creative formats. Define title, body, status, and destination or product price to launch the ad.

Instructions

Create an ad in an ad group. Supports 'chat_card' (title 3-50 chars, body max 100 chars, destination target_url, and uploaded file_id) or 'product_ad_template' (for product feed campaigns).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesCard description body (max 100 chars)
nameYesInternal organizational name
priceNoPrice string or '{{product.price}}' for product_ad_template
titleYesCard title (3-50 chars)
statusYesInitial status
file_idNoUploaded image file_id (required for chat_card)
target_urlNoDestination URL (required for chat_card)
ad_group_idYesParent ad group ID
creative_typeYesCreative format
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It only restates that the tool creates an ad and lists some field constraints; it does not mention idempotency, permissions, side effects, or response behavior despite having an idempotency_key parameter.

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?

Two sentences with no filler; the primary action is front-loaded and the creative-type details are compactly summarized. Every phrase earns its place.

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 10-parameter creation tool with no annotations and no output schema, the description plus schema is mostly adequate for invocation. However, it leaves idempotency semantics and response shape unaddressed, so the agent must infer important behavioral details.

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 90%, so the baseline is 3. The description adds helpful context linking creative_type to target_url and file_id for chat_card, but most of this duplicates the schema's existing parameter descriptions, and idempotency_key remains 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?

States a specific verb and resource: 'Create an ad in an ad group', which clearly distinguishes it from sibling tools like create_ad_group or create_campaign. It also enumerates the two creative types, making the tool's exact scope explicit.

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?

Clearly indicates this is the tool for creating an individual ad within an ad group, and notes that product_ad_template is for product feed campaigns. It lacks explicit exclusions or comparisons to alternatives such as submit_bulk_mutation_job, but the context is clear.

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