Skip to main content
Glama

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

ashare_limit_reason

涨停原因(单只票的历史涨停记录 + 完整原因文案):每次涨停的完整原因 + 所属板块 + 当日「日内龙几」。行字段 date / dragon_rank(如「日内龙一」,空 = 非龙头)/ plates 板块代码数组 / reason 完整涨停原因 / concept 概念说明。用户问'这只票为什么涨停/上次涨停什么原因/它靠什么题材涨停'用这个。⭐ 与 ashare_limit_up 的分工:涨停池给今天全市场涨停股;本工具给单只票的历史涨停原因。⚠️ 返回该股票历次涨停的全部记录,date 不用于筛选(is_fallback=true 即表示未按日期筛)。⚠️ code 必须 A 股(6 位或带 sh/sz/bj 前缀)。⚠️ 机构版专属。

Input Schema

NameRequiredDescriptionDefault
codeYes6 位 A 股代码(如 sh600519 或 600519)
dateNo交易日 YYYY-MM-DD(留空 = 最近)
limitNo返回条数(默认 20,上限 100)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose non-obvious behavior: all historical records are returned regardless of date, with is_fallback=true signalling an unfiltered result, plus an institutional-edition-only restriction. It stops short of covering failure modes or limits, which keeps it from a 5.

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?

Front-loaded with the resource and its return fields, then routing rules, then caveats — a sensible order. It is dense with bold markup and slightly long, but nearly every sentence carries actionable information.

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

Completeness5/5

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

With an output schema present the description needn't explain return values, yet it still names the key fields and their semantics. Combined with routing rules, the date caveat, code format, and the institutional restriction, an agent has everything needed to invoke it correctly.

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, but the description adds real meaning beyond the schema: it states that date does NOT filter results (correcting the schema's '留空 = 最近' implication) and explains that dragon_rank empty means non-leader. That is genuine clarification the schema does not give.

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 gives a specific resource (single stock's historical limit-up records) and enumerates the returned fields (date, dragon_rank, plates, reason, concept). It explicitly contrasts itself with sibling ashare_limit_up: that tool covers today's whole-market pool, this one covers one stock's history — an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

It names the exact user phrasings that should trigger it ('为什么涨停/上次涨停什么原因/它靠什么题材涨停') and states the when-to-use-other rule ('涨停池给今天全市场涨停股;本工具给单只票的历史'). It also warns that date is not a filter and that code must be an A-share, so misuse conditions are pre-empted.

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