Skip to main content
Glama

SocialDataX 百度贴吧 Baidu Tieba MCP

baidu_tieba_get_user_info_by_user_id

Read-only

仅有百度贴吧数字用户 ID 时读取用户资料及主页统计;已有 profile_url 时优先使用 baidu_tieba_get_user_info_by_profile_url。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes百度贴吧数字用户 ID,可取搜索、帖子详情或评论作者的 user_id;不是主页链接中的 portrait 或 tieba_uid。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioYes用户个人签名;未提供时为空字符串。
nameYes用户显示名称。
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
user_idYes用户 ID,以字符串表示,可用于查询用户资料。
tieba_ageYes贴吧展示的吧龄,单位年,保留显示精度,例如 9.2;不是注册日期。
avatar_urlYes用户头像链接。
ip_locationYes用户资料显示的 IP 属地。
profile_urlYes用户主页链接,可用于再次查询用户资料。
follower_countYes粉丝数。
following_countYes关注数。
received_like_countYes累计获赞数。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 and network profile is known. The description adds only that the result includes homepage statistics plus the ID-type precondition; it does not mention rate limits, auth, or failure modes for a nonexistent ID. Adequate but thin against an already-covered annotation set.

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?

A single compact sentence that front-loads the positive case (numeric ID present) before the routing rule to the sibling. No filler, no repetition of the tool name's obvious meaning.

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?

With an output schema present, return values need no explanation; with annotations covering safety, behavior is covered. The description supplies exactly the two things structured data cannot: the ID-type precondition and the sibling routing rule.

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 single parameter is fully documented there, including the regex pattern and the explicit warning that portrait/tieba_uid are not valid. The description only restates the 'numeric ID' precondition, adding nothing the schema lacks. 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+resource ('read user profile and homepage stats') and explicitly names the sibling it is not, distinguishing it from baidu_tieba_get_user_info_by_profile_url. An agent can select it without opening either 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?

Gives an explicit when: only when you hold the numeric user ID. Gives an explicit alternative: use baidu_tieba_get_user_info_by_profile_url when a profile_url is available. This is textbook when/when-not/alternative guidance.

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