Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

rv_from_stock_zh_a_hist_min_em

Read-onlyIdempotent

Fetch minute-level historical stock quotes from Eastmoney, then clean and format them into OHLC data required to calculate Yang-Zhang realized volatility.

Instructions

从东方财富网获取股票的分钟级历史行情数据,并进行数据清洗和格式化为计算 yz 已实现波动率所需的数据格式 https://quote.eastmoney.com/concept/sh603777.html?from=classic :param symbol: 股票代码,如"000001" :type symbol: str :param start_date: 开始日期时间,格式"YYYY-MM-DD HH:MM:SS" :type start_date: str :param end_date: 结束日期时间,格式"YYYY-MM-DD HH:MM:SS" :type end_date: str :param period: 时间周期,可选{'1','5','15','30','60'}分钟 :type period: str :param adjust: 复权方式,可选{'','qfq'(前复权),'hfq'(后复权)} :type adjust: str :return: 整理后的分钟行情数据,包含Date(索引),Open,High,Low,Close列 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adjustNohfq
periodNo1
symbolNo000001
end_dateNo2024-11-01 15:00:00
start_dateNo2021-10-20 09:30:00

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that data is cleaned and reformatted into Date/Open/High/Low/Close, but says nothing about rate limits, missing-data handling, or adjustment behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the param block is standard Python docstring structure, but an irrelevant example URL (quote.eastmoney.com/concept/sh603777...) is embedded as noise, and the type/param line pairs add 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?

For a 5-parameter tool with no output schema and 0% schema coverage, the description supplies parameter formats and the return shape (pandas.DataFrame with Date index plus Open/High/Low/Close), which is enough for correct invocation. It stops short of stating return granularity or adjustment effects.

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 0%, so the description carries the full burden and largely does so: it documents all five parameters, gives the datetime format 'YYYY-MM-DD HH:MM:SS', and enumerates period {'1','5','15','30','60'} and adjust {'','qfq','hfq'}. Only defaults shown in the schema are left unexplained.

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 states a specific verb+resource: fetching minute-level historical stock quotes from Eastmoney and cleaning/formatting them for yz realized-volatility computation. This scope distinguishes it from the raw siblings stock_zh_a_hist_min_em and the final volatility_yz_rv, though no sibling is named explicitly.

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?

Usage is only implied by the stated purpose (prepare data for yz RV). There is no explicit when-to-use, when-not-to-use, or named alternative to pick instead. An agent can infer the context but is not routed.

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

Deploy Server

Other Tools