Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

xhs_get_note_sub_comments_by_comment_id

Read-only

根据 note_id 和一级评论 comment_id 获取二级评论;用户已提供完整合法的 ID 组合时直接使用;已有 note_id 或笔记链接但缺少必需 ID 时,调用对应一级评论工具补全;缺少笔记定位信息时向用户索取;支持 page_token 翻页。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYesnote_id 是小红书笔记 ID。已有完整 note_id 时原样使用;否则可从笔记搜索、笔记详情、评论、标签页笔记列表或用户发帖列表结果复制;不得截断、缩写、脱敏、补全、格式化、重组,也不得只传前缀。
comment_idYes一级评论 ID;用户已提供时直接使用,否则可从一级评论结果 items[].comment_id 复制;不要传二级评论项自身的 comment_id。
page_tokenNo分页令牌。首次请求留空;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回。page_token 是不透明分页令牌;只能用于同一 note_id 和 comment_id 的二级评论列表,不能跨笔记或一级评论复用;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。

Output Schema

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

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, so the description does not need to restate safety. It adds behavioral detail about pagination: '支持 page_token 翻页' and instructs to use the same note_id/comment_id for pagination. No contradiction with annotations.

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?

Description is a single, dense sentence using semicolons to separate distinct instructions. All statements are relevant: purpose, usage conditions, and pagination. No fluff, but slightly dense; could be broken into bullet points for clarity. Still efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With output schema present and full parameter documentation, description provides sufficient context: purpose, usage flow, and pagination. It does not discuss error handling or rate limits, but given read-only annotation and existing schema, this is adequate.

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% with detailed descriptions for note_id and comment_id (e.g., '不得截断、缩写、脱敏' etc.). The description adds contextual usage guidance (when to use directly vs. when to call other tools) but does not significantly augment parameter meaning beyond schema. Baseline 3 given high coverage.

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: '根据 note_id 和一级评论 comment_id 获取二级评论' (get sub-comments based on note_id and first-level comment_id). It clearly distinguishes from siblings by mentioning '一级评论' and '二级评论', separating it from tools like xhs_get_note_comments_by_note_id which fetch first-level comments.

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?

Provides explicit when-to-use instructions: '用户已提供完整合法的 ID 组合时直接使用' (use directly when complete IDs provided), and when to call alternative tools: '已有 note_id 或笔记链接但缺少必需 ID 时,调用对应一级评论工具补全' (call corresponding first-level comment tool when missing required ID), and when to ask user: '缺少笔记定位信息时向用户索取'. This clearly routes the agent.

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