Skip to main content
Glama
lzw-wo
by lzw-wo

get_kline

Get historical A-share K-line data in daily, weekly, or monthly intervals with forward adjustment. Provide a stock code and optional date range to obtain the candlestick chart data you need.

Instructions

获取A股历史K线数据(日/周/月,前复权)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes股票代码,如 600519
periodNoK线周期:daily(日) weekly(周) monthly(月)
end_dateNo结束日期 YYYY-MM-DD(可选)
start_dateNo开始日期 YYYY-MM-DD(可选)
Behavior3/5

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

No annotations are provided, so behavioral transparency falls on the description. It discloses the asset type (A-shares), supported periods, and forward-adjustment, but does not mention output format, default date range behavior, or any limits. This is honest but incomplete.

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

Conciseness5/5

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

The description is a single, compact sentence that front-loads the core purpose and includes the most important qualifiers. No filler or redundant wording.

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?

Although simple, the tool has no output schema or annotations, so the description should explain at least the expected return values or default date range. It captures core use but omits these completeness elements, making it adequate yet gapped.

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 coverage is 100%, so baseline is 3. The description adds value beyond the schema by explicitly stating that data is front-adjusted and limited to A-share K-lines, which helps interpret the 'code' and 'period' parameters meaningfully.

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 specifies the verb '获取' (get) and a clear resource: 'A股历史K线数据' (A-share historical K-line data), while explicitly noting periods and front-adjustment. This clearly differentiates it from sibling tools like get_realtime_quote and get_technical_indicators.

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 use for historical K-line data by its name and content, and sibling names suggest alternatives, but it does not explicitly state when to use this tool vs alternatives or mention exclusions. The guidance is adequate but relies on inference.

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/lzw-wo/agu-mcp'

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