Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_pgy_get_creator_notes

Read-only

根据完整 user_id 分页读取小红书蒲公英作者笔记及阅读、点赞、收藏量和合作品牌名称,支持全部或合作笔记筛选。 获取合作笔记明细时使用;统计摘要使用笔记表现工具,更广的公开历史笔记使用普通用户笔记列表工具。 固定最新排序、全流量,限平台当前可返回的近期范围,不代表全历史,不支持自选日期。 cover_image_url 为列表展示用的笔记封面图 URL;缺失时为 null。 首次省略 page_token,续页原样传回 next_page_token 并保持 user_id、note_scope 不变;空字符串表示结束,每页最多8篇,不保证跨页快照稳定,可按 note_id 去重。 cooperation_brand_name 为本篇笔记的平台标注合作品牌名称;未标注或未提供时为 null,不代表没有合作。计数未知为 null,零值保留。 成功(含空结果)扣减20积分,失败不扣费;返回 items、next_page_token 和 points。

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

Input Schema

NameRequiredDescriptionDefault
user_idYes小红书用户 ID。已有完整 user_id 时原样使用,否则从用户搜索、用户信息或笔记作者信息获取;不要传昵称、小红书号、主页链接或笔记 ID。
note_scopeNo笔记范围:all(默认,包含日常和合作笔记)或 cooperation(合作笔记);均限平台当前可返回的近期范围,不代表全历史all
page_tokenNo首页省略或传空字符串;续页原样传回 next_page_token,并保持 user_id、note_scope 不变;不能与普通用户笔记列表或笔记表现工具的参数混用

Output Schema

NameRequiredDescriptionDefault
itemsYes本页蒲公英笔记明细,最多8篇;无结果时为 []
pointsYes本次成功调用的积分消耗与账户积分余额。
next_page_tokenYes下一页不透明令牌;空字符串表示结束。仅以本字段判断结束,不足8篇也可能有下一页;保持 user_id、note_scope 不变并原样传回。不保证跨页快照稳定,可按 note_id 去重

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint it discloses non-obvious traits: fixed latest-first sorting on full traffic, a platform-imposed recent window that is not full history, no self-selected dates, a hard cost of 20 credits on success (no charge on failure), 8 items per page, and no cross-page snapshot stability. It also defines null semantics for unknown counts versus legitimate zeros and for unlabeled cooperation brands.

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?

Front-loaded with purpose and sibling routing, then progressively denser operational clauses. A few clauses are near-duplicates of the schema wording (page_token restart, null rules), which is slight redundancy but each still earns its place for a costly paginated call.

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 explanation is not needed, and annotations cover safety. The description still supplies the missing operational context an agent needs: cost model, pagination loop termination, snapshot instability, and the meaning of nulls, which is complete for a paid paginated read.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description adds real value by restating the pagination contract (omit page_token first, echo next_page_token verbatim, keep user_id and note_scope fixed, empty string terminates) and the page-size limit and note_id dedupe rule. It does not add much new about note_scope beyond the enum text.

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?

States a concrete verb+resource (paginated read of Pgy creator notes by full user_id) and enumerates the returned metrics and brand field. It also explicitly distinguishes itself from the note-performance summary tool and the ordinary public user-notes list tool, so an agent can pick it without opening the 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?

Gives an explicit when-to-use (cooperation note detail), plus two named alternatives with the condition that selects each (summary stats -> performance tool; broader public history -> ordinary user notes list). It also states the exclusions (no custom date range, recent window only).

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