Skip to main content
Glama
FIU Finance MCP

FIU Finance MCP

by fiu-ai

K线工具集

quote_kline

Retrieves historical candlestick data, price trends, return histories, and snapshot history for stocks, indices, and bonds across HK, US, CN, and JP markets, with date and limit controls.

Instructions

K 线、历史走势与收益率走势;get_jp_kline 仅支持 JP,get_kline 使用截止日期 date 和返回根数 limit。 适用市场:HK、US、CN、JP。 不适用市场:KR。 债券能力:market=GLOBAL。

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": {
      "endpoint": "<endpoint>"
    },
    "name": "quote_kline"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo该 endpoint 的业务参数。将 market、symbol 等字段直接放在此对象内,不要嵌套 params。
endpointYes枚举值含义:get_jp_kline: 查询日股截至指定日期或时间的最近 K 线,支持单只与批量证券,默认每只返回 20 根。;get_kline: 查询股票、指数、债券的历史K线/走势;使用截止日期 date 和返回根数 limit。;get_snapshot_history: 查询证券历史快照数据。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure duty. It usefully discloses coverage exclusions (KR unsupported, JP limited to get_jp_kline, bond special case), but says nothing about read-only semantics, rate limits, or what happens when a symbol/market combination is invalid, and gives only partial signal on return volume (limit).

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 purpose, then compact constraint clauses in one dense sentence; no filler. Minor redundancy with the endpoint enum descriptions, which repeat the date/limit explanation.

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 2-parameter dispatcher over three endpoints with a nested params object, the definition covers market scope, exclusions, and the bond mode, which is the main risk surface. Gaps remain around symbol format and batching for get_kline, but with 100% schema coverage and no output schema these are secondary.

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% and the endpoint enum already documents get_kline's date/limit and get_jp_kline's semantics, so the description largely restates structured data. It does add the market=GLOBAL convention for bonds, which is not evident from the schema alone, but that is a single additive detail.

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 the resource precisely ('K 线、历史走势与收益率走势' – candles, historical trends, return-series trends) and constrains it by market. It distinguishes the two kline endpoints (get_jp_kline JP-only vs get_kline with date/limit), but never contrasts itself with siblings like quote_intraday or quote_spot, so an agent must infer that boundary.

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

Usage Guidelines3/5

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

It gives hard eligibility rules – supported markets HK/US/CN/JP, KR explicitly unsupported, bonds via market=GLOBAL – which prevents mis-invocation by market. However, it frames these as constraints rather than as guidance about when to choose this tool over intraday/spot quote tools, and never states prerequisites or typical scenarios.

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