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).

earnings

A 股业绩预告与快报。company 按 code 查最近若干报告期(默认 4 期),包括预告修订历史与自愿披露的快报;快报缺失很常见。recent 扫描最近披露的业绩预告(默认 7 天、200 条),支持按方向、报告类型、同比下限或股票组合筛选。预告方向取自预告类型,修订以完整历史为基准。

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": {
      "mode": "<mode>"
    },
    "name": "earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
_jqNoJMESPath,对 data 求值(写 items[*].id)
codeNocompany 必填,如 SSE:600519
daysNorecent 回看天数,默认 7
modeYescompany 单股报告期历史;recent 近期业绩预告
codesNoComma-separated canonical codes (max 200) to filter a portfolio
limitNorecent 返回条数上限,默认 200
_spillNotrue=全量落盘,只回摘要与取数地址
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
min_pctNoMinimum YoY net-profit change (percentage points); also drops rows lacking percentage data
periodsNocompany 报告期数,默认 4
directionNoFilter by forecast direction (derived from type, not from the percentage)
_max_bytesNo响应字节上限,默认约 50 KB
report_typeNoRestrict to one report period type
_max_bytes_modeNo正文超限处理,默认 truncate 保留前缀

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare the safety profile (non-destructive, closed-world, non-idempotent), so the description's job is to add operational context, which it does: it warns that flash reports are frequently missing, explains that revisions are evaluated against the full history, and notes that direction comes from the forecast type rather than the percentage. It stops short of describing output shape or pagination behavior.

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, one per mode plus a closing clarification, with no filler. The density of Chinese financial jargon makes it slightly harder to scan than an ideal definition, but every clause carries information.

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 15-parameter, two-mode tool with no output schema, the description covers what each mode returns conceptually (revision history, voluntary flash reports, recent forecast rows) and flags the main data-quality pitfall. Generic pagination and projection parameters are left to their own schema descriptions, which is acceptable but leaves the return record structure underspecified.

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 every parameter, including defaults for periods, days, and limit, is already documented in the schema. The description restates the filter set (direction, report type, YoY floor, portfolio codes) and reinforces that direction is type-derived, but adds no syntax or format detail the schema lacks, so the baseline 3 is appropriate.

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?

The description names the specific resource (A-share earnings pre-announcements and flash reports) and splits it into two named modes, company and recent, each with a distinct verb and scope. An agent can tell exactly what data this tool returns without opening the schema.

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?

It clearly describes the selection condition for each mode: company when you have a code and want reporting-period history, recent when you want to scan new disclosures with filters. It does not, however, explicitly exclude or route to sibling tools such as financials_reports or announcements_list, so the guidance stops just short of full alternative routing.

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