Skip to main content
Glama

xhs_read_search_results

Read-only

Reads individual RedNote/Xiaohongshu search results from an existing search by first N or specified ranks, returning each post and summary guidance so the calling model can generate summaries.

Instructions

逐个读取已搜索结果,可选前 N 条或指定序号;返回逐篇原文和总结指引,由调用模型生成总结。

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": {
      "search_id": "<search_id>"
    },
    "name": "xhs_read_search_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
ranksNo
first_nNo
search_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), and the description adds real behavioral context beyond them: results are read one by one, each note's original text plus summarization guidance is returned, and the calling model — not the tool — produces the summary. It omits cost/latency implications of iterating many notes and any limit beyond the 50-item cap.

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?

A single dense sentence with semicolon-separated clauses, front-loading what is read before describing the return contract. No filler, though the chained structure packs three distinct ideas into one line.

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?

With no output schema, the description correctly spends words on the return contract (per-note original text plus summary guidance) and the division of labor with the calling model. It is nearly complete for a 3-parameter read-only tool; only the semantics of search_id's origin and the interaction between the two selection parameters are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the load, and it does explain two of three parameters: first_n as 前 N 条 and ranks as 指定序号. It does not clarify whether first_n and ranks are mutually exclusive or which wins if both are supplied, and it leaves search_id (the required param) implied rather than explained.

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 (已搜索结果), and the requirement for an existing search_id implicitly separates it from the search-performing sibling xhs_search. It does not explicitly name the alternatives, but the purpose is unambiguous.

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 phrasing 已搜索结果 implies it is used after a search has produced a search_id, and it distinguishes the two retrieval modes (first N vs. specific ranks). However, it never states when not to use it, what happens if ranks exceed available results, or which sibling to call to create the search_id in the first place.

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