Skip to main content
Glama

echopai-mcp

announcements_search

Hybrid search over A-share announcements: Chinese company name / 6-digit code / free-text keyword in one query (name or code → filter by stock; keyword → full-text relevance × recency over title + ai_summary + body start). Use when you DON'T have a canonical_code ("新华医疗 回购", "600587", "回购"); for a known stock prefer announcements_stock, for the market feed announcements_feed. ⚠️ TIME: published_at is when the filing became visible (usually the evening before the exchange date); disclosure_date (next day 00:00) is never a publication time.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "announcements_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes名称 / 代码 / 关键词,可混合(如 "新华医疗 回购"、"600587"、"回购")
_jqNoJMESPath,对 data 求值(写 items[*].id)
typeNo分类 slug 过滤(与 feed 同集合)
limitNoMax items (1-200, default 50)
_spillNotrue=全量落盘,只回摘要与取数地址
marketNo市场过滤:CN(A股默认)/ HK(港股)/ US(美股预留)/ ALL(全市场)
offsetNoPagination offset
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
originalNo是否返回公告原始字符(如港股繁体);默认 false 返回简体中文
_max_bytesNo响应字节上限,默认约 50 KB
since_daysNo回看天数(1-1825,默认 90)。`limit` 在窗口之后截断,条目密集时实际返回范围会远小于所请求窗口,见响应的 `actual_window`,不足用 `offset` 翻页。⚠️ q 含关键词时按相关性排序而非时间倒序,本页是散落在窗口各处的高分条目:此时 `actual_window.contiguous=false` 且无 `covered_hours`,`earliest`/`latest` 只是本页极值,不代表这段时间已看全;要按时间连续通读改用 announcements_feed / announcements_stock。
_max_bytes_modeNo正文超限处理,默认 truncate 保留前缀

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / original
      Added value: +{
      +  "description": "是否返回公告原始字符(如港股繁体);默认 false 返回简体中文",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / market
      Added value: +{
      +  "description": "市场过滤:CN(A股默认)/ HK(港股)/ US(美股预留)/ ALL(全市场)",
      +  "enum": [
      +    "CN",
      +    "HK",
      +    "US",
      +    "ALL"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/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, and it does disclose non-obvious behavior: name/code queries filter by stock while keyword queries rank by relevance × recency over title + ai_summary + body start. It also warns that `published_at` is visibility time rather than exchange date and that `disclosure_date` is never a publication time. It stops short of describing result shape or whether results are read-only, which is the only remaining gap.

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?

Three front-loaded sentences: purpose and query modes first, routing alternatives second, temporal caveat last. Dense but every clause is functional; the inline example queries partially duplicate the schema's own examples, which is the only redundancy.

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?

Given 13 parameters and no output schema, the description covers the hard parts: query-mode behavior, sibling routing, and the time-semantics trap. Remaining parameters are fully documented in the schema, so an agent has what it needs to call correctly, though the description could have noted the relevance-vs-recency ordering's effect on pagination.

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 description coverage is 100%, so the schema already documents all 13 parameters including the since_days window caveat. The description adds real meaning for the central `q` parameter by explaining the two different query semantics, which the short schema blurb does not convey, but says nothing about market, original, type, or pagination beyond what the schema states.

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?

States a specific verb and resource ('Hybrid search over A-share announcements') and then enumerates exactly what the single query accepts (Chinese company name / 6-digit code / free-text keyword) plus how each is treated. This makes it immediately distinguishable from the sibling feed and per-stock announcement tools.

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

Usage Guidelines5/5

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

Explicitly says when to use it ('when you DON'T have a canonical_code') and names two alternatives with their selecting conditions: `announcements_stock` for a known stock, `announcements_feed` for the market feed. Concrete example queries reinforce the decision boundary.

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.