Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Rename Campaign, Ad Group or Ad

tiktok_rename_object
Idempotent

Rename one TikTok campaign, ad group or ad in the user's own ad account. Only the name changes: delivery, budget, bidding, targeting and the creative stay as they are. Names are limited to 512 characters and TikTok does not accept emoji in them. Works for manual, Smart+ and Upgraded Smart+ campaigns. 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": {
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>",
      "name": "<name>"
    },
    "name": "tiktok_rename_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name, up to 512 characters, no emoji.
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.
entity_idYesId of the object: campaigns from tiktok_get_campaigns, ad groups from tiktok_get_adgroups, ads from tiktok_get_ads (for an Upgraded Smart+ ad, its smartPlusAdId).
entity_typeYesKind of object entity_id names.
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.

Output Schema

NameRequiredDescriptionDefault
dryRunYesTrue when the call only previewed the change.
changedYesTrue only when this call changed TikTok Ads.
changesYesField-level changes: made, or proposed on a dry run.
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.
entityIdYesId of the object, as passed.
verifiedNoWhether TikTok's read-back holds every requested value; null when nothing was written or the read-back failed.
warningsYesSide effects and limits the user should hear about.
operationYesWhat happened: updated, no_change, or dry_run.
entityNameNoThe object's name, when it has one.
entityTypeYesKind of object addressed.
advertiserIdYesTikTok ad account the object is in.
campaignTypeYesWhich TikTok management surface the object belongs to: STANDARD for manual and legacy Smart+ campaigns, UPGRADED_SMART_PLUS for Upgraded Smart+.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, idempotent, open-world, so the bar is modest. The description adds genuine context beyond them: exactly which fields are untouched by the rename, the 512-character cap, the no-emoji rejection rule, and campaign-type coverage — all useful for predicting side effects. It stops short of stating permission/auth requirements or failure modes for invalid or foreign-account ids.

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?

Three compact sentences, front-loaded with the action, then the no-side-effects guarantee, then the naming constraints and supported campaign types. No filler or restated title.

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?

An output schema exists, so return values need not be explained, and the description covers behavior, constraints and supported object kinds. The one omission is that the dry_run propose-then-approve loop is only described in the schema, so an agent reading the description alone might miss it.

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 coverage is 100%, so baseline is 3. The description's parameter-relevant content (512 chars, no emoji, dry_run support) largely restates what the schema already documents, and it adds no new detail about advertiser_id resolution or entity_id sourcing.

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 ("Rename one TikTok campaign, ad group or ad") with scope qualifiers ("in the user's own ad account", works for manual/Smart+/Upgraded Smart+). The line "Only the name changes: delivery, budget, bidding, targeting and the creative stay as they are" implicitly separates it from the budget/bidding/status siblings.

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?

Gives applicability constraints (which campaign types are supported, own-account only) and mentions dry_run support, but never states when to prefer this over tiktok_update_budget, tiktok_set_status, or a cross-platform rename sibling. The actual dry_run approval workflow lives in the schema, not the description, so guidance here is implied rather than explicit.

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