Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_get_product_reviews

Read-only

根据小红书商品 sku_id 获取商品评价;已有该 ID 时直接使用,否则可从 xhs_search_products 获取;支持 sort_type、has_image 和 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容;不支持商品链接、spu_id 或搜索词。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sku_idYes小红书商品 SKU ID。用户已提供时原样使用;否则从 xhs_search_products 的 items[*].sku_id 原样复制。不支持 spu_id、商品链接或搜索关键词。
has_imageNo是否只返回带图片的商品评价
sort_typeNo商品评价排序方式,可选:general(综合,默认)、time_descending(最新评价优先)general
page_tokenNo商品评价分页令牌。首次请求留空;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回。page_token 只能用于同一商品 SKU、排序、图片筛选和调用方的商品评价链路;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页商品评价列表
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes下一页不透明商品评价分页令牌;items 为空时仍应继续翻页;为空表示没有更多结果或当前无法继续翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回。next_page_token 只能用于同一商品 SKU、排序、图片筛选和调用方的商品评价链路;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

TDQS

A4.7/5.0
Behavior5/5

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

The description adds important behavioral detail beyond the readOnlyHint annotation, especially around pagination: the returned next_page_token must be passed verbatim as the next page_token, and pages cannot be truncated, abbreviated, masked, or replaced with ellipses. This is a concrete, actionable constraint that affects correct invocation.

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 appropriately brief and well-ordered: it states the core operation first, then explains how to obtain the ID, then the support parameters and pagination behavior, and finally which inputs are not supported. Every sentence adds useful operational information.

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?

Given that an output schema exists and the annotations already signal read-only and open-world behavior, the description covers all essential invocation details: how to get the required id, how to paginate correctly, and what not to pass. No critical usage gap remains.

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%, so the input schema already documents all parameters. The description largely reinforces the same information, such as sku_id provenance and page_token integrity, without adding significant new meaning beyond what the schema provides.

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 explicitly states the tool's function — 根据小红书商品 sku_id 获取商品评价 — giving a specific verb, resource, and identifier type. It also differentiates from other tools by stating what it does not support: 商品链接、spu_id 和搜索词, and it points to xhs_search_products as the source for missing sku_id values.

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?

The description provides a clear usage rule: 已有该 ID 时直接使用,否则可从 xhs_search_products 获取. This tells the agent when to use this tool directly and when to first call another tool. It also gives a strong when-not cursor by rejecting product links, spu_id, and search terms as inputs.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Most tools are clearly separated by resource and action, but there are many near-duplicate pairs that differ only by ID vs URL input, such as xhs_get_note_detail_by_note_id and xhs_get_note_detail_by_note_url. The pgy note detail tools and standard note detail tools also overlap in purpose, though descriptions note the commercial-data distinction. Overall, an agent can disambiguate with care, but misselection risk is non-trivial.

Naming Consistency4/5

The dominant pattern is xhs_<verb>_<resource>_by_<identifier>, which is predictable and readable. Minor deviations exist: socialdatax_get_points_balance uses a different prefix, xhs_get_note_sub_comments_by_comment_id omits the required note_id from the name, and xhs_get_video_speech_text_job lacks a by_ parameter suffix. These are small inconsistencies rather than chaotic naming.

Tool Count3/5

24 tools is on the heavy side and within the borderline range of 16-25. The count is inflated by ID/URL duplication and separate pgy variants, though the underlying domain (notes, comments, users, products, search, hot lists, video speech, points) is broad. Each tool has a plausible use, but the surface feels larger than necessary.

Completeness4/5

The toolset covers the main read-only Xiaohongshu workflows: note details, comments and sub-comments, user profiles and posted notes, topic notes, product details/reviews, search, hot list, video speech text submission/query, and points balance. Minor gaps exist, such as no direct sub-comments-by-URL tool and product reviews only supported via sku_id, but these are workable through existing flows. No obvious dead ends for typical retrieval use cases.

Resources