Skip to main content
Glama

Finewisdom 社媒与电商数据接口

xhs_note_search

Read-onlyIdempotent

通过关键词搜索小红书笔记,支持排序和筛选。返回笔记列表,含每条内容ID与基础互动数据。做关键词监测、内容发现或构建候选集时用,ID可继续调详情与评论接口。单价¥0.2/次,仅成功调用计费,失败或空结果自动退回。

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": {
      "keyword": "<keyword>"
    },
    "name": "xhs_note_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo页码(默认 1)
_tokenNo备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。
keywordYes搜索关键词
note_timeNo笔记时间
note_typeNo笔记类型
sort_typeNo排序方式

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _token / description
      Previous value: -"备用鉴权:fw_ 开头的 token(推荐改用 HTTP Header X-FW-Token,二选一)"New value: +"备用鉴权:fw_ 开头的 token。推荐改用 HTTP Header X-FW-Token。"
  2. 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 primary safety burden is met. The description adds genuinely non-redundant context: what comes back (content ID plus base interaction data) and the billing model (¥0.2 per call, charged only on success, refunded on failure or empty result). It does not discuss pagination behaviour or result-size limits, which matters since a page parameter exists.

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?

Four tight sentences ordered purpose → output → use case → cost, with zero filler and the highest-value routing hint (ID enables detail/comment calls) placed before the pricing note. Effectively front-loaded; only the pricing sentence could arguably be compressed.

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?

For a six-parameter read tool with no output schema, the description covers purpose, result shape, downstream chaining and cost, which is most of what an agent needs. The remaining gap is operational: pagination semantics, how to deepen the search beyond page 1, and any cap on returned items are 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 the schema already documents every parameter and a baseline of 3 applies. The description's 'supports sorting and filtering' loosely maps to sort_type, note_type and note_time but supplies no accepted values or format hints, and the terse schema strings ('排序方式', '笔记时间') leave value space unclear.

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?

States a specific verb and resource (keyword search over Xiaohongshu notes) plus supported capabilities (sorting, filtering) and what the call yields (note list with content ID and basic engagement metrics). The distinction from siblings is implied by 'build a candidate set' followed by 'use the ID to call detail and comment APIs', but it never names xhs_user_notes or xhs_note_detail directly.

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?

Gives concrete when-to-use framing: keyword monitoring, content discovery, and candidate-set construction, plus the explicit follow-on step of feeding returned IDs to the detail/comments tools. No exclusion guidance is offered (e.g. that xhs_user_notes should be used when the entry point is an author rather than a keyword), so the alternative path 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.