Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Get Creative Performance

tiktok_get_creative_performance
Read-onlyIdempotent

Report how TikTok creatives perform as video and as ads: video plays, 2-second and 6-second views, 25/50/75/100% completions, average watch time, likes, comments, shares, follows, profile visits, plus spend, clicks and conversions. One row per ad by default (for an Upgraded Smart+ campaign, per ad asset group), or per video with group_by VIDEO, which totals one video across every ad using it, or per creative asset inside each Upgraded Smart+ ad with group_by MATERIAL (Upgraded Smart+ campaigns only; rows carry the adMaterialIds that tiktok_set_creative_status takes). Each row also carries three ratios computed from TikTok's counts: hookRate (2-second views per impression), holdRate (6-second views per impression) and completionRate (full views per play). Narrow with campaign_ids, adgroup_ids or ad_ids. Up to 365 days per call; rows are paged and hasMore marks a partial result. Reads only; changes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tiktok_get_creative_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
ad_idsNoOnly these ads (up to 100 ids). For an Upgraded Smart+ campaign use the ad's smartPlusAdId.
metricsNoTikTok metric names to return, up to 40. Default: spend, impressions, clicks, ctr, cpm, conversion, cost_per_conversion, conversion_rate, video_play_actions, video_watched_2s, video_watched_6s, video_views_p25, video_views_p50, video_views_p75, video_views_p100, average_video_play, likes, comments, shares, follows, profile_visits. Others include engaged_view, average_video_play_per_user, reach, frequency. A metric TikTok does not offer for this breakdown is refused by TikTok with a message naming it.
sort_byNoMetric to sort rows by, e.g. spend. Default: TikTok's own order.
end_dateNoLast day of the report, YYYY-MM-DD, inclusive. Default: today. The range may span up to 365 days.
group_byNoAD (default): one row per ad. VIDEO: one row per video, across the ads that use it. MATERIAL: one row per creative asset of each Upgraded Smart+ ad; takes at most one of campaign_ids, adgroup_ids and ad_ids, up to 100 rows per page, and the default metrics are spend, impressions, clicks, ctr, cpm, conversion, cost_per_conversion, video_play_actions, video_watched_2s, video_watched_6s, video_views_p100.
page_sizeNoRows per page, 1 to 1000. Default 100.
sort_orderNoDESC (default) or ASC. Used only with sort_by.
start_dateNoFirst day of the report, YYYY-MM-DD, in the ad account's time zone. Default: 29 days before end_date.
adgroup_idsNoOnly these ad groups (up to 100 ids).
campaign_idsNoOnly these campaigns (up to 100 ids).
advertiser_idNoTikTok ad account to read: advertiser id or account name (from tiktok_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.

Output Schema

NameRequiredDescriptionDefault
pageYesPage returned.
rowsYesOne row per ad, per video or per Smart+ creative asset.
endDateYesLast day covered, inclusive.
groupByYesWhat one row is: an AD, a VIDEO or a MATERIAL.
hasMoreYesTrue when further pages exist, so this result is partial: ask for the next page before totalling or ranking.
warningNoTikTok's own notice that it truncated the report, when it did.
currencyYesCurrency of every money metric when the report covers one ad account; null when it covers several, where each row carries its own.
pageSizeYesRows asked for per page.
startDateYesFirst day covered, YYYY-MM-DD.
totalRowsYesRows TikTok holds for this query, across all pages.
advertiserIdsYesAd accounts the report covers.
conversionNoteYesWhat TikTok's conversion and result metrics count and how they are attributed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / group_by / description
      Previous value: -"AD (default): one row per ad. VIDEO: one row per video, across the ads that use it."New value: +"AD (default): one row per ad. VIDEO: one row per video, across the ads that use it. MATERIAL: one row per creative asset of each Upgraded Smart+ ad; takes at most one of campaign_ids, adgroup_ids and ad_ids, up to 100 rows per page, and the default metrics are spend, impressions, clicks, ctr, cpm, conversion, cost_per_conversion, video_play_actions, video_watched_2s, video_watched_6s, video_views_p100."
    • changedInput schema / properties / group_by / enum
      Previous value: -[
      -  "AD",
      -  "VIDEO"
      -]New value: +[
      +  "AD",
      +  "VIDEO",
      +  "MATERIAL"
      +]
    • changedOutput schema / properties / groupBy / description
      Previous value: -"What one row is: an AD or a VIDEO."New value: +"What one row is: an AD, a VIDEO or a MATERIAL."
    • changedOutput schema / properties / groupBy / enum
      Previous value: -[
      -  "AD",
      -  "VIDEO"
      -]New value: +[
      +  "AD",
      +  "VIDEO",
      +  "MATERIAL"
      +]
    • changedOutput schema / properties / rows / description
      Previous value: -"One row per ad or per video."New value: +"One row per ad, per video or per Smart+ creative asset."
    • addedOutput schema / properties / rows / items / properties / adMaterialIds
      Added value: +{
      +  "description": "The asset's ad-specific material ids, which tiktok_set_creative_status takes; empty unless group_by is MATERIAL.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / rows / items / properties / materialId
      Added value: +{
      +  "description": "Id of the creative asset, when group_by is MATERIAL: a video, image, carousel, TikTok post or catalog id, by materialType.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / rows / items / properties / materialName
      Added value: +{
      +  "description": "Name of the creative asset, when TikTok returns it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / rows / items / properties / materialStatus
      Added value: +{
      +  "description": "ENABLE, DISABLE or FROZEN: whether the asset is switched on inside its ad; null unless group_by is MATERIAL.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / rows / items / properties / materialType
      Added value: +{
      +  "description": "Kind of creative asset, e.g. VIDEO_NON_SPARK_ADS, VIDEO_SPARK_ADS, CAROUSEL_SPARK_ADS, SINGLE_IMAGE_NON_SPARK_ADS, CATALOG_VIDEO; null unless group_by is MATERIAL.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnlyHint/idempotentHint annotations it discloses the 365-day range cap, paging with hasMore marking a partial result, and the fact that rows change granularity under MATERIAL (including the 100-row page cap and single-dimension restriction). It also notes that ratios are computed from TikTok's counts rather than returned raw. Safety is already covered by annotations, so this is solid added context rather than a full behavioral disclosure.

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 what is reported and the grouping modes, then narrowing, then limits, then a closing read-only statement. The long metric enumeration overlaps the schema's metrics description and is the one stretch of redundant text, but it is scannable and not padded with 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 12-parameter, zero-required analytics tool with an output schema and full annotations, nothing an agent needs to call it correctly is missing: granularity, date bounds, pagination semantics, narrowing filters, account selection, and downstream use of MATERIAL output are all covered.

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 baseline is 3; the description earns above that by explaining the semantic consequences of group_by — VIDEO totals one video across the ads using it, MATERIAL yields adMaterialIds consumable by tiktok_set_creative_status, and MATERIAL has a different default metric set. It restates some schema defaults (metric list) but the grouping behavior is genuine added meaning.

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 — reporting TikTok creative performance — and immediately enumerates the metric families (video plays, completions, watch time, engagement, spend/conversions). The three grouping modes (AD, VIDEO, MATERIAL) are stated up front so an agent can distinguish this from campaign- or audience-level performance tools without opening the schema.

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 decision rules for the group_by parameter: per-ad default, per-video with VIDEO, per-asset with MATERIAL restricted to Upgraded Smart+ campaigns. It also links forward to tiktok_set_creative_status (adMaterialIds) and tiktok_list_ad_accounts. It never explicitly excludes a sibling such as tiktok_get_performance or tiktok_get_creative_fatigue, so it stops short of full when-not guidance.

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