Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Update Ad Group Schedule

tiktok_update_adgroup_schedule
DestructiveIdempotent

Change when one TikTok ad group runs in the user's own ad account: its end time, its start time (only while it has not started), whether it runs open-ended (SCHEDULE_FROM_NOW) or to an end date (SCHEDULE_START_END), and the hours of the week it may deliver in (dayparting). Times are UTC. A later end, or removing the end, lets the ad group keep spending for longer, so get the user's explicit approval first. An ad group with a lifetime budget must keep an end time. It does not change the budget, the bid or the on/off status. Works for manual, Smart+ and Upgraded Smart+ ad groups. 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": {
      "adgroup_id": "<adgroup_id>"
    },
    "name": "tiktok_update_adgroup_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
adgroup_idYesId of the ad group, from tiktok_get_adgroups.
daypartingNoHours the ad group may deliver: exactly 336 characters of 0 and 1, one per half hour from Monday 00:00 to Sunday 23:30 in the ad account's time zone, 1 for on. All 1 means all day, every day.
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.
schedule_typeNoSCHEDULE_START_END to run to an end time (pass schedule_end_time unless one is set), SCHEDULE_FROM_NOW to run with no end. Omitted with schedule_end_time: becomes SCHEDULE_START_END.
schedule_end_timeNoNew end, UTC, as YYYY-MM-DD HH:MM:SS. Must be in the future and after the start.
schedule_start_timeNoNew start, UTC, as YYYY-MM-DD HH:MM:SS. TikTok accepts it only while the ad group has not started.

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.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the actual consequence — a later or removed end time lets the ad group keep spending longer — plus the approval requirement and the lifetime-budget constraint. It also covers which ad group types are supported and that dry_run exists, going well beyond the structured hints.

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?

Dense and front-loaded: the resource and changeable fields come first, then constraints, then the consequences and approval warning. A few items (UTC, timestamp semantics) duplicate the schema, so it is not maximally economical, but no sentence is filler.

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 destructive mutation with an output schema and fully documented params, the description supplies everything else an agent needs: preconditions, side-effect risk, approval workflow, dry_run path, supported ad group types, and explicit non-goals. Nothing material is left for the agent to guess.

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 a 3, but the description adds real meaning: all times are UTC, and the schedule_start_time eligibility condition (only before the ad group starts) is restated as a business rule rather than a format note. It also explains the semantic difference between open-ended and end-dated scheduling and the coupling of schedule_end_time to SCHEDULE_START_END.

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 ('Change when one TikTok ad group runs in the user's own ad account') and enumerates the exact fields it touches: end time, start time, schedule type, and dayparting. It also explicitly delimits scope ('It does not change the budget, the bid or the on/off status'), which separates it from tiktok_update_budget and tiktok_update_bidding without opening their schemas.

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?

Gives clear preconditions: start time only accepted while the ad group has not started, and lifetime-budget ad groups must keep an end time. It instructs the agent to obtain explicit user approval before extending end time and to use dry_run first. It does not name a sibling tool for the excluded operations, but the when-to-use context is otherwise unambiguous.

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