Skip to main content
Glama

A股数据 API (A-Share Data API)

ashare_kline

K线(日/周/月)。用户问'走势/最近表现/历史K线'用这个。· 免费工具(无需 Key)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
countNo
periodNoday

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

There are no annotations, so the description carries the behavioral burden. It usefully discloses that the tool is free and requires no API key, and that it supports day/week/month periods. However, it does not mention data source, update latency, or any usage limits.

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 very compact: the tool's purpose, supported periods, triggering user intents, and no-key requirement are all conveyed in two short lines with no 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?

The output schema covers return values, and the description is sufficient for tool selection. However, the missing parameter documentation and lack of guidance on resolving stock names to A-share codes (e.g., via ashare_search) leave a clear invocation gap.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only hints that period relates to daily/weekly/monthly K-lines. It leaves the code format, count semantics, and exact period values undocumented, which is a significant gap for correct invocation.

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 identifies the resource (K-line data, daily/weekly/monthly) and maps it to concrete user intents like '走势/最近表现/历史K线'. It does not use an explicit verb or name alternative tools, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool: when the user asks about trend, recent performance, or historical K-line data. It does not list exclusions or point to alternative tools such as ashare_quote for real-time quotes, but the trigger conditions are clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources