Skip to main content
Glama

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

ashare_dividend

分红送转历史(每股分红/送股/除权日)。用户问'分红/股息/送转'用这个。⚠️ 要分红派息日历(哪天除权)请用 ashare_events——本工具是历史记录。只读查询;按公告披露更新。⚠️ 支持港股(代码 5 位 hk00700)。ETF 没有分红明细(只有 ashare_etf(kind='概览') 的 divTtm)。

Input Schema

NameRequiredDescriptionDefault
codeYes股票代码:sh600667
yearsNo年数(默认 3)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / code / description
      Added value: +"股票代码:sh600667"
    • addedInput schema / properties / years / description
      Added value: +"年数(默认 3)"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well by stating it is a read-only query, updated according to announcements, supports Hong Kong stocks via a 5-digit code format, and lacks ETF dividend detail. It does not discuss permissions, rate limits, or detailed return behavior, but the output schema exists and the safety profile is covered.

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 front-loaded with purpose and usage, then alternative routing, safety/update behavior, Hong Kong support, and ETF caveat. It is dense but every sentence carries a distinct operational point; slightly more structure could improve readability but there is no filler.

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?

Given that the tool has only two well-described parameters and an output schema, the description is complete enough for correct invocation. It covers the main ambiguity against ashare_events, states read-only/update behavior, and handles Hong Kong and ETF edge cases.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already explains both parameters. The description adds useful meaning for the code parameter by clarifying Hong Kong stock support with the hk00700 format, but it does not add much about years beyond the schema's default-3 documentation, so baseline 3 is appropriate.

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 states a specific resource and scope: historical dividend/bonus-share/ex-rights records with per-share dividend, bonus shares, and ex-dividend dates. It also explicitly distinguishes this tool from the sibling ashare_events calendar tool, so an agent can select it correctly.

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 says exactly when to use this tool for dividend/g股息/送转 questions and names the alternative for a dividend-payment calendar: use ashare_events instead. It further gives ETF-specific exclusions and points to the relevant ETF overview path.

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