Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

stock_us_hist

Read-onlyIdempotent

Fetch historical US stock data for a given symbol, with adjustable periods (daily, weekly, monthly), date ranges, and price adjustment options.

Instructions

东方财富网-行情-美股-每日行情 https://quote.eastmoney.com/us/ENTX.html#fullScreenChart :param symbol: 股票代码; 此股票代码需要通过调用 ak.stock_us_spot_em() 的 代码 字段获取 :type symbol: str :param period: choice of {'daily', 'weekly', 'monthly'} :type period: str :param start_date: 开始日期 :type start_date: str :param end_date: 结束日期 :type end_date: str :param adjust: choice of {"qfq": "1", "hfq": "2", "": "不复权"} :type adjust: str :return: 每日行情 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adjustNo
periodNodaily
symbolNo105.MSFT
end_dateNo22220101
start_dateNo19700101
Behavior3/5

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

With annotations already declaring readOnlyHint=true, destructiveHint=false, and idempotentHint=true, the description adds modest extra context: the data source (Eastmoney URL) and the return type (pandas.DataFrame). It does not disclose potential caveats like rate limits, pagination, or the exact output columns, but the safety profile is well covered by annotations.

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 a well-structured docstring with a title, URL, parameter list, and return type. Each line serves a purpose and is not redundant, aside from the first line duplicating the annotation title. It is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 5 parameters and no output schema, the description explains parameters and return type adequately. However, it does not enumerate the columns of the returned DataFrame (e.g., open, high, low, close, volume), which is significant given there is no output schema. It also omits date format details, leaving some ambiguity for an agent.

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 it does well: each parameter has a clear explanation, including the valid choices for `period` and `adjust`, and the important note that `symbol` must come from `stock_us_spot_em()`. The main gap is that date formats are not explicitly stated, though the schema defaults imply YYYYMMDD.

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 clearly indicates this tool fetches daily market quotes for US stocks from Eastmoney, with a source URL provided. It does not explicitly differentiate from sibling tools like stock_us_daily or stock_us_hist_min_em, but the function name and parameters (start_date, end_date, period) make the historical daily data purpose clear.

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 provides a critical prerequisite: the `symbol` must be obtained from `ak.stock_us_spot_em()`'s `代码` field. However, it does not explicitly state when to prefer this tool over alternatives (e.g., minute-level history or spot quotes) or when not to use it. Usage is implied through the parameter choices and source, but no exclusions or comparisons are given.

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