Skip to main content
Glama

SocialDataX 百度贴吧 Baidu Tieba MCP

baidu_tieba_get_user_info_by_profile_url

Read-only

通过百度贴吧用户主页链接读取资料、签名、粉丝数、关注数、累计获赞、吧龄和 IP 属地。

已有 profile_url 时优先使用本工具;链接可取搜索、帖子详情或评论作者的同名字段。 仅有数字用户 ID 时使用 baidu_tieba_get_user_info_by_user_id;不返回发帖或回复列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_urlYes百度贴吧用户主页完整链接,形如 https://tieba.baidu.com/home/main?id=…;可取搜索、详情或评论作者的 profile_url,不接受数字用户 ID、昵称或帖子链接。

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.5/5.0
Behavior4/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 useful context beyond that: the exact set of returned profile fields and the negative disclosure that post/reply lists are not returned. It does not mention auth requirements or rate limits, so it is strong but not exhaustive.

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?

Three compact sentences with the core verb and returned fields front-loaded, followed by routing guidance. Dense but every sentence carries routing or scope value; nothing is redundant padding.

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?

With an output schema present, the description need not explain return values, and annotations cover safety. Along with the routing rules and URL sourcing, an agent has everything needed to call it correctly; only minor operational details (auth, limits) are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema itself documents the expected URL form and rejects numeric IDs, nicknames, and post links. The description goes further by telling the agent where to obtain a valid profile_url (search, post detail, or comment author fields), adding source guidance beyond the schema.

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 (百度贴吧用户主页资料) and enumerates exactly which fields are returned (资料、签名、粉丝数、关注数、累计获赞、吧龄、IP 属地). It explicitly contrasts itself with baidu_tieba_get_user_info_by_user_id, so an agent can distinguish it from the sibling 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 explicit when-to-use ('已有 profile_url 时优先使用本工具'), where the URL can be sourced from (搜索、帖子详情或评论作者的 profile_url 字段), and names the alternative plus its triggering condition (仅有数字用户 ID 时使用 by_user_id). It also states a scope exclusion (不返回发帖或回复列表).

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