Skip to main content
Glama

Whathead Ad Operations

TikTok Ads

tiktok_native_action
Destructive

Run a TikTok Business API action by name for deferred or advanced operations. Prefer named tools such as create campaign, fetch ad account, upload media, and get insights when they are available.

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": {
      "action": "<action>"
    },
    "name": "tiktok_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoLIST_ACTIONS page size; defaults to 50.
queryNoExplicit query params.
actionYesTikTok Business API action/tool name, LIST_ACTIONS, or DESCRIBE_ACTION. Use search="bc member" or search="bc asset" to discover Business Center access-management actions.
fieldsNoAlias for result_fields unless the action has a native fields parameter.
offsetNoLIST_ACTIONS zero-based offset.
paramsNoNative TikTok params.
searchNoLIST_ACTIONS case-insensitive action, alias, category, endpoint, or documentation filter.
compactNoRemove null, empty string, and empty object values from the MCP result.
dry_runNoWrites preview by default; read actions ignore it.
payloadNoNative TikTok body exactly as documented.
categoryNoLIST_ACTIONS category filter.
confirmedNoRequired for destructive live calls.
max_itemsNoCap returned arrays in the MCP result.
max_pagesNoPage cap for aggregate_pages.
read_onlyNoLIST_ACTIONS read/write filter.
account_idNoAlias for advertiser_id.
lead_regionNoOptional lead region header.
path_paramsNoTemplated path params.
advertiser_idNoTikTok advertiser ID as a string.
connection_idNoOptional TikTok OAuth connection ID.
result_fieldsNoProject MCP result records to these fields.
target_actionNoAction to inspect when action=DESCRIBE_ACTION.
skip_preflightNoBypass curated write preflight.
aggregate_pagesNoFetch additional list pages when true.
idempotency_keyNoIdempotency key for writes.
override_preflightNoAlias for skip_preflight.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and readOnlyHint=false, so the safety profile is covered structurally; the description adds nothing beyond that about what gets destroyed or which actions are writes. Crucially it omits the write-safety workflow that the schema encodes (dry_run defaults true, confirmed required for destructive live calls, preflight bypass flags), which is exactly the behavioral context a generic dispatcher needs. No contradiction with annotations, but little added value.

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?

Two sentences, zero padding, with the core purpose front-loaded before the alternative-tool guidance. 'Deferred or advanced operations' is the only soft phrase that doesn't quite earn its place, since it doesn't tell an agent what qualifies as advanced.

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 26-parameter generic dispatcher wrapping a whole advertising API with no output schema, the description is thin: it never explains the discovery flow, the dry-run/confirm write workflow, or that results can be projected/aggregated. The annotations and rich schema partially compensate, keeping it at minimum-viable rather than inadequate. An agent can call it, but only by reading the schema closely.

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 100% across all 26 parameters, so the schema already explains action, search, confirmed, dry_run, aggregate_pages, and the aliasing behavior. The description contributes no parameter-level meaning at all—not even that 'action' accepts a raw TikTok action name or the LIST_ACTIONS/DESCRIBE_ACTION sentinels. Baseline 3 applies when the schema carries the full load.

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?

The first sentence names a specific verb and resource ('Run a TikTok Business API action by name') and frames the tool as an escape hatch for 'deferred or advanced operations,' which is meaningfully distinct from a single-purpose tool. It does not, however, distinguish itself from the platform-specific siblings (meta_native_action, google_ads_native_action) that follow the same pattern, so an agent must infer that the only difference is the platform.

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?

The second sentence gives explicit routing guidance: prefer named tools such as create campaign, fetch ad account, upload media, and get insights when available, implying this tool is the fallback. It states the 'when not to use' side clearly, but gives no when-to-use context for the deferred/advanced case beyond the vague label, and never mentions the discovery path (LIST_ACTIONS / DESCRIBE_ACTION) that the schema references.

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.