Skip to main content
Glama

SocialDataX TikTok MCP

tiktok_get_user_info_by_tiktok_id

Read-only

根据 TikTok 号获取用户公开资料。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tiktok_idYesTikTok 号,即用户主页 @ 后的标识;可直接使用搜索、详情、评论或评论回复结果中 author.tiktok_id 的值;不要带 @,不要传用户主页链接

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioYes用户简介;当前不可用时为空字符串
nameYes用户昵称;当前不可用时为空字符串
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
user_idYesTikTok 用户 ID;长数字字符串,原样保留,不要转为数字;当前不可用时为空字符串;不要用它代替 tiktok_id 或 profile_url
verifiedYes用户是否为认证账号
tiktok_idYesTikTok 号,即用户主页 @ 后的标识;当前不可用时为空字符串,为空时不要作为用户标识使用
avatar_urlYes用户头像链接;当前不可用时为 null
profile_urlYes用户主页链接;当前不可用时为 null
follower_countYes粉丝数;当前不可用时为 null
following_countYes关注数;当前不可用时为 null
private_accountYes用户账号是否为私密账号
received_like_countYes用户作品累计获赞数;当前不可用时为 null
posted_content_countYes用户已发布作品数;当前不可用时为 null

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds only that the data is public ('公开资料'), but does not discuss auth needs, rate limits, or other behavioral traits. This is acceptable for a simple read-only lookup, but adds little beyond the annotations.

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?

The description is a single, front-loaded sentence: it names the action, the resource, and the lookup key in a compact form. There is no filler, and the sentence is immediately informative.

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?

This is a one-parameter, read-only lookup with a rich parameter schema and an output schema, so the definition is mostly complete. The main gap is that the description does not explicitly route the agent to tiktok_get_user_info_by_profile_url for URL-based lookups, which is a natural alternative an agent should know about.

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 the parameter schema already explains tiktok_id thoroughly: it is the @ handle, where to source it, and that @/URLs should not be passed. The tool description itself adds no further parameter meaning, so the baseline of 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?

The description states a specific action (获取/retrieve), a resource (用户公开资料/public profile), and the lookup key (根据 TikTok 号/by TikTok ID). It does not explicitly contrast itself with tiktok_get_user_info_by_profile_url, but the name and the 'by TikTok ID' qualifier make the differentiation reasonably clear.

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?

The description implies when to use the tool: when you have a TikTok ID rather than a profile URL. However, it never names the URL-based sibling tool, and the only exclusion ('不要传用户主页链接') appears in the parameter schema, not in the tool description itself.

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