Skip to main content
Glama
xhh-im

TrendRadar

by xhh-im

get_trending_topics

Retrieve frequency statistics for your personal focus words in news headlines, with options for daily or current data.

Instructions

获取个人关注词的新闻出现频率统计(基于 config/frequency_words.txt)

注意:本工具不是自动提取新闻热点,而是统计你在 config/frequency_words.txt 中 设置的个人关注词在新闻中出现的频率。你可以自定义这个关注词列表。

Args: top_n: 返回TOP N关注词,默认10 mode: 模式选择 - daily: 当日累计数据统计 - current: 最新一批数据统计(默认)

Returns: JSON格式的关注词频率统计列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNocurrent
top_nNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description fully handles transparency. It explains the tool is read-only, processes a config file, and does not mutate data. Slight gap: no mention of behavior if config file is missing, but overall transparent.

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?

Concise, front-loaded main purpose, then note, then parameter details in bullet format. No redundant sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a simple tool with 2 optional parameters. Explanation of return format (JSON) and parameter defaults. No missing critical context.

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?

Input schema has 0% description coverage, but description fully explains both parameters: mode (daily/current with defaults) and top_n. Adds meaning beyond schema structure.

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?

Description clearly states the tool retrieves news frequency statistics for personal watchwords from a config file. It distinguishes from sibling tools like analyze_topic_trend or get_latest_news by specifying it is not automatic hotspot extraction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly notes when to use (personal watchwords) and when not (not for automatic hotspot extraction) and provides customization guidance. This is clear and actionable.

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/xhh-im/TrendRadar'

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