Skip to main content
Glama

AdsAgent — TikTok Ads MCP

spark_ads_list_posts

List reusable Spark posts already authorized for one exact TikTok advertiser. Each item includes identity_id, identity_type=AUTH_CODE, tiktok_item_id, media_kind, supported_ad_formats, create_eligible=true, bounded authorization status and expiry evidence, and a short-lived spark_receipt binding the exact tenant/advertiser/identity/item/media tuple. Set ad_params.ad_format to one returned supported_ad_formats value. Expired, revoked, unverified, or too-soon-expiring posts are excluded and counted in coverage.ineligible_reasons. Pass eligible fields unchanged to campaigns_quick_create or campaigns_quick_create_batch. This is read-only and does not authorize new codes or publish ads.

REQUIRED: advertiser_id from assets_list_ad_accounts. Optional: limit (1..50), search (up to 200 characters), and the opaque next_cursor returned by the previous page. Continue until has_more=false and coverage.complete=true before treating the listing as exhaustive. Refresh and re-list when a receipt expires; never reuse a receipt across advertisers or OAuth routes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
cursorNo
searchNo
advertiser_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and excels. It discloses read-only behavior, exclusions for expired/revoked/unverified posts, pagination termination conditions, short-lived receipt semantics, and the prohibition on reusing receipts across advertisers or OAuth routes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence is dense and purposeful, with the core purpose front-loaded and details ordered logically: item contents, usage instruction, exclusions, pagination, and receipt caveats. Despite its length, there is no fluff or repetition.

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?

Given no output schema and no annotations, the description is remarkably complete. It specifies returned item fields, eligibility filtering, ineligible_reasons accounting, pagination completion criteria, required input provenance, and downstream integration with campaigns_quick_create tools.

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 advertiser_id's source, limit's range (1..50), search's length limit (200 characters), and cursor's nature as an opaque next_cursor from the previous page. All four parameters receive meaningful semantic context beyond the schema.

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 reusable Spark posts already authorized for one exact TikTok advertiser.' It clearly distinguishes this from sibling tools like spark_ads_authorize_codes by emphasizing listing already-authorized posts rather than authorizing new codes.

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 gives strong context: advertiser_id must come from assets_list_ad_accounts, results feed into campaigns_quick_create, and the tool is read-only and does not authorize new codes. It stops short of explicitly naming alternative tools for authorization, though the exclusion is implied clearly enough.

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