Skip to main content
Glama

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

ashare_lhb

全市场龙虎榜分榜(6 类):type=all 全市场总榜(净买/买卖额)/ institution 机构榜(机构买入/净买/机构数)/ activeseat 活跃席位(席位买入额+关联个股)/ winbuy 高胜率买入(净买额/胜率/席位明细)/ winseat 高胜率席位(席位胜率+关联个股)/ hotmoney 游资榜。用户问'今天机构买了什么/龙虎榜/高胜率席位/活跃席位'用这个。⚠️ hotmoney(游资榜)暂无数据,建议改用 all/activeseat/winbuy。⚠️ 龙虎榜为收盘后发布(一般 18:00 后);date 留空=最近交易日。⚠️ 某只股票的上榜明细(上榜原因/营业部)请用 ashare_fund——本工具是市场级榜单,不针对单只股票。

Input Schema

NameRequiredDescriptionDefault
dateNo日期 YYYY-MM-DD(留空=最近交易日)
typeNo榜单类型(默认 institution):all/institution/activeseat/winbuy/winseat/hotmoneyinstitution

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / date
      Added value: +{
      +  "default": "",
      +  "description": "日期 YYYY-MM-DD(留空=最近交易日)",
      +  "title": "Date",
      +  "type": "string"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"榜单类型(默认 institution)"New value: +"榜单类型(默认 institution):all/institution/activeseat/winbuy/winseat/hotmoney"
  2. Changed1 schema field changed
    • addedInput schema / properties / type / description
      Added value: +"榜单类型(默认 institution)"
  3. First observed

TDQS

A4.6/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 burden and delivers real behavioral facts: hotmoney currently returns no data, 龙虎榜 is published only after close (~18:00), and an empty date resolves to the most recent trading day. It does not mention permissions, caching, or rate limits, but for a public read-only data endpoint those are minor omissions.

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 dense but front-loads the type taxonomy first, then usage triggers, then caveats, so an agent can stop reading once it has what it needs. It is longer than strictly necessary (the type-by-type return enumeration and three separate ⚠️ blocks), but no sentence is pure 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?

For a two-parameter, zero-required lookup tool with an output schema already present, the description covers everything an agent needs: what each mode returns, which mode to avoid, publication timing, default date behavior, and the sibling to use for per-stock data. Return-value explanation is correctly delegated to the output schema.

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 description coverage is 100% so the baseline is 3, and the description goes beyond it by explaining what each enum value of `type` actually returns rather than just listing the values as the schema does. The `date` parameter semantics are left to the schema, which already covers them, so it does not reach 5.

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 the specific resource (market-level 龙虎榜 leaderboards) and enumerates all six type values with what each returns (净买/买卖额, 机构买入, 席位买入额, 胜率, etc.), so an agent knows exactly what this tool produces. It also explicitly distinguishes itself from the sibling ashare_fund, which handles per-stock 上榜明细.

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 explicit trigger phrases ("今天机构买了什么/龙虎榜/高胜率席位/活跃席位用这个"), a when-not-to-use rule (per-stock details go to ashare_fund), and a routing override for the broken type (hotmoney 暂无数据,建议改用 all/activeseat/winbuy). This is about as complete as usage guidance gets.

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