Skip to main content
Glama

AdsAgent — TikTok Ads MCP

assets_list_identities

List cached TikTok posting identities for the authenticated tenant. Meta pages analog: call this from assets discovery before campaigns_quick_create when ad_params lacks identity_id / identity_type (Smart+ App may auto-pick only when exactly one eligible BC_AUTH_TT row exists for the advertiser). Each row includes regular_local_media_eligible=true only when its exact identity_type is CUSTOMIZED_USER; regular local video/image also requires its exact advertiser link. AUTH_CODE is Spark-only on regular create: use an eligible Spark post and pass its signed receipt unchanged when available; a legacy receipt-less item incurs one bounded live provider verification before approval. TT_USER and BC_AUTH_TT are not regular-local choices and may be used only on a server-verified compatible Smart+ route. When the same identity_id appears on multiple BC rows, pass identity_authorized_bc_id from this list. Each row carries linked_bcs: [{bc_id, bc_name}, ...].

Returns a compact bounded page. Optional: cursor from the previous response, limit (default 20, maximum 50), and search (case-insensitive native id/name lookup). Keep the same tool, filters and limit while following next_cursor serially until complete=true. A rejected or old cursor requires restarting page one. complete describes pagination, not upstream sync coverage or permission to create.

For creation, pass advertiser_id from assets_list_ad_accounts to return only assets with an exact cached advertiser link. Shared BC ownership alone is not an advertiser link. The prepare step still verifies the selected asset, identity type and create-capable authorization.

REQUIRED: none. EXAMPLE: assets_list_identities({"limit": 20})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
searchNo
advertiser_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it delivers rich behavioral detail: eligibility rules by identity_type, Spark-only AUTH_CODE paths, Smart+ restrictions, identity_authorized_bc_id handling for duplicate identities, pagination semantics with next_cursor and complete, and advertiser-link verification. It goes well beyond a simple read/list description and exposes important edge cases an agent must know.

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?

The description is long, but the tool is complex and the content is dense with edge cases. Purpose is front-loaded, and the pagination and parameter guidance are structured logically. Some phrases like "Meta pages analog" add little and could confuse, but overall the length is justified by the behavioral complexity covered.

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 tool with no annotations and no output schema, the description is remarkably complete. It covers return contents, pagination protocol, cursor invalidation, filtering semantics, identity eligibility, creation prerequisites, and verification expectations. An agent has enough context to invoke this tool correctly and interpret its results in the surrounding workflow.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does. It explains limit defaults and maximum (20/50), cursor comes from a previous response, search is case-insensitive native id/name lookup, and advertiser_id filters to assets with an exact cached advertiser link. Each parameter gains meaning beyond the raw schema definitions.

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?

The description opens with a specific verb and resource: "List cached TikTok posting identities for the authenticated tenant." It clearly distinguishes this from the broader asset-listing sibling tools by focusing on TikTok posting identities and explaining its role in assets discovery before campaigns_quick_create. The scope is precise and immediately actionable.

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?

The description explicitly states when to call it: "call this from assets discovery before campaigns_quick_create when ad_params lacks identity_id / identity_type." It also explains how advertiser_id relates to assets_list_ad_accounts and gives filtering guidance. It does not enumerate sibling alternatives to rule out, but the triggering condition and surrounding workflow are clear enough for an agent to select it appropriately.

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