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 data from East Money, clean and structure it for realized volatility (yz) calculation. Configurable for time period, date range, and price adjustment.

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
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, providing a clear safety profile. The description adds context about data source (Eastmoney), cleaning/formatting, and return columns, but does not disclose limitations, rate limits, or error behavior beyond that. It adds some value but not rich behavioral detail.

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 description is structured and front-loaded with the main purpose, followed by a URL and a detailed parameter list. The URL is somewhat unnecessary noise, but the rest is informative and well-organized. It is appropriately sized for the complexity of the tool, though slightly verbose due to the docstring-style parameter documentation.

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?

Given the tool's complexity (5 params, no output schema), the description covers the return type and columns, parameter semantics, data source, and purpose. It lacks usage guidance and potential pitfalls, but overall it provides sufficient context for an agent to invoke the tool correctly and interpret the result.

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

Parameters5/5

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

Despite 0% schema description coverage, the description includes a full docstring explaining each parameter's meaning, type, format, and allowed values. For example, period lists {'1','5','15','30','60'} and adjust explains options like qfq and hfq. This fully compensates for the schema's lack of descriptions.

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 clearly states the tool fetches stock minute-level data from Eastmoney, cleans it, and formats it for yz realized volatility calculations. This specific verb+resource+purpose distinguishes it from sibling tools like stock_zh_a_hist_min_em which likely returns raw minute data without the yz-specific formatting.

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?

The description implies usage for obtaining minute data in the yz realized volatility format but does not explicitly state when to use this tool over alternatives. There are no exclusionary conditions or mentions of alternative tools (e.g., raw minute data via stock_zh_a_hist_min_em), so guidance is only implied via the purpose.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevynf/akbridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server