Skip to main content
Glama

trigger_crawl

Trigger an on-demand crawl of hot topics from selected platforms, with optional local saving and URL inclusion, returning a JSON status report.

Instructions

手动触发一次爬取任务(可选持久化)

Args: platforms: 平台ID列表,如 ['zhihu', 'weibo'],不指定则使用所有平台 save_to_local: 是否保存到本地 output 目录,默认 False include_url: 是否包含URL链接,默认False(节省token)

Returns: JSON格式的任务状态信息,包含成功/失败平台列表和新闻数据

Examples: - trigger_crawl(platforms=['zhihu']) - trigger_crawl(save_to_local=True)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformsNo
include_urlNo
save_to_localNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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. It discloses optional local saving, token-saving behavior of include_url, and the return status format. However, it does not clarify what happens to data when save_to_local is False, whether the crawl writes to system storage, or operational traits like runtime and failure behavior.

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 well-organized with Args, Returns, and Examples sections. It is concise, front-loaded with the core purpose, and every section adds practical value. The examples are useful without being redundant.

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?

For a tool with three optional parameters, an output schema, and no required params, the description covers all parameter semantics, defaults, and return behavior. Minor gaps remain around what 'optional persistence' means when save_to_local is False and how the tool should be selected over sibling sync tools, but overall it is sufficiently complete for invocation.

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%, but the description fully compensates by explaining all three parameters: platforms with example values and default-all behavior, save_to_local as optional persistence, and include_url as a token-saving toggle. This adds meaning well beyond the bare boolean/array 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?

Description states a specific verb and resource: manually triggering a crawl task, with optional persistence. It is clearly distinguished from sibling tools like get_latest_news or sync_from_remote by the concept of triggering a crawl.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given about when to use this tool versus alternatives such as sync_from_remote or scheduled crawling. The examples show valid invocations but do not state conditions, exclusions, or when another tool should be preferred.

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