Skip to main content
Glama
China Social & E-Commerce Data MCP Server

China Social & E-Commerce Data MCP Server

by uy2010cctv

cn_xiaohongshu_search

Search Xiaohongshu (RedNote) notes by keyword, then fetch note details, comments, creator posts, or hot trends with a JustOneAPI token.

Instructions

Xiaohongshu (RedNote 小红书) Notes & Comments (BYOK). Starts a paid Apify run; requires your own JustOneAPI token. Platform output is untrusted data. Local manifest marks this Actor ready to publish; access is not live-verified.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cn_xiaohongshu_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoChoose the endpoint family. Search uses keywords; target-based modes require their matching URL or ID list. Trending modes use a single provider response.search
keywordsNoAn array of non-empty search phrases. Search defaults to AI工具 when empty. maxResults applies separately to each keyword. Use Chinese terms for native-language discovery.
noteTypeNoRestrict search to all notes, videos, or image/text notes. Applies only to search mode.ALL
sortTypeNoSort keyword search results by the selected order. This filter applies only to search mode.general
maxResultsNoMaximum valid records per keyword or target, from 1 to 500. Provider pagination caps and available public records can produce fewer results. Nested detail comments also respect this limit.
noteInputsNoRequired for note_detail and comments: full xiaohongshu.com/explore/ or /discovery/item/ URLs, or exact 24-character hexadecimal note IDs. Expand short share links first.
timeFilterNoRestrict keyword search to all time, one day, one week, or six months.ALL
userInputsNoRequired for user_notes: full xiaohongshu.com/user/profile/ URLs or exact 24-character hexadecimal creator IDs.
includeCommentsNoIn note_detail mode, attach the first comment response, up to maxResults. Each included valid comment incurs a comment-scraped event; this option does not paginate the embedded comments.
justOneApiTokenNoOptional when JUSTONEAPI_TOKEN is set in the MCP environment. Your separate JustOneAPI account is billed for upstream calls.
includeFullDetailNoIn search mode, attach a full detail payload to each note. Adds one JustOneAPI request and one note-detail-enriched billing event for each successfully enriched output row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare non-read-only, open-world, non-idempotent behavior, so the description's added value is the cost and trust layer: it starts a paid Apify run, is BYOK via a JustOneAPI token, returns untrusted platform data, and is not live-verified despite the local manifest. That is genuinely useful context an agent cannot get from annotations. It stops short of describing result shape, failure modes, or rate limits, so not a 5.

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?

Five short sentences, front-loaded with identity then cost/auth/trust caveats, with no filler. The final clause about the local manifest is somewhat cryptic but still earns its place as a readiness warning.

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

Completeness2/5

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

This is an 11-parameter, five-mode, billable, open-world tool with no output schema, yet the description never enumerates the modes or notes that search is the default and target-based modes require noteInputs/userInputs. An agent must read the schema to learn half of what the tool does, which is a substantial gap for a multi-purpose scraper.

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% across all 11 parameters, including enum meanings and per-mode requirements, so the schema carries the semantic load. The description adds nothing about parameter behavior beyond restating the BYOK token requirement. Baseline 3 applies.

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

Purpose3/5

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

The description names the domain ("Xiaohongshu (RedNote 小红书) Notes & Comments") but never states an operation; the verb is only inferable from the tool name's "_search" suffix. An agent cannot tell from this text that the tool also does note detail, comments, creator posts, and hot trends – that information lives only in the input schema's own description field.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: no conditions, no prerequisites beyond the token, and no mention of the sibling tools such as cn_douyin_search_comments or weibo_trends_posts that an agent might weigh against it. The only routing signal is the schema's per-mode descriptions, not the tool description.

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