Skip to main content
Glama

SocialDataX TikTok MCP

tiktok_get_user_info_by_profile_url

Read-only

根据 TikTok 用户主页链接获取用户公开资料。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_urlYesTikTok 用户主页链接,例如 https://www.tiktok.com/@teamtrump

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.8/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 no safety contradiction exists. The description adds the '公开资料' (public data) scope, which somewhat clarifies behavior, but it does not disclose details such as rate limits, required authentication, or response shape. Given the annotations cover the core safety profile, this is adequate but not rich.

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 one short sentence with no filler, front-loading the core purpose and input requirement. For a single-parameter read-only tool, this length is appropriately concise and every word contributes value.

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?

The tool has one required parameter, an output schema, and annotations indicating read-only/open-world behavior, so the description does not need to explain return values. The description is sufficient for a simple public-profile lookup, though it could slightly strengthen usage guidance by naming the sibling alternative for ID-based lookups.

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?

The input schema already describes profile_url with 100% coverage and includes an example link. The tool description merely refers to 'TikTok 用户主页链接', adding no new parameter meaning beyond what the schema provides. Thus the baseline score of 3 is appropriate.

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 uses a clear verb ('获取', 'get'), a clear resource ('用户公开资料', 'user public profile'), and specifies the input mechanism ('根据 TikTok 用户主页链接'). This directly distinguishes the tool from siblings like tiktok_get_user_info_by_tiktok_id, which operate on a TikTok ID rather than a profile URL.

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 the tool should be used when a TikTok user profile URL is available, but it does not explicitly state when to use it over alternatives or when not to use it. No guidance is given about choosing between this tool and tiktok_get_user_info_by_tiktok_id based on whether the caller has a URL or an ID.

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