Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_pgy_get_creator_fans_summary

Read-only

根据完整 user_id 获取小红书蒲公英创作者粉丝总数、平台增长指标、活跃、阅读和互动粉丝人数及占比。 查询粉丝规模和活跃情况时使用;年龄、性别、地域和兴趣等构成使用创作者粉丝画像工具。 不支持指定日期或统计周期;增长周期及各统计窗口截止日期未提供,不能按查询日期推算,不承诺指定期间增长数据。 成功直接返回汇总字段和 points;成功调用扣减 20 积分,失败不扣费。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "user_id": "<user_id>"
    },
    "name": "xhs_pgy_get_creator_fans_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。

Output Schema

NameRequiredDescriptionDefault
pointsYes本次成功调用的积分消耗与账户积分余额。
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
follower_countYes蒲公英口径粉丝总数,单位人;未知时为 null
read_follower_ratioYes平台返回的阅读粉丝占比,0.001 表示 0.1%;保留平台精度,分母及统计周期未确认,不能沿用相邻人数字段的 28/30 天周期,不用返回人数复算;未知时为 null
follower_growth_rateYes平台返回的粉丝增长率,0.1 表示 10%;不是粉丝构成占比,不限于 0–1。统计周期和计算基数未明确,不用返回人数复算;未知时为 null
active_follower_ratioYes平台返回的活跃粉丝占比,0.419 表示 41.9%;保留平台精度,分母及统计周期未确认,不能沿用相邻人数字段的 28/30 天周期,不用返回人数复算;未知时为 null
follower_growth_countYes平台返回的粉丝增长数量;统计周期及是否扣除流失未明确,不可直接解释为近 30 天新增关注人数或净增人数;未知时为 null
engaged_follower_ratioYes平台返回的互动粉丝占比,0.1 表示 10%;保留平台精度,0 不表示互动人数一定为 0;分母及统计周期未确认,不能沿用相邻人数字段的 28/30 天周期,不用返回人数复算;未知时为 null
read_follower_count_30dYes平台 30 天统计窗口内的阅读粉丝数,单位人;截止日期未提供,不能按本次查询日期推算起止日期;不是阅读次数;活跃、阅读、互动人数不能假定互斥,不可相加作为总人数;未知时为 null
active_follower_count_28dYes平台 28 天统计窗口内的活跃粉丝数,单位人;截止日期未提供,不能按本次查询日期推算起止日期;活跃判定按平台口径,不等同阅读或互动人数;活跃、阅读、互动人数不能假定互斥,不可相加作为总人数;未知时为 null
engaged_follower_count_30dYes平台 30 天统计窗口内的互动粉丝数,单位人;截止日期未提供,不能按本次查询日期推算起止日期;不是互动次数,具体互动构成按平台口径;活跃、阅读、互动人数不能假定互斥,不可相加作为总人数;未知时为 null

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  2. Changed2 schema fields changed
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额。"New value: +"本次接口完成时看到的当前积分余额,可为负数。"
    • removedOutput schema / properties / points / properties / balance / minimum
      Removed value: -0
  3. Changed11 schema fields changed
    • addedOutput schema / properties / active_follower_count_28d / title
      Added value: +"Active Follower Count 28D"
    • addedOutput schema / properties / active_follower_ratio / title
      Added value: +"Active Follower Ratio"
    • addedOutput schema / properties / engaged_follower_count_30d / title
      Added value: +"Engaged Follower Count 30D"
    • addedOutput schema / properties / engaged_follower_ratio / title
      Added value: +"Engaged Follower Ratio"
    • addedOutput schema / properties / follower_count / title
      Added value: +"Follower Count"
    • addedOutput schema / properties / follower_growth_count / title
      Added value: +"Follower Growth Count"
    • addedOutput schema / properties / follower_growth_rate / title
      Added value: +"Follower Growth Rate"
    • addedOutput schema / properties / read_follower_count_30d / title
      Added value: +"Read Follower Count 30D"
    • addedOutput schema / properties / read_follower_ratio / title
      Added value: +"Read Follower Ratio"
    • addedOutput schema / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / title
      Added value: +"PgyCreatorFansSummary"
  4. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuinely useful non-schema behavior: a 20-credit charge on success, no charge on failure, and the impossibility of period-scoped growth data. It stops short of describing pagination, freshness, or limits on how the growth windows are defined, so the added context is solid but not exhaustive for an open-world paid API.

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?

Four short sentences, front-loaded with the resource and followed by routing, limitations, and billing. Every clause carries distinct information; minor redundancy between '不支持指定日期或统计周期' and the following sentence about growth windows, but it is defensible emphasis.

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, the description rightly does not enumerate return fields beyond noting summary fields and points are returned directly. Combined with cost disclosure, exclusion rules, and the sibling routing hint, an agent has everything needed to call it correctly and to know when not to.

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 coverage is 100% and the user_id property already documents the 24-hex format and the ban on nicknames, Xiaohongshu IDs, profile links, and note IDs. The description reinforces the 'full user_id' requirement but adds no new constraint, which lands it at the baseline for a fully documented single parameter.

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 first sentence names a specific verb and resource set: fetch a Pgy creator's total fan count, platform growth metrics, and active/reading/interacting fan counts and ratios, keyed by full user_id. It also implicitly scopes itself against nearby siblings (fan profile, metrics trend) by naming the metric families it returns.

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?

Explicitly states when to use it (querying fan scale and activity) and names the alternative for demographic/interest breakdowns (创作者粉丝画像工具). It also states a hard exclusion — no date or period parameter — and warns that growth windows are not supplied and cannot be inferred from a query date.

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