Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Get Performance Report

tiktok_get_performance
Read-onlyIdempotent

Report TikTok Ads performance — spend, impressions, clicks, CTR, CPC, CPM, conversions, cost per conversion, results — for ad accounts, campaigns, ad groups or ads over a date range, as one total per row or broken down by day, week or month. Covers up to 20 ad accounts in one call and manual, Smart+ and Upgraded Smart+ campaigns alike. Filter with campaign_ids, adgroup_ids or ad_ids; choose metrics by TikTok's metric names (e.g. complete_payment_roas, total_purchase_value, reach, frequency). TikTok's limits: a DAY breakdown spans at most 30 days, WEEK 180, MONTH and TOTAL 365. Rows are paged; hasMore marks a partial result. Money is in each ad account's own currency. 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_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
levelNoWhat one row is: ACCOUNT, CAMPAIGN (default), ADGROUP or AD.
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, result, cost_per_result. Others include reach, frequency, complete_payment, complete_payment_roas, total_purchase_value, value_per_complete_payment, video_play_actions, likes, shares. 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 30 days with granularity DAY, 180 with WEEK, 365 with MONTH or TOTAL.
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).
granularityNoTOTAL (default): one row per object for the whole range. DAY, WEEK or MONTH: one row per object per period.
campaign_idsNoOnly these campaigns (up to 100 ids).
advertiser_idsNoTikTok ad accounts to report on: advertiser ids or account names (from tiktok_list_ad_accounts), up to 20. Omitted: the only account or the stored default.

Output Schema

NameRequiredDescriptionDefault
pageYesPage returned.
rowsYesOne row per object, or per object and period.
levelYesWhat one row is.
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.
startDateYesFirst day covered, YYYY-MM-DD.
totalRowsYesRows TikTok holds for this query, across all pages.
granularityYesHow rows are bucketed in time.
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.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial operational context beyond them: hard date-span limits per granularity (30 days DAY, 180 WEEK, 365 MONTH/TOTAL), paged rows with hasMore signaling a partial result, and money reported in each ad account's own currency. 'Reads only; changes nothing' reinforces the safety profile.

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 the purpose, then limits, then pagination and currency — good ordering, no filler sentences. The single dense paragraph is somewhat run-on and mixes scope, limits, and output notes together, which costs a bit of scannability.

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, it covers the things that actually cause failed calls: granularity-dependent date limits, paging behavior, multi-account scope, and per-account currency. Return shape is left to the output schema, as appropriate.

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?

With 100% schema coverage the baseline is 3, but the description adds meaning beyond the schema: the metric-name examples (complete_payment_roas, total_purchase_value, reach, frequency) show the naming convention, and the granularity/date-span matrix is restated at the call level so the agent can pick valid combinations. It stops short of explaining interactions like sort_by with TOTAL granularity.

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?

Opens with a specific verb and resource ('Report TikTok Ads performance') and immediately enumerates the measure space (spend, impressions, CTR, CPC, conversions) plus the supported levels (account, campaign, ad group, ad). The 'one total per row or broken down by day, week or month' phrasing separates it cleanly from sibling audience/creative performance tools.

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 concrete usage context: filter by campaign_ids, adgroup_ids or ad_ids, up to 20 accounts per call, and works for manual, Smart+ and Upgraded Smart+ campaigns. It does not explicitly name an alternative tool or state when NOT to use this one, so it falls short of full routing 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