Skip to main content
Glama
DevinChen2014

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_get_user_info_by_profile_url

Read-only

Retrieve detailed user information from Xiaohongshu (RedNote) by providing a profile URL, short link, or share text. Supports various link formats for flexible data extraction.

Instructions

根据主页链接、短链接或分享文案获取单个小红书用户信息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_urlYes小红书主页链接、短链接或分享文案。支持以下形式:1) xiaohongshu.com/user/profile/... 主页长链;2) xhslink.com / xhslink.cn / xhsurl.com / xhsurl.cn 短链接;3) 包含上述任一链接的完整分享文案。请传主页链接,不要传笔记链接。

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是否为专业号
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 description adds no further behavioral context. It does not mention any additional traits beyond what annotations provide, and there is no contradiction.

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, concise sentence that immediately conveys the tool's purpose with no extraneous content.

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?

For a simple tool with one parameter and an existing output schema, the description is adequate. It does not cover edge cases, but the annotations and schema provide sufficient context.

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%, with the parameter description thoroughly listing supported input formats. The tool description does not add meaningful information 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?

The description clearly states the verb ('获取'), resource ('用户信息'), and the input methods (profile link, short link, share text). It effectively distinguishes this tool from its sibling 'xhs_get_user_info_by_user_id' by specifying the input type.

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 usage when a profile URL is available, but it does not explicitly state when to use this tool versus alternatives like 'xhs_get_user_info_by_user_id'. No exclusions or alternative suggestions are provided.

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