Skip to main content
Glama

get_trending_topics

Track the frequency of your custom keywords in news articles, returning daily or latest statistics to identify topic prominence.

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?

With no annotations provided, the description carries the full burden. It discloses that the tool reads from a config file (config/frequency_words.txt) and is not auto-extracting, which adds transparency. While it does not mention rate limits or side effects, the tool appears to be read-only and non-destructive, making this level of disclosure adequate.

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 reasonably concise, with the main behavior explained in one sentence followed by parameter details. However, it includes a note about not being auto-extraction that could be integrated more tightly. Still, it is clear and well-structured.

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?

Given the tool only has two optional parameters and an output schema (implies return structure is documented), the description covers the source of words, the two modes, and the return format. It is complete for an agent to understand and invoke the tool correctly.

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 input schema has 0% description coverage (no field descriptions), but the tool description fully explains both parameters: top_n returns top N words (default 10) and mode has daily (cumulative day) and current (latest batch) options. This adds significant meaning beyond the schema types and defaults.

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 it retrieves frequency statistics for user-defined personal focus words from a configuration file, distinguishing it from automatic hot topic extraction. The verb '获取' (get) and resource '关注词的新闻出现频率统计' (news appearance frequency statistics of focus words) are specific and 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?

The description explicitly clarifies that this tool is not for automatic hot topic extraction but for custom word frequency statistics, providing context on when to use it. However, it does not mention alternative sibling tools like analyze_topic_trend or search_news, which could be used for related but different purposes.

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/lizouzt/TrendRadar'

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