Skip to main content
Glama

SocialDataX TikTok MCP

tiktok_search_users

Read-only

按非空搜索词搜索 TikTok 用户,用于按用户名、昵称或品牌名查找候选用户,返回公开用户资料并支持 page_token 翻页;搜索结果中的 following_count 和 posted_content_count 当前固定为 null;是否继续翻页仅以 next_page_token 是否为空为准。返回用户搜索结果 items;非空的 items[].tiktok_id 可直接传给用户资料和用户作品工具;非空的 items[].profile_url 可直接传给用户资料和用户作品工具;仅使用非空标识调用对应入口。已知准确用户标识且只需上述后续数据时,使用对应入口,无需先搜索。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYeskeyword 为非空搜索词,可传用户名、账号名、昵称、品牌名或机构名,例如 teamtrump、campinglife;不要传用户主页链接、作品链接、用户数字 ID、post_id 或分页令牌 page_token。
page_tokenNo请求分页令牌是不透明令牌。请求的 page_token 为空字符串表示首页;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页 TikTok 用户搜索结果;没有匹配用户时为空数组;是否继续翻页仅以 next_page_token 是否为空为准
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes用户搜索响应分页令牌是不透明令牌。响应的 next_page_token 为空字符串表示没有更多结果;非空时必须将完整令牌原样作为下一次请求的 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词或不同请求链路复用。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnlyHint/openWorldHint annotations: it discloses the data quirk that following_count and posted_content_count are currently null, and states the precise pagination rule (continue only when next_page_token is non-empty). These are non-obvious traits an agent must know.

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

Conciseness4/5

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

Purpose and pagination rule are front-loaded and efficient, but the output-chaining clause is stated twice for tiktok_id and profile_url with near-identical wording, adding mild redundancy to an otherwise dense description.

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 a 2-param read-only search with an output schema, the description is complete: it covers query scope, pagination continuation, known null fields, and how returned identifiers feed sibling tools. Nothing needed to call it correctly is missing.

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%, so keyword and page_token are already fully documented in the schema, including the non-empty pattern and the page_token opaque-token rules. The description reinforces the pagination-continuation rule but adds little parameter meaning beyond the schema, so baseline 3 applies.

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 and resource (搜索 TikTok 用户) and the query types it accepts (用户名、昵称、品牌名). It is clearly distinguishable from siblings like tiktok_search_posts and tiktok_search_suggestions, which target different resources.

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?

Gives explicit when-to-use and, crucially, when-NOT-to-use: if the exact user identifier is already known and only follow-up data is needed, skip the search and call the corresponding entry directly. It also names which downstream tools accept the returned tiktok_id/profile_url, routing the agent precisely.

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