Skip to main content
Glama
subzeroid

LamaTok — TikTok MCP

get_v1_user_playlists_by_secUid

Read-only

Fetch a TikTok user's playlists using their secUid, one page per call. Paginate with next_page_id from prior response; count sets page size.

Instructions

List a TikTok user's playlists by secUid, one page per call. Use it when you already have the secUid from a profile; use get_v1_user_playlists_by_username when you only have a handle. For the next page pass next_page_id from the previous response as page_id; count sets the page size (default 30). Live request to TikTok, billed per call. (GET /v1/user/playlists/by/secUid)

Input Schema

NameRequiredDescriptionDefault
countNo
secUidYes
page_idNoUse value of field `next_page_id` from response for getting next page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds non-obvious operational context: it is a live billed request to TikTok and returns one page per call. It omits rate-limit/error behavior, so it falls just short of a 5.

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?

Three tight sentences, front-loaded with the core purpose, followed by sibling routing, pagination mechanics, and cost/endpoint metadata. No filler.

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 paginated list tool with no output schema, the description supplies the missing return-value contract (the `next_page_id` field) and the billing/live-request caveat, so an agent has everything needed to call and iterate correctly.

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

Parameters4/5

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

Schema description coverage is only 33% (just `page_id`), so the description compensates well: it explains where `secUid` comes from and, crucially, that `next_page_id` from the prior response must be passed as `page_id`, plus the `count` default of 30. Minor gap: no mention of the `secUid` length/pattern constraints.

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?

States a specific verb (List) and resource (a TikTok user's playlists) scoped by `secUid`, and explicitly contrasts itself with `get_v1_user_playlists_by_username`, letting an agent distinguish it from the many sibling user endpoints without inspecting schemas.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool ('when you already have the `secUid` from a profile') and names the exact alternative for the other case ('when you only have a handle'). It also gives concrete pagination guidance for the next call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.