Skip to main content
Glama
This connector has been deprecated

Replaced by echopai-mcp.

Duplicate listing; superseded by io.github.echopai/echopai-mcp (official MCP Registry entry).

events

前瞻催化事件日历与单股时间线(财报/解禁/回购/除权/宏观/政策/科技大会等)。显式支持 mode=upcoming(全市场或 codes 未来窗口)与 mode=timeline(单股 canonical_code 过去+未来时间轴)。字段为 event_kind、expected_on、date_precision(仅 day 精确到日,否则为窗口起点)。详见 read_guide(guide="data")。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "events"
  }
}

Input Schema

NameRequiredDescriptionDefault
_jqNoJMESPath,对 data 求值(写 items[*].id)
daysNo仅 upcoming 模式:未来天数(1-180,默认 14;传 date_to 时忽略)
modeNo显式方向:upcoming(未来窗口,可传 codes)或 timeline(单股过去+未来时间轴,需 canonical_code)
codesNo仅 upcoming 模式:逗号分隔规范代码(最多 200)过滤持仓或单票
kindsNo仅 upcoming 模式:逗号分隔 event_kind(支持前缀通配如 macro.*)
limitNo返回条数(upcoming 1-1000 默认 200;timeline 每侧 1-500 默认 100)
scopeNo仅 upcoming 模式:事件范围过滤
_spillNotrue=全量落盘,只回摘要与取数地址
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
date_toNo仅 upcoming 模式:结束日 YYYY-MM-DD(跨度上限 180 天)
statusesNo仅 upcoming 模式:逗号分隔状态集合(默认 scheduled,postponed)
date_fromNo仅 upcoming 模式:起始日 YYYY-MM-DD(默认今日)
past_daysNo仅 timeline 模式:回看过去天数(1-365,默认 90,库内保留 90 天)
precisionNo仅 upcoming 模式:day=精确到日,fuzzy=周期窗口
_max_bytesNo响应字节上限,默认约 50 KB
upcoming_daysNo仅 timeline 模式:前瞻未来天数(1-365,默认 180)
canonical_codeNo仅 timeline 模式:单票规范 A 股代码(如 SSE:600519)
importance_minNo仅 upcoming 模式:最低重要度(1-5,默认 1)
_max_bytes_modeNo正文超限处理,默认 truncate 保留前缀

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The description adds real semantic context beyond the annotations: date_precision means day-level only when `day`, otherwise the value is a window start, and the timeline keeps only 90 days of history. Annotations already declare the safety profile (destructive=false, openWorld=false), and readOnlyHint=false is defensible because `_spill` persists results to disk, so there is no contradiction. It still says nothing about ordering, truncation behavior under `_max_bytes`, or how partial/estimated dates behave.

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?

A single dense paragraph that front-loads purpose, then the two modes, then output-field semantics, then a read_guide pointer. No filler, though the parenthetical event-type list and the field clause make it longer than strictly needed.

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 20-parameter tool with no required parameters and no output schema, the description supplies the missing return-value orientation by naming `event_kind`, `expected_on` and `date_precision` semantics, and it explains how to choose a mode. The main remaining gap is that it does not clarify how the two modes' date windows relate or what a result set looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so every parameter, its ranges, defaults and mode applicability are already documented; baseline 3 applies. The description reinforces the mode/parameter coupling but adds no format or syntax detail the schema lacks, and its field notes (`event_kind`, `expected_on`) describe output rather than inputs.

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?

States a specific resource and scope: a forward-looking catalyst event calendar plus a single-stock timeline, enumerating event types (财报/解禁/回购/除权/宏观/政策/科技大会). It also explicitly separates the two modes (upcoming market-wide vs timeline single-stock), so the agent can tell which shape of call it is. It stops short of naming the sibling it is not (e.g. calendar_earnings, market_calendar), so it is clear but not sibling-differentiated.

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?

Gives explicit mode selection rules: mode=upcoming for the market or a `codes` future window, mode=timeline for one stock's past+future axis requiring `canonical_code`. That is clear when-to-use guidance for the two branches, but there is no when-not guidance and no pointer to overlapping siblings such as calendar_earnings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources