Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: List Ad Groups

tiktok_get_adgroups
Read-onlyIdempotent

List the ad groups of one TikTok ad account — on/off and delivery status, budget and budget mode, optimisation goal, billing event, bid type and bids, schedule, placements and targeting (locations, age, gender, languages, audiences, interests). Pass campaign_ids to see one campaign's ad groups or adgroup_ids to read particular ones. Results are paged; hasMore says when more exist. Use the ids with tiktok_get_ads, tiktok_get_adgroup_diagnostics, tiktok_update_budget, tiktok_update_bidding, tiktok_update_adgroup_targeting and tiktok_update_adgroup_schedule. 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_adgroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
statusNoACTIVE: delivering now. PAUSED: switched off. ALL (default): everything not deleted.
page_sizeNoRows per page, 1 to 200. Default 50.
adgroup_idsNoOnly these ad group ids (up to 100). Use it to read one object in full.
campaign_idsNoOnly objects under these campaign ids (up to 100).
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.
hasMoreYesTrue when further pages exist, so this result is partial: ask for the next page before totalling or ranking.
adGroupsYesThe ad groups on this page.
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.
pageSizeYesRows asked for per page.
totalRowsYesRows TikTok holds for this query, across all pages.
advertiserIdYesTikTok ad account (advertiser id) that was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / adGroups / items / properties / dayparting
      Added value: +{
      +  "description": "Hours the ad group may deliver: 336 characters, one per half hour from Monday 00:00 to Sunday 23:30 in the ad account's time zone, 1 for on and 0 for off. Null, all 1 or all 0 means all day.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description still adds value by disclosing pagination behavior ("Results are paged; hasMore says when more exist") and by restating the read-only nature for emphasis. It does not mention rate limits or account-permission requirements.

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 scoping parameters, then pagination, then downstream usage — a sensible order with no filler. The mid-sentence field enumeration is long but each item is informative about what comes back.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only list tool with a full input schema, an output schema, and rich annotations, this covers purpose, scoping, pagination and hand-off to mutation/diagnostic tools. Only account-permission or empty-result behavior is left unmentioned, which is minor here.

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 coverage is 100% and the schema already documents page, page_size, status enum, both id arrays, and advertiser_id fallback behavior. The description's param statements ("Pass campaign_ids to see one campaign's ad groups or adgroup_ids to read particular ones") largely restate the schema, adding only a light workflow hint, so the baseline 3 applies.

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?

Specific verb plus resource ("List the ad groups of one TikTok ad account") followed by an explicit enumeration of the fields returned (status, budget, bid, schedule, targeting). This clearly separates it from tiktok_get_ads (ads under ad groups), tiktok_get_campaigns, and the tiktok_update_* siblings.

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 selection guidance for parameters: campaign_ids to scope to one campaign, adgroup_ids to read particular ones, and it tells the agent to reuse the returned ids with six named downstream tools. It doesn't state an explicit when-not-to-use or contrast against a sibling list tool, but the use context is clear.

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