Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_pgy_get_creator_fans_profile

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_profile"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
pointsYes本次成功调用的积分消耗与账户积分余额。
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
data_dateYes平台标注的数据日期(YYYY-MM-DD),不代表查询时间或统计起止范围;未知时为 null
age_distributionYes粉丝年龄分布;保留平台年龄区间标签,不推断端点含义;不保证完整,未知时为 null,明确为空时为 []
city_distributionYes平台返回的粉丝城市分布;不保证列出全部城市,不重新归一化或补其他;未知时为 null,明确为空时为 []
device_distributionYes粉丝设备品牌分布;不保证列出全部品牌,不重新归一化或补其他;未知时为 null,明确为空时为 []
gender_distributionYes粉丝性别分布;不推算缺失占比,未知时为 null
region_distributionYes粉丝地域分布;标签可包含省份、中国、海外等,不统一视为省份;不保证完整,未知时为 null,明确为空时为 []
interest_distributionYes粉丝兴趣分布;不保证分类完整或互斥,不用占比之和推算其他兴趣;未知时为 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. Changed14 schema fields changed
    • changedOutput schema / properties / age_distribution / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "label": {
      -          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      -          "type": "string"
      -        },
      -        "ratio": {
      -          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "label",
      -        "ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "label": {
      +          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      +          "title": "Label",
      +          "type": "string"
      +        },
      +        "ratio": {
      +          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "title": "Ratio",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "ratio"
      +      ],
      +      "title": "PgyFansDistributionItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / age_distribution / title
      Added value: +"Age Distribution"
    • changedOutput schema / properties / city_distribution / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "label": {
      -          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      -          "type": "string"
      -        },
      -        "ratio": {
      -          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "label",
      -        "ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "label": {
      +          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      +          "title": "Label",
      +          "type": "string"
      +        },
      +        "ratio": {
      +          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "title": "Ratio",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "ratio"
      +      ],
      +      "title": "PgyFansDistributionItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / city_distribution / title
      Added value: +"City Distribution"
    • addedOutput schema / properties / data_date / title
      Added value: +"Data Date"
    • changedOutput schema / properties / device_distribution / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "display_name": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "设备品牌展示名称;未知时为 null"
      -        },
      -        "name": {
      -          "description": "平台返回的设备品牌名称;不是设备型号",
      -          "type": "string"
      -        },
      -        "ratio": {
      -          "description": "平台返回的占比,0.1 表示 10%;不按已返回品牌重新归一化",
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "name",
      -        "display_name",
      -        "ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "display_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "设备品牌展示名称;未知时为 null",
      +          "title": "Display Name"
      +        },
      +        "name": {
      +          "description": "平台返回的设备品牌名称;不是设备型号",
      +          "title": "Name",
      +          "type": "string"
      +        },
      +        "ratio": {
      +          "description": "平台返回的占比,0.1 表示 10%;不按已返回品牌重新归一化",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "title": "Ratio",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "name",
      +        "display_name",
      +        "ratio"
      +      ],
      +      "title": "PgyFansDeviceDistributionItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / device_distribution / title
      Added value: +"Device Distribution"
    • changedOutput schema / properties / gender_distribution / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "female_ratio": {
      -        "anyOf": [
      -          {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "女性粉丝占比,0.1 表示 10%;未知时为 null"
      -      },
      -      "male_ratio": {
      -        "anyOf": [
      -          {
      -            "maximum": 1,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "男性粉丝占比,0.1 表示 10%;未知时为 null"
      -      }
      -    },
      -    "required": [
      -      "male_ratio",
      -      "female_ratio"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "female_ratio": {
      +        "anyOf": [
      +          {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "女性粉丝占比,0.1 表示 10%;未知时为 null",
      +        "title": "Female Ratio"
      +      },
      +      "male_ratio": {
      +        "anyOf": [
      +          {
      +            "maximum": 1,
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "男性粉丝占比,0.1 表示 10%;未知时为 null",
      +        "title": "Male Ratio"
      +      }
      +    },
      +    "required": [
      +      "male_ratio",
      +      "female_ratio"
      +    ],
      +    "title": "PgyFansGenderDistribution",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / interest_distribution / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "label": {
      -          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      -          "type": "string"
      -        },
      -        "ratio": {
      -          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "label",
      -        "ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "label": {
      +          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      +          "title": "Label",
      +          "type": "string"
      +        },
      +        "ratio": {
      +          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "title": "Ratio",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "ratio"
      +      ],
      +      "title": "PgyFansDistributionItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / interest_distribution / title
      Added value: +"Interest Distribution"
    • changedOutput schema / properties / region_distribution / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "label": {
      -          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      -          "type": "string"
      -        },
      -        "ratio": {
      -          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "label",
      -        "ratio"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "label": {
      +          "description": "平台返回的分类标签;原样保留,不重新划分类别",
      +          "title": "Label",
      +          "type": "string"
      +        },
      +        "ratio": {
      +          "description": "平台返回的占比,0.1 表示 10%;不按已返回分类重新归一化",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "title": "Ratio",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "label",
      +        "ratio"
      +      ],
      +      "title": "PgyFansDistributionItem",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / region_distribution / title
      Added value: +"Region Distribution"
    • addedOutput schema / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / title
      Added value: +"PgyCreatorFansProfile"
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the real behavioral load and does: it discloses that the platform default statistical range is used and custom dates are unsupported, that distributions may be incomplete and must not be used to infer follower counts or fill in missing categories, and that a successful call costs 20 points while failures are free. Those billing and data-quality caveats are exactly the operational facts annotations cannot express.

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?

Four sentences, each with a distinct job: purpose and outputs, when-to-use with two alternatives, statistical caveats, then cost. Purpose is front-loaded and nothing is repeated from the schema or annotations.

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?

An output schema exists, so return values need no prose. For a single-parameter read tool with billing and data-quality caveats covered, an agent has everything needed to decide, call, and interpret the result.

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 forbids nicknames, 小红书号, profile links and note IDs, so the schema does the heavy lifting. The description only reinforces the 'full user_id' requirement without adding new syntax or constraints, which is the baseline-3 case.

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 opening sentence names a specific verb and resource (获取小红书蒲公英创作者粉丝画像) and enumerates the exact dimensions returned: 年龄、性别、地域、城市、兴趣、设备品牌 plus 数据日期. It also requires a full user_id, which separates it from the summary/profile siblings without needing their schemas.

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?

It states positively when to use it (查询粉丝构成时使用) and then explicitly routes two adjacent needs elsewhere: 粉丝规模/增长/活跃/阅读/互动 to the 粉丝汇总 tool, and 创作者资料/报价 to the 创作者档案 tool. Both alternatives are named siblings in the tool list, so the routing is actionable.

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