Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Get Audience Performance

tiktok_get_audience_performance
Read-onlyIdempotent

Report TikTok Ads performance split by one audience dimension: AGE, GENDER, COUNTRY, PLACEMENT, PLATFORM (operating system), LANGUAGE, NETWORK (connection type) or INTEREST (first-level interest category). By default the split covers the whole ad account; set level to CAMPAIGN, ADGROUP or AD for one split per object, and narrow with campaign_ids, adgroup_ids or ad_ids. Up to 365 days per call. TikTok reports fewer metrics per audience dimension than in the main report, and only users whose attribute it knows; segments are directional, not a census. Rows are paged; hasMore marks a partial result. Reads only; changes nothing.

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": {
      "breakdown": "<breakdown>"
    },
    "name": "tiktok_get_audience_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
levelNoACCOUNT (default): one row per segment for the whole account. CAMPAIGN, ADGROUP or AD: one row per segment per object.
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, cpc, cpm, conversion, cost_per_conversion, conversion_rate. 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.
breakdownYesThe audience dimension to split by.
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 segment, or per segment and object.
levelYesWhat a segment is split within.
endDateYesLast day covered, inclusive.
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.
breakdownYesThe audience dimension split by.
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. Added

TDQS

A4.4/5.0
Behavior5/5

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

Adds real behavioral context beyond the read-only/idempotent annotations: TikTok returns fewer metrics per audience dimension and only covers users whose attribute it knows, so segments are 'directional, not a census' — a caveat an agent would otherwise miss. It also flags the 365-day cap and that pagination produces partial results marked by hasMore.

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?

Three dense sentences, front-loaded with the breakdown enumeration and scoping mechanics, with no filler. The closing 'Reads only; changes nothing' repeats the readOnlyHint annotation and is the one line that doesn't earn its place.

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 13-parameter reporting tool with an output schema and full annotation coverage, the description covers what matters: what's split, how to scope it, the date ceiling, metric limitations, and pagination semantics. Nothing needed to call it correctly is missing.

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%, so every parameter is already documented in the schema, including the level enum and id-array limits. The description restates the level and narrowing semantics at a high level without adding format or syntax detail, so it sits at the baseline for schema-rich tools.

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 ('Report TikTok Ads performance split by one audience dimension') and enumerates all eight breakdown values, so an agent knows exactly what this returns versus the sibling tiktok_get_performance tool that produces the main report. The scope (one dimension per call) is explicit and disambiguating.

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 operating context: default is account-wide, set level to CAMPAIGN/ADGROUP/AD for per-object splits, and narrow with campaign_ids/adgroup_ids/ad_ids. It alludes to the main report ('fewer metrics per audience dimension than in the main report') but never explicitly tells the agent to use tiktok_get_performance instead when no breakdown is needed, so the routing guidance is implied rather than stated.

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