Skip to main content
Glama
subzeroid

LamaTok — TikTok MCP

get_v1_user_playlists_by_username

Read-only

Retrieve a TikTok user's playlists by username, one page per call. Pass next_page_id as page_id for the next page and set count to control page size.

Instructions

List a TikTok user's playlists by username, one page per call. Use it when you have a handle; use get_v1_user_playlists_by_secUid when you already have the secUid, and get_v2_user_medias_by_secUid for all of the user's videos. 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/username)

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description adds non-obvious operational context: it is a live TikTok request billed per call, and it advances one page per invocation via `next_page_id` -> `page_id`. Auth requirements and rate limits are not mentioned, keeping it 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?

One dense paragraph with purpose and routing front-loaded, followed by pagination mechanics, cost note, and the raw endpoint as a trailing reference. Every sentence carries distinct information; nothing is restated from the name or title.

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?

There is no output schema, and the description supplies the one return detail an agent needs (the `next_page_id` field for paging), plus cost and routing context. Missing are return-shape basics beyond pagination and any auth/rate-limit notes, but for a 3-param read-only list tool this is close to complete.

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% (only `page_id` is documented), so the description must compensate, and it does: it explains the `next_page_id`->`page_id` handoff and that `count` sets page size with a default of 30. It does not mention the username length bounds (2-24) that the schema enforces, so a small gap remains.

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+resource+scope ('List a TikTok user's playlists by username, one page per call') and immediately disambiguates from two named siblings covering the secUid variant and the user-videos endpoint. An agent can select this tool without opening any schema.

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?

Explicit routing rules: use this when you have a handle, use get_v1_user_playlists_by_secUid when you have a secUid, use get_v2_user_medias_by_secUid for videos. It also states the pagination procedure and the `count` default, leaving nothing to inference.

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