Skip to main content
Glama
DevinChen2014

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_search_images

Read-only

Search Xiaohongshu (RedNote) images by keyword and return each image with its related note; use page_token to fetch the next page of results.

Instructions

按搜索词搜索小红书图片;已有笔记链接或 note_id,且需要读取该篇笔记详情时,使用对应详情工具。每项为一张图片及关联笔记,同一笔记可返回多张图片;page_token 可用于尝试下一页,不保证下一页有结果;结果按平台相关性排序,不承诺每条内容包含原词,不承诺完整召回;需要图文笔记而非单张图片时使用 xhs_search_notes(note_type="image");需要视频笔记时使用 xhs_search_notes(note_type="video")。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYes搜索词,可传关键词或短语,例如露营、建筑、穿搭;不要传笔记链接、主页链接、note_id、user_id 或 page_token。
page_tokenNo媒体搜索分页令牌,首次请求留空;仅限同一工具、关键词和调用方,不得跨视频、图片或综合笔记搜索复用。将上一页完整 next_page_token 原样传回,不得截断、修改或自行生成。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes图片列表;同一笔记的多张图片分别返回
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
next_page_tokenYes可尝试下一页的不透明分页令牌,不保证下一页有结果;为空表示无法继续翻页。续页保持关键词和调用方不变,并将完整令牌原样传回图片搜索入口。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.6

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only supply readOnlyHint and openWorldHint. The description adds substantial behavior beyond them: each item is an image tied to a note with possible multiple images per note (deduplication semantics), ranking is by platform relevance, exact keyword inclusion is not guaranteed, recall is not guaranteed, and pagination via page_token is best-effort. This is exactly the kind of honest behavioral disclosure the dimension rewards.

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?

Purpose is front-loaded and each clause carries weight (routing to siblings, pagination caveat, ranking/recall caveats). It is a dense run-on paragraph, however, and the multi-clause structure is slightly harder to scan than a bulleted or split form would be.

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 documentation is not needed. Combined with the annotations, the description covers routing, pagination, ranking, and recall limits, leaving nothing an agent needs to call this tool correctly.

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 100%, so both parameters are already documented, giving a baseline of 3. The description adds a genuine nuance beyond the schema on page_token ('可用于尝试下一页,不保证下一页有结果'), clarifying that pagination may yield no results. That extra meaning lifts it above baseline.

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 specific verb+resource+scope (搜索小红书图片 / search Xiaohongshu images by keyword). It explicitly distinguishes itself from sibling tools: detail tools for when a note link/note_id already exists, and xhs_search_notes variants for image-text vs video notes. An agent can route correctly without opening any 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 explicit when-to-use (keyword image search), when-not-to-use (already have link/note_id → detail tools), and names the two concrete alternatives with parameters (xhs_search_notes(note_type="image") and note_type="video"). Nothing is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.