Skip to main content
Glama
niyogi

chatgpt-ads-manager-mcp

by niyogi

create_campaign

Create an ad campaign with budget, targeting, and objective settings, returning a campaign ID to chain ad group creation. Use idempotency keys to prevent duplicate campaigns on retry.

Instructions

Create a campaign. Returns campaign_id for chaining to create_ad_group. Common next: create_ad_group with campaign_id. Supports idempotency key to avoid duplicates on retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoMode for catalog or business agent campaigns.
nameYesCampaign name 3–1000 chars.
budgetNoBudget caps in micros (1 USD = 1,000,000).
statusNoInitial status (default per API). Use activate/pause tools after.
end_timeNoEnd unix seconds.
objectiveNoCampaign objective.
targetingNoTargeting object (locations, audiences, platforms). Use search_geo_lookup to resolve location IDs first.
start_timeNoStart unix seconds (946684800–4102444800).
descriptionNoOptional description.
bidding_typeNoBidding type. Use conversions with conversion_event_setting_ids.
ad_account_idNoOptional ad account ID override.
idempotency_keyNoIdempotency key 1–255 chars. Auto-generated if omitted.
product_feed_idNoProduct feed ID if mode=product_feed.
business_agent_idNoBusiness agent ID if mode=business_agent.
billing_event_typeNoBilling event.
landing_page_configurationNo
conversion_event_setting_idsNoConversion event setting IDs (exactly 1 when bidding_type=conversions).
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses useful traits beyond the schema: the return contract (campaign_id) and idempotency behavior for retry safety. For a mutating, potentially billing-impacting tool, it does not disclose prerequisites, side effects, or reversal options, but the two disclosed behaviors are genuinely informative and not derivable from structured fields.

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 short sentences, front-loaded with the primary action, then the return-value chain, then idempotency. Some mild redundancy: 'Returns campaign_id for chaining to create_ad_group' and 'Common next: create_ad_group with campaign_id' convey the same idea twice. Otherwise no waste.

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 a 17-parameter tool with nested targeting objects and no output schema, the description is sparse but compensates through a rich 94%-coverage schema. It supplies the critical orchestration knowledge (what to do with the returned id, retry-safety) that the schema cannot. Not exhaustive about conditional constraints like mode vs product_feed_id/business_agent_id, but the schema carries those.

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 94%, so the schema already documents nearly every parameter; baseline is 3. The description adds marginal value by explaining the idempotency key's purpose (avoid duplicates on retry), which reinforces rather than repeats the schema text. No critical parameter meaning is left unexplained.

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?

States a specific verb+resource ('Create a campaign') that is unambiguous among siblings like update_campaign, activate_campaign, pause_campaign, and archive_campaign. Adds a workflow hint ('Returns campaign_id for chaining to create_ad_group') that anchors its role. Does not explicitly delimit against create_campaign_hierarchy, but the singular 'a campaign' plus the create_ad_group chain makes the core purpose clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides implied usage context ('Common next: create_ad_group with campaign_id') that situates this as the entry point of a creation pipeline. However, it never states when to choose this over create_campaign_hierarchy, update_campaign, or the activate/pause tools, and gives no exclusion conditions. The guidance is suggestive rather than directive.

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/niyogi/chatgpt-ads-manager-mcp'

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