Skip to main content
Glama
rui497

TrendRadar MCP Server

by rui497

search_news

Search hot news and RSS feeds across multiple platforms using keyword, fuzzy, or entity matching. Filter by date and platform, and sort results by relevance, weight, or date.

Instructions

统一搜索接口,支持多种搜索模式,可同时搜索热榜和RSS

建议:使用自然语言日期时,先调用 resolve_date_range 获取精确日期范围。

Args: query: 搜索关键词或内容片段 search_mode: 搜索模式 - "keyword": 精确关键词匹配(默认) - "fuzzy": 模糊内容匹配 - "entity": 实体名称搜索(人物/地点/机构) date_range: 日期范围,格式 {"start": "YYYY-MM-DD", "end": "YYYY-MM-DD"},默认今天 platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 limit: 热榜返回条数限制,默认50 sort_by: 排序方式 - "relevance"(相关度)/ "weight"(权重)/ "date"(日期) threshold: 相似度阈值(仅fuzzy模式),0-1,默认0.6 include_url: 是否包含URL链接,默认False include_rss: 是否同时搜索RSS数据,默认False rss_limit: RSS返回条数限制,默认20

Returns: JSON格式的搜索结果,包含热榜新闻列表和可选的RSS结果

Examples: - search_news(query="AI") - search_news(query="AI", include_rss=True) - search_news(query="特斯拉", date_range={"start": "2025-01-01", "end": "2025-01-07"})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
sort_byNorelevance
platformsNo
rss_limitNo
thresholdNo
date_rangeNo
include_rssNo
include_urlNo
search_modeNokeyword

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses parameter behaviors, defaults, and return format, and notes that threshold only applies to fuzzy mode and include_rss toggles RSS results. However, it omits potential edge cases, pagination behavior, or error conditions, leaving some behavioral aspects implicit for a complex tool.

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?

The description is appropriately structured: a one-line summary, a cross-tool suggestion, a detailed Args list, Returns, and Examples. Each section serves a clear purpose, and the length is justified by the need to document 10 parameters when the schema provides no descriptions. It is front-loaded with the core purpose and does not waste words.

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?

Given the complexity (10 parameters, no schema descriptions), the description is quite complete. It covers all parameters, provides practical examples, and mentions the return structure as JSON with hot list and optional RSS. The presence of an output schema reduces the need to detail return fields, and the guidance to use resolve_date_range addresses a common usage pitfall. Minor gaps remain regarding advanced behaviors, but overall it is sufficient for effective use.

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

Parameters5/5

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

The schema has 0% description coverage, so the description must compensate. It provides thorough explanations for all 10 parameters, including the meaning of search_mode values, the expected date_range format, platform list usage, and defaults for limit, threshold, and include_rss. The examples illustrate realistic parameter combinations, adding substantial semantic value beyond the bare schema.

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 clearly states this is a unified search interface that supports multiple search modes and can simultaneously search hot lists and RSS feeds. The verb 'search' and resource 'news' are specific, and it distinguishes itself from siblings like search_rss and get_latest_news by combining both sources and offering multiple modes.

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 description provides one concrete usage guideline: suggesting a call to resolve_date_range for natural language dates. It implies this is the primary unified search tool, but it does not explicitly state when to prefer it over alternatives like search_rss or get_latest_news, nor does it mention exclusions or fallback scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rui497/my-trendradar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server