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

financials_history

个股多期财报快照或单指标时序(A 股)。mode=reports(默认)返回最近 N 期财报快照(每期含 announce_date,可按 kind 过滤 Q1/H1/Q3/annual/preliminary);mode=series(或传入 metric 自动推断)返回单项指标跨期序列(支持 ~150 项如 revenue/roe_simple/ni_parent)。

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": {
      "code": "<code>"
    },
    "name": "financials_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo仅 series 模式:最晚 report_date YYYY-MM-DD
_jqNoJMESPath,对 data 求值(写 items[*].id)
codeYesCanonical A-share code
fromNo仅 series 模式:最早 report_date YYYY-MM-DD
kindNo仅 reports 模式:报告期类型(Q1 / H1 / Q3 / annual / preliminary)
modeNoreports(多期财报快照,默认)或 series(单指标时序;传 metric 时自动推断)
limitNo返回条数(reports 1-100 默认 12;series 1-200 默认 40)
_spillNotrue=全量落盘,只回摘要与取数地址
metricNo仅 series 模式:财务指标字段名(如 roe_simple / revenue / ni_parent)
_fieldsNo逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq
_intentNo用户原问题一句话,仅分析用,可留空
_max_bytesNo响应字节上限,默认约 50 KB
_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 behavioral context beyond the annotations: what each mode returns, that snapshots carry announce_date, and that kind filters report period type. It does not reconcile the readOnlyHint=false annotation with what reads like a pure read operation, and it says nothing about pagination, ordering, or how limit behaves across the two modes.

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?

The definition consists of one compact, information-dense sentence, with the two modes front-loaded and separated by clear delimiters. It wastes little space; the only cost is that the semicolon-joined clauses are dense for non-Chinese readers.

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 13-parameter tool with full schema coverage, existing annotations, and no output schema, the description covers the essential decisions: which mode, how it is selected, and what kind of records come back. The remaining gaps (ordering, how the shared helper parameters such as _spill or _jq interact, and behavior compared with financials_snapshot) are minor because the schema covers them.

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 baseline is 3; every parameter (mode, metric, kind, from/to, limit) is already documented in the schema. The description reinforces mode/kind/metric semantics and notes the roughly 150 supported metric names with examples, but adds little beyond what the schema already declares.

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?

The description names a specific verb and resource: it returns either multi-period financial report snapshots or a single-metric time series for A-shares, and it defines both modes precisely (reports returns the most recent N snapshots with announce_date; series returns one metric across periods). Note, however, that it never distinguishes the tool from the sibling financials_snapshot, whose name suggests overlapping behavior, so the agent must infer the boundary.

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?

Usage is well signposted within the tool: reports is the default, series is selected explicitly, and the description states that passing metric auto-infers series mode. It gives no guidance on when to choose this tool over financials_snapshot or earnings, so the inter-tool routing is left unaddressed.

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