Skip to main content
Glama

TikTok list campaign adgroups

tiktok_list_campaign_adgroups
Read-only

TikTok ad groups in one campaign. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "advertiser_id": "<advertiser_id>",
      "campaign_id": "<campaign_id>"
    },
    "name": "tiktok_list_campaign_adgroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
user_idNo
client_idNo
user_emailNo
campaign_idYes
advertiser_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds two useful behavioral facts beyond that: client_id defaults to the active brand, and extra forwards unrecognized fields. It says nothing about pagination, result caps, or what an empty result means.

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?

Two short sentences with no filler, and the resource scope is stated first. The telegraphic style ('client_id picks the brand') is terse but readable; nothing is padded.

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

Completeness3/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 described. However, for a 6-parameter tool with 0% schema coverage and a near-identical sibling, the definition leaves too much undocumented — required IDs and result scoping in particular.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it explains only client_id (brand selection, default active) and extra (passthrough fields). advertiser_id, campaign_id, user_id, and user_email are undocumented in both the schema and the description, including which are required.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource ('TikTok ad groups in one campaign'), which conveys that ad groups are scoped to a campaign, but it is a noun fragment with no verb and no explicit statement that it lists/returns them. It does not contrast itself with the sibling 'tiktok_list_adgroups', so an agent must infer the difference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus 'tiktok_list_adgroups' or 'tiktok_get_campaign', and no stated prerequisites or conditions. The only conditional hint is that client_id defaults to the active brand, which is usage-adjacent but not a when-to-use rule.

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.