Skip to main content
Glama

获取小红书笔记评论

get_note_comments

Pulls a Xiaohongshu note's comments, including nested replies, so you can read extra tips and answers that guides and other posts accumulate below the main body.

Instructions

拉取笔记评论(含楼中楼),攻略类笔记评论区常有重要补充信息。note_id/xsec_token 来自 search_notes 结果。

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": {
      "note_id": "<note_id>"
    },
    "name": "get_note_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回条数,默认 30
note_idYes笔记 ID
xsec_tokenNo来自 search_notes / get_chat_notes 结果的 xsec_token
xsec_sourceNotoken 来源:search_notes 默认 pc_search;私信分享的笔记传 app_share

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses that threaded replies are included and that it is a read-style fetch, but says nothing about ordering (hot vs. newest), pagination beyond the limit cap, login requirements, or what a response contains. Useful but partial disclosure for an unannotated tool.

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?

Two short sentences, front-loaded with the action and the key scope caveat (含楼中楼), followed by parameter provenance. No filler, though the second sentence largely duplicates schema text.

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

Completeness3/5

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

The tool has four parameters, no output schema, and no annotations, so the description is the only place to explain what comes back. It covers purpose and input provenance but leaves the return shape (comment text, author, likes, sub-comment structure) and result ordering unstated.

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 all four parameters are already documented in the schema, including the xsec_token provenance. The description restates the note_id/xsec_token source from search_notes without adding new meaning (e.g., what xsec_source=app_share changes, or how limit interacts with nested replies). Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource (拉取笔记评论) and adds scope detail that matters — it includes threaded replies (含楼中楼). It doesn't explicitly distinguish itself from get_note_detail, which an agent might reasonably assume returns comments alongside the note, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a concrete usage context — comment sections on guide-type notes often carry important supplementary information — which tells the agent when this call is worth making. It offers no when-not guidance or named alternative, so it is clear context without exclusions.

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