Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_search_products

Read-only

搜索小红书商品。用户需要按搜索词查找商品时使用;已有完整 sku_id(包括用户直接提供)时使用商品详情或商品评价工具;支持 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes搜索词,可传商品名、品牌名、品类或商品需求;不要传商品链接、sku_id、spu_id 或 page_token。
page_tokenNo商品搜索分页令牌。首次请求留空;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回。page_token 只能用于同一商品关键词和调用方的商品搜索链路;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Output Schema

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

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already signal read-only and open-world behavior, and the description adds important operational context: pagination is supported and next_page_token must be passed back unchanged. It informs agents of a common failure mode (truncating/masking tokens) and reinforces token reuse constraints, which goes beyond the annotation fields.

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 compact and front-loaded: purpose first, then usage boundaries, then pagination instructions. Every sentence adds useful guidance and there is no filler or vague language.

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?

For a read-only search tool with only two parameters, an output schema, and high schema description coverage, the description fully covers when to use the tool, which alternatives to choose, and how to handle pagination. Nothing needed for correct invocation 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?

The input schema already covers both parameters with descriptions, so baseline is 3. The description repeats the page_token handling rules but does not add materially new parameter-level meaning beyond what the schema already documents.

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 clearly states the tool searches Xiaohongshu products by keyword, using the verb '搜索' with the specific resource '小红书商品'. It also distinguishes itself from product detail and review tools by explicitly saying those should be used when a full sku_id is already available.

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 explicitly states when to use this tool (search-term-based product lookup) and when not to use it (when a complete sku_id exists, use product detail or review tools instead). It also gives precise instructions about page_token continuation, leaving no ambiguity about pagination behavior.

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