Skip to main content
Glama

DataFlow Xiaohongshu (RedNote) MCP

Get Xiaohongshu comments (V2)

xhs_v2_get_comments
Read-onlyIdempotent

Get one page of top-level comments through API Server V2, optionally sorted by newest or hottest. Costs 45 tokens.

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": {
      "noteId": "<noteId>"
    },
    "name": "xhs_v2_get_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOptional comment sort order
startNoLast comment ID from the previous page
noteIdYesXiaohongshu note ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral facts: results come one page at a time and each call costs 45 tokens, which is material for an agent budgeting calls. It still does not say whether the page size is fixed or how the end of pagination is signaled.

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?

Two short sentences with the retrieval scope first and the cost second; nothing is padded. The V2 reference is short and serves version disambiguation.

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?

With no output schema, the description carries the burden of describing return values, and it only says 'comments' without indicating what fields come back or how the caller knows more pages exist. Pagination and cost are covered, but a consumer still has to guess at the response shape.

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 meaning of noteId, sort and start is already documented in structured fields. The description only echoes the sort capability ('newest or hottest') and says nothing about the start cursor's role in pagination, so it adds little beyond the schema.

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 and resource ('Get one page of top-level comments') with the scope narrowed to top-level only, which implicitly separates it from xhs_v2_get_subcomments. An agent can tell what it retrieves and that it is paginated without opening the schema.

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

Usage Guidelines3/5

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

The word 'top-level' implies this is not the tool for reply threads, and the mention of sort options gives a hint about a common use case. But there is no explicit when-to-use or when-not statement, and no sibling is named as an alternative for deeper comment retrieval.

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.