Skip to main content
Glama
YangLang116

TrendRadar

by YangLang116

get_trending_topics

Analyzes your specified keywords in news articles to return their occurrence frequency statistics.

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
top_nNo
modeNocurrent

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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 that the tool reads from a config file, operates in two modes (daily and current), and returns a JSON list. It is clear about the read-only nature and data source, though it omits details like sorting or pagination.

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 multi-paragraph but well-structured with a note, Args, and Returns sections. It is slightly verbose for a simple tool, but the structure aids readability.

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?

The description covers the data source, behavior, parameters, and return format. Given the available output schema, it is mostly complete, though some behavioral details (e.g., sorting) are missing.

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?

Schema coverage is 0%, but the description fully explains both parameters: top_n (default 10, return top N) and mode (daily or current, default current). This adds complete meaning beyond the 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 the verb '获取' (get) and the resource '个人关注词的新闻出现频率统计'. It explicitly distinguishes itself from auto-extracting hot topics, which differentiates it from siblings like 'analyze_topic_trend'.

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?

The description provides explicit guidance on when to use the tool: it is for counting user-defined keywords from a config file, not for automatic hotspot extraction. It also explains how to customize the config file, offering clear context.

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

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