Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

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

Input Schema

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

Output Schema

NameRequiredDescriptionDefault
nameYes创作者昵称;上游未提供时为 null
genderYes创作者性别:male 表示男,female 表示女;无法确认时为 null
pointsYes本次成功调用的积分消耗与账户积分余额。
red_idYes公开小红书号;缺失时为空字符串,不能作为 user_id 使用
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
locationYes创作者资料所在地,不是 IP 属地;缺失时为 null
avatar_urlYes头像地址;缺失时为 null
profile_urlYes由 user_id 生成的用户主页地址
video_priceYes创作者视频笔记合作报价,单位:人民币元;未知时为 null,零值不表示免费合作
feature_tagsYes创作者特征标签;不是主页标签;未知时为 null,明确为空时为 []
picture_priceYes创作者图文笔记合作报价,单位:人民币元;未知时为 null,零值不表示免费合作
follower_countYes蒲公英口径粉丝数,单位人;未知时为 null
note_read_medianYes蒲公英口径笔记阅读数中位数;未知时为 null
content_categoriesYes内容分类;未知时为 null,明确为空时为 []
business_note_countYes商业笔记数;未知时为 null
cooperation_industriesYes合作行业名称列表;未知时为 null,明确为空时为 []
note_interaction_medianYes蒲公英口径笔记互动数中位数;具体互动构成以上游口径为准;未知时为 null
cooperation_note_count_30dYes近 30 天合作笔记数;未知时为 null
received_like_and_collect_countYes获赞与收藏合计;不能拆算为独立点赞数或收藏数;未知时为 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. Changed20 schema fields changed
    • addedOutput schema / properties / avatar_url / title
      Added value: +"Avatar Url"
    • addedOutput schema / properties / business_note_count / title
      Added value: +"Business Note Count"
    • changedOutput schema / properties / content_categories / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "category": {
      -          "description": "一级内容分类",
      -          "type": "string"
      -        },
      -        "subcategories": {
      -          "description": "二级内容分类;明确无二级分类时为空数组",
      -          "items": {
      -            "type": "string"
      -          },
      -          "type": "array"
      -        }
      -      },
      -      "required": [
      -        "category",
      -        "subcategories"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "category": {
      +          "description": "一级内容分类",
      +          "title": "Category",
      +          "type": "string"
      +        },
      +        "subcategories": {
      +          "description": "二级内容分类;明确无二级分类时为空数组",
      +          "items": {
      +            "type": "string"
      +          },
      +          "title": "Subcategories",
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "category",
      +        "subcategories"
      +      ],
      +      "title": "PgyContentCategory",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / content_categories / title
      Added value: +"Content Categories"
    • addedOutput schema / properties / cooperation_industries / title
      Added value: +"Cooperation Industries"
    • addedOutput schema / properties / cooperation_note_count_30d / title
      Added value: +"Cooperation Note Count 30D"
    • addedOutput schema / properties / feature_tags / title
      Added value: +"Feature Tags"
    • addedOutput schema / properties / follower_count / title
      Added value: +"Follower Count"
    • addedOutput schema / properties / gender / title
      Added value: +"Gender"
    • addedOutput schema / properties / location / title
      Added value: +"Location"
    • addedOutput schema / properties / name / title
      Added value: +"Name"
    • addedOutput schema / properties / note_interaction_median / title
      Added value: +"Note Interaction Median"
    • addedOutput schema / properties / note_read_median / title
      Added value: +"Note Read Median"
    • addedOutput schema / properties / picture_price / title
      Added value: +"Picture Price"
    • addedOutput schema / properties / profile_url / title
      Added value: +"Profile Url"
    • addedOutput schema / properties / received_like_and_collect_count / title
      Added value: +"Received Like And Collect Count"
    • addedOutput schema / properties / red_id / title
      Added value: +"Red Id"
    • addedOutput schema / properties / user_id / title
      Added value: +"User Id"
    • addedOutput schema / properties / video_price / title
      Added value: +"Video Price"
    • addedOutput schema / title
      Added value: +"PgyCreatorProfile"
  4. Changed7 schema fields changed
    • changedOutput schema / properties / gender / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "male",
      +      "female"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / gender / description
      Previous value: -"创作者性别文本;缺失时为 null"New value: +"创作者性别:male 表示男,female 表示女;无法确认时为 null"
    • addedOutput schema / properties / name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / name / description
      Previous value: -"创作者昵称"New value: +"创作者昵称;上游未提供时为 null"
    • removedOutput schema / properties / name / type
      Removed value: -"string"
    • changedOutput schema / properties / picture_price / description
      Previous value: -"图文笔记报价,单位:人民币元;未知时为 null,零值不表示免费合作"New value: +"创作者图文笔记合作报价,单位:人民币元;未知时为 null,零值不表示免费合作"
    • changedOutput schema / properties / video_price / description
      Previous value: -"视频笔记报价,单位:人民币元;未知时为 null,零值不表示免费合作"New value: +"创作者视频笔记合作报价,单位:人民币元;未知时为 null,零值不表示免费合作"
  5. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint and openWorldHint, so the safety profile is already covered, but the description adds genuinely non-obvious behavior: a successful call deducts 20 credits, failed calls are free, quote prices are in RMB, and a zero price does not mean free cooperation. That last point is a real interpretation guardrail an agent would otherwise get wrong. It stops short of describing rate limits or caching, which keeps it from a 5.

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 doing distinct work: what is returned, when to use it and which siblings cover the alternatives, unit/zero-value caveats, and the credit cost rule. The payload is front-loaded with the purpose and nothing is repeated. Dense but zero waste for a tool with this much return surface.

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-value detail is correctly omitted, and the description instead covers the things structured fields cannot: billing behavior, price units, zero-value interpretation, and tool routing. For a single-parameter read tool with full schema coverage and annotations, nothing an agent needs in order to call it correctly is missing.

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 single parameter's schema description already specifies the 24-hex format, where to source the ID, and what not to pass (nicknames, Xiaohongshu numbers, profile links, note IDs). The description's '根据完整 user_id' only echoes the completeness emphasis already present in the schema, adding no new meaning. Baseline 3 is appropriate.

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 opens with a specific verb+resource combination ('根据完整 user_id 获取小红书蒲公英创作者档案') and then enumerates exactly what the profile contains: follower/commercial note scale, cooperating industries, median reads and interactions, content categories, feature tags, and image/video quote pricing. It explicitly contrasts itself with the sibling user-info tools ('普通账号资料使用用户信息工具'), so an agent can distinguish this from xhs_get_user_info_by_user_id 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?

It states the primary use case ('查询蒲公英创作者资料和报价时使用') and then routes four adjacent scenarios to their correct siblings: note performance to the notes-performance tool, fan demographics to the fan-profile tool, and date-varying metrics to the trends tool. The non-PGY account case is also excluded explicitly. This is a complete when/when-not/alternative map.

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