Skip to main content
Glama

get_tiktok_user_posts

Retrieve a TikTok user's videos with pagination. Each video includes ID, caption, timestamp, and engagement stats. Use the user's secure ID from the profile endpoint to get started.

Instructions

List a TikTok user's videos with pagination as JSON. Each video includes ID, caption, timestamp, and stats (likes, comments, views, shares, bookmarks). Requires sec_user_id from the profile endpoint. Use data.max_cursor for next page; stop when data.has_more is 0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sec_user_idYesSecure user ID from the get_tiktok_profile response.
cursorNoPagination cursor. Use data.max_cursor from previous response for next page.0
countNoNumber of results per page (1-30).
sort_typeNoSort order. '0' = latest first, '1' = most popular first.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses output fields (ID, caption, timestamp, stats), pagination behavior (cursor, has_more), and a dependency (profile endpoint). It does not cover rate limits or error handling, but for a read-oriented tool, this is adequate.

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 sentences, front-loaded with the core purpose and output format, followed by essential usage context. Every sentence is valuable and there is no redundancy.

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?

Given 4 parameters, no output schema, and no annotations, the description explains the prerequisite, pagination pattern, and output fields. It does not cover sort_type enum values (schema does) or all edge cases, but it is complete enough for typical usage.

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 coverage is 100%, so the baseline is 3. The description repeats some schema info (e.g., 'requires sec_user_id') but adds pagination context. It does not add new parameter-specific meaning beyond the schema descriptions.

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 explicitly states 'List a TikTok user's videos with pagination as JSON', providing a specific verb and resource. It distinguishes from siblings like get_tiktok_profile (profile info) and get_tiktok_video (single video) by focusing on listing multiple posts with pagination.

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 clearly explains the prerequisite ('Requires sec_user_id from the profile endpoint') and gives explicit pagination instructions ('Use data.max_cursor for next page; stop when data.has_more is 0'). It does not compare to alternatives like search_tiktok_videos but provides sufficient guidance for proper usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/scavio-ai/scavio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server