Skip to main content
Glama

tikdataapi: TikTok data

Videos of a playlist

get_playlist_videos
Read-onlyIdempotent

Videos of one TikTok playlist, in the order of the playlist. 1 credit per video; an empty playlist costs nothing.

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": {
      "playlist_id": "<playlist_id>"
    },
    "name": "get_playlist_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoResults on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap.
freshNoRead TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none.
cursorNonext_cursor from the previous page
playlist_idYesNumeric id of the playlist, as a string: the id of an entry of get_user_playlists, or the number at the end of the address of the playlist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety burden is off the description. It still adds genuine context beyond them: ordered results, a per-video credit cost, and the free-of-charge edge case for an empty playlist — useful for cost-aware agents. Missing only paging/`fresh` behavior, which the schema covers.

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?

Two tight sentences: the scope and ordering come first, then the cost model. No filler, no restatement of the title, nothing that could be cut.

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 paged list tool with full schema coverage and annotations, the description supplies the differentiators an agent needs: ordering and credit cost. The absence of an output schema is the only residual gap — result fields are unspecified — but that is a minor omission for this tool class.

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% and each of the four parameters is documented in the schema (count bounds, cursor, fresh cost tradeoff, playlist_id pattern and provenance). The description adds no parameter-level meaning beyond 'one playlist', so the baseline 3 applies.

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

Purpose4/5

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

States a specific resource and scope: videos of ONE TikTok playlist, returned in playlist order. The ordering guarantee plus the single-playlist constraint distinguishes it adequately from the broad list-style siblings (get_videos, get_user_videos), though it does not name a contrasting alternative explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: you need a numeric playlist_id, and the schema plus description hint that this comes from get_user_playlists or a playlist URL. There is no explicit when-to-use / when-not-use statement and no comparison against sibling video-list tools, so guidance is adequate but thin.

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.