Skip to main content
Glama

echopai-mcp

announcements_detail

Read one announcement on demand (id from feed/stock/search items[].id) — an annual report is 200k+ chars, so do not expect the whole body. Financial question path: 1) format=search with q (space-separated, all terms must match) → hits with section_path, scope_hint, table_index; 2) format=table with that table_index → table + unit / page / footnote. Default format=outline gives headings (char_offset) and page anchors (short notices include full content); format=full pages via offset / next_offset. ⚠️ scope_hint is a hint: balances appear in both consolidated and parent-company notes, and policy hits are accounting policy text — say which you cite. content_status: pending = retry later, unavailable = read pdf_url. ⚠️ TIME: published_at is when the filing became visible; 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": {
      "announcement_id": "<announcement_id>"
    },
    "name": "announcements_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNosearch:检索词,空格分隔、全部命中(如 "应收账款 账龄")
_jqNoJMESPath,对 data 求值(写 items[*].id)
limitNosearch:命中条数上限
_spillNotrue=全量落盘,只回摘要与取数地址
formatNooutline=目录(默认)|search=文内检索(需 q)|table=单张表(需 table_index)|full=正文分段outline
offsetNofull:正文起始偏移(可用 outline 的 char_offset);table:起始数据行(next_row_offset)
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
originalNo是否返回公告原始字符(如港股繁体);默认 false 返回简体中文
max_charsNofull / table:单次最大字符数(硬顶 80000)
_max_bytesNo响应字节上限,默认约 50 KB
table_indexNotable:表序号(来自 search 命中或 outline 的 tables)
_max_bytes_modeNo正文超限处理,默认 truncate 保留前缀
announcement_idYesUUID (feed / stock / search 返回的 items[].id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / original
      Added value: +{
      +  "description": "是否返回公告原始字符(如港股繁体);默认 false 返回简体中文",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full load and does so: it discloses truncation of long bodies, the `max_chars` hard cap, `content_status` semantics (`pending` = retry, `unavailable` = fall back to `pdf_url`), and pagination via `offset`/`next_offset`. It also flags two interpretation traps — `scope_hint` being only a hint (balances appear in both consolidated and parent-company notes; `policy` hits are accounting-policy text) and `disclosure_date` not being a publication time.

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?

Front-loaded with the one-line purpose, then numbered workflow, then two ⚠️-marked warnings, so an agent can skim the top and still act. It is extremely dense — arrows, backticks and warnings packed into a single block — but very little of it is filler, so the density costs only a little.

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?

For a 14-parameter tool with no output schema and no annotations, the description covers the response shape itself (`items[].id`, `section_path`, `scope_hint`, `table_index`, `unit`/`page`/`footnote`, `char_offset`, `content_status`) plus the retrieval workflow. Nothing an agent needs in order to pick a format and page through results is missing.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema cannot: `offset` can be seeded from an outline `char_offset` or a table `next_row_offset`, `table_index` comes from a search hit or outline `tables`, and `q` requires all space-separated terms to match. That is genuine added semantics, though the auxiliary `_jq`/`_fields`/`_max_bytes` plumbing is left entirely to the 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?

States a specific verb and resource ('Read one announcement on demand') and pins the identifier's origin ('id from feed/stock/search items[].id'), which cleanly separates it from the feed/search/stock siblings. The scope caveat ('an annual report is 200k+ chars, so do not expect the whole body') further defines what the tool actually returns.

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?

Gives an explicit decision path: use `format=search` with `q` for financial questions, then `format=table` with the returned `table_index`; default is `format=outline`, and `format=full` for paged body text. It also names the exact alternatives (feed/stock/search) it depends on for obtaining the id, leaving little to inference.

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.