Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Get Ad Group Diagnostics

tiktok_get_adgroup_diagnostics
Read-onlyIdempotent

Get TikTok's own diagnosis for up to 20 ad groups: the issues it has detected and what it suggests, in three categories — CREATIVE (e.g. a video with no music, too short or low resolution), BID_AND_BUDGET (a suggested bid or budget, or estimated results at other bids and budgets) and EVENT_TRACK (e.g. a pixel with no activity in 7 days). Omit adgroup_ids to diagnose the account's delivering ad groups (the first 20). The findings are TikTok's, returned as TikTok states them; an ad group with no findings has no issue TikTok detected, which is not proof it performs well. 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_adgroup_diagnostics"
  }
}

Input Schema

NameRequiredDescriptionDefault
adgroup_idsNoAd groups to diagnose, up to 20 (from tiktok_get_adgroups). Omitted: the account's delivering ad groups, the first 20.
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.
issue_categoriesNoOnly these categories of findings. Default: all three.

Output Schema

NameRequiredDescriptionDefault
adGroupsYesOne entry per ad group TikTok returned a diagnosis for.
currencyYesISO 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.
advertiserIdYesTikTok ad account (advertiser id) that was read.
notDiagnosedYesRequested ad group ids TikTok returned no diagnosis for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real value by disclosing that findings are TikTok's verbatim output, capped at 20 groups, and that a clean result is not evidence of good performance — an important interpretive caveat. 'Reads only; changes nothing' repeats the annotations, but the surrounding caveats earn the score.

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 capability, then the category taxonomy, then the omission rule and the interpretive caveat — a logical order with no filler sentences. The parenthetical examples are dense but each earns its place; the closing 'Reads only; changes nothing' is the only phrasing that duplicates annotations.

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?

An output schema exists, so return values need not be explained; the description instead covers what an agent actually needs — scope limits, the category semantics, default behavior, and how to interpret empty results. For a read-only, zero-required-parameter diagnostics tool, nothing material 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 all three parameters are already documented, including the omission defaults. The description's main addition is explaining what each category actually contains (e.g. a pixel with no activity in 7 days, suggested bid/budget), which is genuine semantic enrichment, but it largely restates schema-declared defaults for adgroup_ids and issue_categories.

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 — TikTok's own diagnosis of ad group issues — and scopes it precisely to up to 20 groups. The three named categories (CREATIVE, BID_AND_BUDGET, EVENT_TRACK) with concrete examples make it unmistakable against siblings like tiktok_get_performance or tiktok_get_adgroups, which read data rather than vendor diagnostics.

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?

Explicitly covers the omission case: leave adgroup_ids blank to diagnose the account's delivering ad groups (first 20). It also implicitly steers away from treating absence of findings as a performance verdict, which hints at using performance tools instead. It stops short of naming an alternative sibling outright, so it is clear context rather than full when/when-not routing.

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