Skip to main content
Glama

get_latest_news

Fetch aggregated hot news and trending topics from multiple platforms such as Zhihu and Weibo. Control result count and include URLs as needed.

Instructions

获取最新一批爬取的新闻数据,快速了解当前热点

Args: platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 limit: 返回条数限制,默认50,最大1000 include_url: 是否包含URL链接,默认False(节省token)

Returns: JSON格式的新闻列表

数据展示建议

  • 默认展示全部返回数据,除非用户明确要求总结

  • 用户说"总结"或"挑重点"时才进行筛选

  • 用户问"为什么只显示部分"说明需要完整数据

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
platformsNo
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, the description carries the burden and does reasonably well: it discloses parameter defaults and limits (limit max 1000, include_url default False to save tokens), clarifies the return format as JSON, and adds agent-facing display guidance (show all data by default, only summarize on explicit request). It does not mention rate limits, error behavior, or auth, but this is a simple read-style fetch.

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 front-loaded with the primary action and then uses compact sections for Args, Returns, and display suggestions. It is slightly longer than the minimum, but every section earns its place, especially the display guidance which is directly actionable.

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?

With three fully explained parameters and an output schema present, the description gives an agent enough to invoke the tool correctly. It even adds useful presentation context. The main gap is not distinguishing this tool from several news-related siblings, but the name and opening line supply the core 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?

Schema description coverage is 0%, so the description must fully compensate. It does: each parameter is explained with examples and defaults ('platforms' with ['zhihu','weibo'], 'limit' with max 1000, 'include_url' with token-saving rationale). This adds clear meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a clear verb-resource statement ('获取最新一批爬取的新闻数据', get the latest batch of crawled news data) and indicates the purpose of quickly surveying hot topics. It is clear about what the tool does, but it does not contrast with siblings like get_latest_rss, get_news_by_date, or search_news, so it only earns a 4, not a 5.

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 phrase '快速了解当前热点' implies the tool is for a quick look at current news, and the display suggestions instruct the agent on presentation behavior. However, there is no explicit statement of when to use this tool instead of alternatives such as get_news_by_date or search_news, nor any exclusions.

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/17191004/TrendRadar_260829'

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