Skip to main content
Glama

community_search

community_search
Read-only

Search Reddit, X, Bilibili, Zhihu, and Xiaohongshu in one call, normalize platform evidence, and save or restore private result snapshots for later review.

Instructions

Search Reddit, X, Bilibili, Zhihu and Xiaohongshu using SearchBoost adapters. platform_options holds independent nullable platform parameters; explicit values override common inputs. Each platform normalizes and filters its own evidence and retains versioned platform data. Direct results are snapshot pages: page_size defaults to 5 and cursor reads add zero network calls; save_results explicitly enables private persistence and saved_result_id restores historical evidence without refresh. X retains keyword/semantic/account/thread modes; Reddit uses bounded archive collection and local retrieval; Chinese platforms support explicitly configured read-only browser adapters and honest public web-index candidates, with integrated native search/detail retrieval using SearchBoost-owned browser sessions, and an optional Bilibili public API. Bilibili native retrieval prioritizes public notes/articles/opus text and optionally samples comments; no video transcription. Results preserve source evidence and identify the backend, retrieval mode and partial failures. A sample or incomplete thread does not establish complete coverage or platform-wide sentiment. Search does not register, install or enable backends.

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

Input Schema

NameRequiredDescriptionDefault
typeNoDefault keyword. X supports all four operations; other selected backends disclose unsupported operations. platform_options may override per platform.
modelNoOptional driving model for the existing hosted X path.
queryNoCommon search query; user mode also accepts a handle here. May be omitted if selected platforms supply their own queries. null/omitted uses the inherited value or platform default.
cursorNoRead an existing community result page, with optional page_size only; zero network, no reprocessing.
enginesNoSelected platforms: Reddit, X, Bilibili, Zhihu and Xiaohongshu. Diagnostics disclose archive, public API, browser or web-index retrieval.
post_idNoX post id or status URL for thread mode; per-platform overrides live in platform_options.
to_dateNoDate or timezone-qualified ISO timestamp; inclusive bounds. null/omitted uses the inherited value or platform default.
usernameNoX account handle; user identity or a verified keyword/semantic author constraint.
from_dateNoDate or timezone-qualified ISO timestamp; inclusive bounds. null/omitted uses the inherited value or platform default.
max_pagesNoReddit collector total page budget across all scopes, default 6; each page at most 100 archive posts. Private checkpoints resume on later calls.
page_sizeNoReturned page size, default 5; does not change the total max_results or acquisition budget.
subredditsNoExplicit Reddit scope. Otherwise use backend scopes or bounded web-index scope discovery.
max_resultsNoFinal total result limit; default 5, max 30.
save_resultsNoExplicitly save public evidence and diagnostics in a private community snapshot; default false. No backend config or credentials.
saved_result_idNoRestore a private saved community snapshot; optional page_size only. Historical evidence is not refreshed.
platform_optionsNoIndependent selected-platform parameters. Non-null values override common fields; null inherits/defaults. No credentials or endpoints. null/omitted uses the inherited value or platform default.
reasoning_effortNo
allowed_x_handlesNo
excluded_x_handlesNo

Output Schema

NameRequiredDescriptionDefault
itemsYes
reusedNo
statusYes
resultsYes
took_msYes
channelsYes
warningsYes
expires_atNo
historicalNo
captured_atNo
next_cursorNo
page_resultsNo
total_resultsNo
schema_versionYes
saved_result_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

A3.9/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that cursor reads cost zero network calls, that persistence is opt-in and private and never touched by the backend, that retrieval backends differ per platform (X modes, Reddit bounded archive, browser adapters for Chinese platforms), that Bilibili has no video transcription, that partial failures are surfaced, and that 'Search does not register, install or enable backends.' That is substantial disclosure of side effects and limits beyond readOnlyHint/openWorldHint. One nuance worth flagging to a reader (not a contradiction): save_results writes a private snapshot even though readOnlyHint=true, and the description makes clear this is local persistence, not external mutation, so the annotations remain coherent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is a clean, front-loaded statement of purpose, but the body degrades into long run-on sentences stacking backend internals (archive collection, browser sessions, public web-index candidates) with behavioral caveats. Most content earns its place, yet the density and repetition make it harder to scan than a tool this broad needs to be.

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 19-parameter, five-backend tool with an output schema and annotations, the description covers the otherwise invisible pieces: override precedence, pagination-versus-budget distinction, snapshot persistence, per-platform capability differences, and the evidence caveat that a sample does not establish platform-wide sentiment. A short note on behavior when no engine is selected would close the remaining gap.

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 84%, so the schema already carries most parameter meaning and the baseline would be 3. The description adds the precedence model that the schema only implies structurally – non-null platform_options values override common inputs, nulls inherit or default – and clarifies that page_size is result pagination distinct from max_pages/max_results acquisition budgets.

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?

Opens with a concrete verb and resource set: search Reddit, X, Bilibili, Zhihu and Xiaohongshu through SearchBoost adapters. The scope is unmistakable, but the description never contrasts itself with the sibling retrieval tools (fused_search, search_layer, fetch_page), so an agent must infer the boundary rather than read it.

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?

Usage guidance exists but is embedded rather than stated as rules: cursor reads are for re-reading an existing page with zero network, saved_result_id restores a snapshot, save_results opts into private persistence. There is no explicit 'use this instead of X when Y' statement and no prerequisite or exclusion section, leaving the sibling choice to inference.

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