Skip to main content
Glama

read_articles_batch

Read up to 5 articles in sequence with built-in 5-second delays to respect rate limits. Returns full text and status for each URL.

Instructions

批量读取多篇文章内容(最多 5 篇,间隔 5 秒)

逐篇请求文章内容,每篇之间自动间隔 5 秒以遵守速率限制。

典型使用流程:

  1. 先用 search_news(include_url=True) 搜索新闻获取多个链接

  2. 再用 read_articles_batch(urls=[...]) 批量读取正文

  3. AI 对多篇文章进行对比分析、综合报告

Args: urls: 文章链接列表(必需),最多处理 5 篇 timeout: 每篇的请求超时时间(秒),默认 30

Returns: JSON格式的批量读取结果,包含每篇的完整内容和状态

Examples: - read_articles_batch(urls=["https://a.com/1", "https://b.com/2"])

Note: - 单次最多读取 5 篇,超出部分会被跳过 - 5 篇约需 25-30 秒(每篇间隔 5 秒) - 单篇失败不影响其他篇的读取

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

由于无注释,描述承担全部行为披露责任。详细说明了自动间隔5秒的速率限制、最多5篇、超时默认30秒、单篇失败不影响其他、预计耗时等,透明性极高。

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?

描述结构清晰:一行摘要、典型流程、参数说明、返回格式、示例、注意事项。每句话都有价值,无冗余,信息密度高。

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?

对于这个相对简单的工具,描述覆盖了输入、行为、限制、错误处理、耗时估计,并配合输出模式无需额外说明,完成度很高。

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?

输入模式中参数无描述(coverage 0%),描述明确解释了urls(必需,列表)和timeout(默认30),并给出示例和限制,完全补偿了模式缺失。

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?

描述明确说明工具用于批量读取多篇文章内容,最多5篇,间隔5秒。与兄弟工具read_article(单篇)形成鲜明对比,使用流程中强调了先search_news再批量读取,目的清晰。

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?

描述了典型使用流程(搜索-批量-分析),暗示了何时使用该工具。但未明确说明在单篇文章场景下应使用read_article,也未列举排除情况,指南性略有不足。

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/cutejhy-code/TrendRadar'

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