Skip to main content
Glama

小红书搜索笔记

search_notes

Search Xiaohongshu notes by keyword and return a list with titles, authors, likes, note IDs, tokens, and links. Pass the returned note ID and token to fetch full details.

Instructions

按关键词搜索小红书笔记,返回笔记列表(标题、作者、点赞数、note_id、xsec_token、链接)。获取详情需把返回的 note_id 和 xsec_token 传给 get_note_detail。

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": "search_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回条数,默认 20
keywordYes搜索关键词,如"喀纳斯 攻略"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the burden. It usefully discloses the shape of the result and the non-obvious fact that xsec_token is a downstream credential needed by get_note_detail, which is real behavioral value. However, it says nothing about ordering, pagination beyond the schema's limit, rate limits, or login requirements, leaving important behavior undocumented.

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 sentences, zero filler. The core search action and returns come first, and the follow-up routing to get_note_detail comes second, which matches the order in which an agent needs the information.

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?

There is no output schema, so enumerating the returned fields is exactly the right compensation, and the xsec_token hand-off note closes the biggest gap. What remains absent is guidance on result ordering or pagination behavior, which keeps it from a 5.

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 both 'keyword' (with an example) and 'limit' (default 20, max 50) are already documented in the schema. The description adds no syntax, format, or constraint information beyond that, so the baseline of 3 applies.

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 gives a specific verb and resource ('按关键词搜索小红书笔记') and immediately enumerates the returned fields (标题、作者、点赞数、note_id、xsec_token、链接), so an agent knows exactly what it gets. It also names the sibling tool used for a different purpose (get_note_detail), making the boundary unambiguous.

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 explicitly routes the agent: use this tool for keyword search, and if details are needed, call get_note_detail with the returned note_id and xsec_token. That is a clear when-to-use and hand-off rule. It stops short of stating exclusions or when a different sibling (e.g. get_chat_notes) is preferable, so it is not a full 5.

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