Skip to main content
Glama
15642875149

TrendRadar

by 15642875149

aggregate_news

Merge similar news reports from multiple platforms into one aggregated item, eliminating duplicates and showing cross-platform coverage and overall popularity. Customize by date range, platforms, similarity threshold, and result limit.

Instructions

跨平台新闻聚合 - 对相似新闻进行去重合并

将不同平台报道的同一事件合并为一条聚合新闻,显示跨平台覆盖情况和综合热度。

Args: date_range: 日期范围,不指定则查询今天 platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 similarity_threshold: 相似度阈值,0.3-1.0,默认0.7(越高越严格) limit: 返回聚合新闻数量,默认50 include_url: 是否包含URL链接,默认False

Returns: JSON格式的聚合结果,包含去重统计、聚合新闻列表和平台覆盖统计

Examples: - aggregate_news() - aggregate_news(similarity_threshold=0.8)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
platformsNo
date_rangeNo
include_urlNo
similarity_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden, which it handles well: it discloses that similar stories get merged, that similarity_threshold controls strictness (越高越严格), and that the result includes dedup statistics, the aggregated list, and platform coverage stats. It does not state its read-only nature explicitly, but all params are query filters, so that is safely inferable.

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?

Well structured: one-line summary, prose explanation, then Args/Returns/Examples sections. The purpose is front-loaded. It is a bit long, but justified because it must carry all parameter documentation that the 0%-coverage schema omits. No wasted sentences.

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?

Covers all parameters, defaults, and return shape (even though an output schema exists, so returns were optional). The only real gap is the date_range value format — the schema allows object or string, and the description just says '日期范围' without specifying accepted formats (e.g., ISO dates, relative strings) — a minor ambiguity for a complex tool with zero schema descriptions.

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 description coverage is 0%, so the description must compensate fully — and it does. The Args block documents all 5 parameters with semantics, valid ranges (0.3–1.0 for similarity_threshold), defaults (50, 0.7, False), and examples (['zhihu', 'weibo']). This is textbook compensation for an empty 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?

States a specific action (deduplicate and merge similar news across platforms into one aggregated item) with a distinct resource (cross-platform news). The first line '跨平台新闻聚合 - 对相似新闻进行去重合并' plus the fuller explanation of merging same-event stories and showing cross-platform coverage clearly separates it from siblings like get_latest_news, search_news, and find_related_news.

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 implies its use case: seeing combined cross-platform coverage with heat and dedup stats rather than raw per-platform lists. However, it never explicitly names alternatives or states when not to use it. Given ~27 sibling news tools, explicit routing (e.g., 'use get_news_by_date for a single day's raw items') would materially help an agent.

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

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