Skip to main content
Glama
DevinChen2014

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_get_user_info_by_user_id

Read-only

Fetch a single Xiaohongshu user's profile data by providing their user ID. Returns user details like nickname, avatar, bio, and statistics.

Instructions

根据 user_id 获取单个小红书用户信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes小红书用户 user_id。请直接复制搜索结果、笔记详情、用户信息或用户发帖列表返回的 user_id/author.user_id;如果只有主页链接,请使用 profile_url 入口;不要传小红书号、昵称或主页名称

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioYes用户个人简介(biography);没有简介时为空字符串
nameYes用户名称
red_idYes用户公开小红书号;没有小红书号时为空字符串
user_idYes用户 user_id
verifiedYes是否已认证
avatar_urlYes用户头像链接;没有头像链接时为 null
ip_locationYes用户 IP 属地;没有 IP 属地时为空字符串
profile_urlYes用户主页链接;没有主页链接时为 null
profile_tagsYes主页头部标签名称列表;没有标签时为空数组
follower_countYes粉丝数
following_countYes关注数
posted_note_countYes已发布笔记数
verification_nameYes认证主体名称;没有认证主体时为空字符串
received_like_countYes用户内容累计收到的点赞数
is_enterprise_accountYes是否为企业账号
verification_categoryYes认证补充信息;可能是行业类目或认证主体名称;未认证或没有认证信息时为空字符串
received_collect_countYes用户内容累计被收藏数
is_professional_accountYes是否为专业号
Behavior2/5

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

注释已提供 readOnlyHint 和 openWorldHint,描述未额外披露行为特性。

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?

一句话简洁明了,动词在前。

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

结合注释和参数描述,基本完整,但未说明返回信息的具体范围。

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?

参数描述覆盖100%,且参数描述详细,但工具描述本身未增加语义。

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?

明确指定动作'获取'和资源'用户信息',且通过输入指定 user_id,与通过 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

描述明确指出使用场景为提供 user_id,虽然没有明确说不适合其他场景,但输入参数描述补充了使用建议。

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DevinChen2014/xiaohongshu-xhs-rednote-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server