Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Create Campaign

tiktok_create_campaign

Create one new TikTok campaign in the user's own ad account, switched off. It is an Upgraded Smart+ campaign that sends people to a website: objective SALES (website conversions) or LEAD_GENERATION (a lead form on the website). Pass a budget to let the campaign hold it and share it across its ad groups, or omit it so each ad group sets its own; a daily budget must be within the user's daily spend cap. The campaign is always created paused and spends nothing; continue with tiktok_create_adgroup and tiktok_create_ad, and enable with tiktok_set_status only after the user approves. It cannot create app, catalog, TikTok Shop or search campaigns, and TikTok refuses it for ad accounts it has not enabled for Upgraded Smart+. Get the user's explicit approval first. Supports dry_run.

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": {
      "campaign_name": "<campaign_name>",
      "objective": "<objective>"
    },
    "name": "tiktok_create_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
budgetNoBudget of the campaign in the account currency. Omitted: the campaign holds no budget and each ad group sets its own.
dry_runNotrue: read the object and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run.
objectiveYesSALES: conversions on the user's website. LEAD_GENERATION: leads from a form on the user's website.
budget_typeNoDAILY (default): an average daily budget; a day can spend up to 125% of it, a week no more than seven times it. LIFETIME: one total for the whole run. It cannot be changed later.
advertiser_idNoTikTok ad account to change: advertiser id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.
campaign_nameYesName of the campaign, up to 512 characters, no emoji.
special_industriesNoRequired by TikTok policy when the ads offer housing, employment or credit (US and Canada advertisers); TikTok then limits targeting.

Output Schema

NameRequiredDescriptionDefault
dryRunYesTrue when the call only previewed the request.
statusYesAlways DISABLE: the object is created switched off and delivers nothing until the user approves tiktok_set_status ENABLED on it and on everything above it.
createdYesTrue only when this call created the object.
currencyNoISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
entityIdNoId of the new object (for an ad, its smartPlusAdId); null on a dry run.
parentIdNoCampaign of a new ad group, or ad group of a new ad.
settingsYesThe settings sent to TikTok, or that would be sent on a dry run, under TikTok's field names; money in the account currency.
verifiedNoWhether TikTok's read-back shows the new object switched off; null on a dry run or when the read-back failed.
warningsYesLimits and next steps the user should hear about.
operationYesWhat happened: created or dry_run.
entityNameYesName given to the object.
entityTypeYesKind of object.
advertiserIdYesTikTok ad account the object is in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it as non-read-only, non-idempotent, non-destructive and open-world; the description goes far beyond by explaining that the campaign is always created paused and spends nothing, how budget sharing across ad groups works, the daily spend cap constraint, and that a non-enabled account will be refused. It also clarifies the dry_run proposal-then-approve loop, which is exactly the kind of safety-relevant behavior annotations alone cannot convey.

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?

Front-loaded with the core action and outcome, then constraints, then the follow-on workflow — a sensible ordering with no filler sentences. The budget clause is a long compound sentence that could be split for readability.

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?

For a 7-parameter mutation with an output schema, everything an agent needs before calling is present: side effects (paused, no spend), sequencing with sibling tools, approval gate, dry_run, and hard failure modes. Return values are covered by the output schema, so their absence from the description is correct.

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%, so the baseline is 3. The description still adds cross-field meaning the schema does not: passing a budget lets the campaign hold and share it across ad groups versus omitting it so each ad group sets its own, and a daily budget must fall within the user's daily spend cap.

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?

Opens with a specific verb and resource ("Create one new TikTok campaign in the user's own ad account, switched off") and immediately narrows scope to Upgraded Smart+ website campaigns with SALES or LEAD_GENERATION objectives. It also carves out explicit non-capabilities (app, catalog, TikTok Shop, search campaigns), which separates it from the other create_* siblings without requiring schema inspection.

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?

Gives an explicit workflow: create the campaign here, continue with tiktok_create_adgroup and tiktok_create_ad, and enable only via tiktok_set_status after user approval. It states a prerequisite (explicit user approval, dry_run first) and a conditional failure case (accounts not enabled for Upgraded Smart+), leaving nothing to inference.

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.

Resources