Skip to main content
Glama

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

ashare_lhb_agency

龙虎榜机构参与个股榜(全市场):某个交易日机构席位在龙虎榜上参与过的所有个股,一次拿完(实测单日约 51 只)。行字段 code / name / net_buy 机构净买入额(元,⚠️ 负值 = 机构净卖出) / join_num 参与机构家数 / change_pct 涨幅% / turnover 成交额 / amplitude 振幅% / turnover_rate 换手% / float_cap 流通市值 / market_cap 总市值 / fengkou_plates 所属风口板块代码。用户问'今天机构买了哪些票/机构在龙虎榜买了什么/哪些票有机构参与'用这个。⭐ 与 ashare_lhb_seats 的分工:ashare_lhb_seats 是单票往下看营业部,本工具是全市场往上筛票 —— 问「今天机构买什么」用本工具,问「这只票是谁买的」用 ashare_lhb_seats。⚠️ net_buy 是净额(买入−卖出),可为负,别取绝对值当买入额。⚠️ 龙虎榜是盘后数据:date 留空 = 最近交易日。requested_date 是你传入的、date 是实际日期,is_fallback=true 表示没拿到你指定的那天,以 date 为准。⚠️ 机构版专属。

Input Schema

NameRequiredDescriptionDefault
dateNo交易日 YYYY-MM-DD(留空 = 数据源最近交易日)
sortNo排序:net_buy(默认)/ change_pct / turnover_rate / market_capnet_buy
limitNo返回条数(默认 100,上限 500)

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 burden and does most of it: it discloses that the data is post-close, that `date` may fall back with `is_fallback=true` and `requested_date` vs `date` divergence, and that `net_buy` is a signed net figure that can be negative. It also flags the access requirement ('机构版专属'). It stops short of stating read-only/rate-limit characteristics, but the disclosure level is well above adequate for a data-read tool.

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?

Purpose and the sibling split are front-loaded and bolded; the warning block is high-value. The long enumeration of row fields is largely redundant with the output schema that already exists, which costs some tightness.

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?

For a three-parameter, no-required-param read tool with an output schema, everything an agent needs is present: what the rows represent, sign conventions, row count expectation (~51/day), date fallback semantics, and routing guidance. No meaningful gap remains.

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 the baseline is 3; the description still adds meaning on `date` by explaining the fallback contract (`requested_date` / `date` / `is_fallback`) beyond the schema's 'blank = latest trading day'. It does not elaborate on `sort` enumerations or `limit` ceiling, which remain schema-only.

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?

States a specific resource and scope: all market-wide stocks with institutional seat participation on the dragon-tiger list for a given trading day, returned in one call. It explicitly contrasts itself with the sibling `ashare_lhb_seats` (single-stock brokerage drill-down vs. market-wide screening), so an agent can pick the right tool 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?

Gives concrete trigger phrasings ('今天机构买了哪些票 / 机构在龙虎榜买了什么 / 哪些票有机构参与') and an explicit routing rule against the sibling: '今天机构买什么' → this tool, '这只票是谁买的' → ashare_lhb_seats. Both when-to-use and when-to-use-the-alternative are covered.

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