Skip to main content
Glama

find_related_news

Discover news articles related to a specific topic or headline by analyzing content similarity, with options to filter by date range and adjust relevance thresholds.

Instructions

查找与指定新闻标题相关的其他新闻(支持当天和历史数据)

Args: reference_title: 参考新闻标题(完整或部分) date_range: 日期范围(可选) - 不指定: 只查询今天的数据 - "today", "yesterday", "last_week", "last_month": 预设值 - {"start": "YYYY-MM-DD", "end": "YYYY-MM-DD"}: 自定义范围 threshold: 相似度阈值,0-1之间,默认0.5(越高匹配越严格) limit: 返回条数限制,默认50 include_url: 是否包含URL链接,默认False(节省token)

Returns: JSON格式的相关新闻列表,按相似度排序

Examples: - find_related_news(reference_title="特斯拉降价") - find_related_news(reference_title="AI突破", date_range="last_week")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reference_titleYes
date_rangeNo
thresholdNo
limitNo
include_urlNo

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 full burden and does well. It discloses key behavioral traits: supports both current and historical data, returns results sorted by similarity, includes token-saving option (include_url defaulting to False), and specifies default values for optional parameters. It doesn't mention rate limits, authentication needs, or potential errors, but covers core operational behavior adequately for a read-only tool.

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?

The description is efficiently structured and front-loaded: purpose statement first, followed by organized parameter explanations, return format, and examples. Every sentence adds value—no redundancy or fluff. The bilingual presentation (Chinese with English parameter names) is consistent and doesn't hinder clarity. It's appropriately sized for a tool with multiple parameters.

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?

For a tool with 5 parameters, 0% schema coverage, no annotations, but with output schema present, the description is complete. It covers purpose, all parameter semantics, return format (JSON list sorted by similarity), and provides examples. The output schema handles return value details, so the description doesn't need to duplicate that. It gives the agent everything needed to select 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?

Given 0% schema description coverage, the description fully compensates by explaining all 5 parameters in detail. It clarifies: reference_title as the target news title (full or partial), date_range options (including presets and custom range format), threshold as similarity score with default and range, limit as result count with default, and include_url as boolean for token conservation. This adds substantial meaning 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 the tool's purpose: '查找与指定新闻标题相关的其他新闻' (find news related to a specified news title). It specifies the verb ('查找' - find) and resource ('相关新闻' - related news), and distinguishes it from siblings like 'search_news' (which likely searches by keywords) or 'get_latest_news' (which retrieves latest news without relation). The inclusion of '支持当天和历史数据' (supports current day and historical data) further clarifies scope.

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 provides clear context for usage: it's for finding related news based on a reference title, with support for date filtering. However, it doesn't explicitly state when NOT to use this tool or name specific alternatives among siblings (e.g., 'search_news' for keyword-based searches or 'get_news_by_date' for date-based retrieval without relation). The examples help illustrate usage but lack explicit exclusion guidance.

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

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