Skip to main content
Glama

Wudao A-Share Stock Data MCP

stock_screener

Read-onlyIdempotent

MCP 主条件选股工具:支持概念/题材、行业、地区、股票名称包含、价格、市值、收盘涨跌幅、盘中最高/最低涨幅、开盘涨幅、换手、成交额、PE/PB、均线位置、放量倍数、市场板块和 ST/上市状态过滤。用户用问财式自然语言提条件时,agent 应直接映射为本工具结构化参数再调用。 何时使用: MCP 主条件选股工具。conceptKeywords/conceptCodes 默认开盘啦题材库(conceptSource=kpl);未命中可设 conceptSource=auto 回退东财/CLS。用户用问财式自然语言提条件时,agent 应先把语义直接映射到本工具 schema 参数再调用,例如"半导体板块、五日线之上、放量三倍、上海、名字带龙"→conceptKeywords/aboveMa/volumeRatioMin/areaKeywords/nameIncludes;"收盘涨幅超过7"→closePctChgMin:7;"盘中最高涨幅超过7/最高到过7以上"→highPctChgMin:7。不要在 agent 侧分批拼 concept_stocks+kline+valuation_snapshot。 【链接】rows/items/嵌套股票对象含 code/name;列股必须用 [name(code)](https://stock.quicktiny.cn/quote/<code>) markdown 链接。

Input Schema

NameRequiredDescriptionDefault
dateNo筛选交易日,支持 YYYY-MM-DD 或 YYYYMMDD。不传默认取最新已落库交易日;非交易日会使用此前最近有数据的交易日并返回时效提示。
codesNo股票代码票池,数组或逗号分隔字符串。传入后只在该票池内做条件筛选。常见用法:先用 limit_up_ladder/broken_limit_up 拿到事件池,再传给本工具做二次筛选。支持6位代码或带后缀格式。
limitNo返回数量,默认 50,最大 300。
pbMaxNoPB 上限。
pbMinNoPB 下限。
formatNocontent[0].text:默认1行 headline;markdown=完整 markdown 表格;json=完整 JSON。
maModeNo多条均线匹配方式:all=全部满足(默认);any=任一满足。all
marketNo市场范围,默认 all。支持 all/main/sh/sz/gem/cyb/star/kcb/bse/bj。all
sortByNo排序字段,默认 volumeRatio。常用:volumeRatio、closePctChg、highPctChg、lowPctChg、openPctChg、close、amountYi、turnoverRate、totalMarketCapYi、circMarketCapYi、marketCapYi、peTtm、pb。volumeRatio
aboveMaNo要求收盘价站上指定均线,支持 5/10/20/30/60/90/250。用户说"五日线之上/站上5日线/突破20日均线"时填 [5] 或 [20];"5日和10日线之上"填 [5,10]。
belowMaNo要求收盘价低于指定均线,支持 5/10/20/30/60/90/250。
peTtmMaxNoPE(TTM) 上限。
peTtmMinNoPE(TTM) 下限。
priceMaxNo收盘价上限(元)。用户说"价格10到20/股价低于20元"时填 20。
priceMinNo收盘价下限(元)。用户说"价格10到20/股价10元以上"时填 10。
excludeSTNo是否剔除 ST/退市风险名称,默认 true。
sortOrderNo排序方向,默认 desc。desc
listStatusNo上市状态,默认 L=上市;传 all 不限制。L
amountMaxYiNo成交额上限(亿元)。
amountMinYiNo成交额下限(亿元)。
conceptModeNo多概念匹配模式:any=命中任一概念(默认);all=同时属于所有概念。any
detailLevelNo档位:默认 standard(Agent 可计算标准字段);summary=压缩摘要;raw=全字段+原始数据。
areaKeywordsNo公司地区关键词,来自 StockBasic.area。用户说"上海地区/上海公司/注册地上海/位于上海"时填 ["上海"]。
conceptCodesNo题材/概念代码;默认按开盘啦 kplId 或题材名匹配。
lowPctChgMaxNo盘中最低涨幅上限(%)。用户说"盘中最低涨幅低于-3/最低跌到-3以下"时填这里。
lowPctChgMinNo盘中最低涨幅下限(%),口径为 (当日最低价 / 昨收价 - 1) * 100。
nameIncludesNo股票名称包含关键词。用户说"名字带龙/名称包含科技/简称含光"时填 ["龙"]、["科技"]、["光"]。
auctionChgMaxNo竞价涨幅上限(%)。
auctionChgMinNo竞价涨幅下限(%)。用户说"竞价高开3个点以上"时填 3。
conceptSourceNo概念成分口径,默认 kpl=开盘啦题材库;auto=开盘啦优先、未命中回退东财∪CLS;dongfang/cls/legacy 为兼容。kpl
highPctChgMaxNo盘中最高涨幅上限(%)。
highPctChgMinNo盘中最高涨幅下限(%),口径为 (当日最高价 / 昨收价 - 1) * 100。用户说"盘中最高涨幅超过7/最高到过7以上/冲高超过7"时填这里。
marketCapTypeNo市值口径:total=总市值(默认);circ=流通市值。用户说"流通市值"时填 circ,否则"市值/总市值"填 total。total
openPctChgMaxNo开盘涨幅上限(%)。用户说"低开2个点以上"时应换算为负数,例如 -2。
openPctChgMinNo开盘涨幅下限(%),口径为 (开盘价 / 昨收价 - 1) * 100。用户说"高开3个点以上/开盘涨幅超过5"时填这里。正数为高开,负数为低开。
textMatchModeNo名称/地区/行业多关键词匹配方式:any=任一命中(默认);all=全部命中。any
volumeAvgDaysNo成交量均值基准天数,默认 5,最大 60。
closePctChgMaxNo收盘涨跌幅上限(%)。用户说"收盘涨幅低于3/跌幅超过5"时应换算为负数,例如 -5。
closePctChgMinNo收盘涨跌幅下限(%),口径为当日收盘价相对昨收/前收的涨跌幅。用户说"收盘涨幅超过7/当日涨跌幅大于3"时填这里。
marketCapMaxYiNo市值上限(亿元)。用户说"市值200到300亿/市值不超过300亿"时填 300。
marketCapMinYiNo市值下限(亿元)。用户说"市值200到300亿/市值200亿以上"时填 200。
recentNdChgMaxNo近N日累计涨幅上限(%)。用户说"近20日涨幅不超过15%"时填 15。
recentNdChgMinNo近N日累计涨幅下限(%)。用户说"近5日涨幅超过20%"时填 20。
volumeRatioMaxNo放量倍数上限。
volumeRatioMinNo放量倍数下限。口径:最新交易日 vol / 前 volumeAvgDays 个交易日平均 vol,前 N 日不含当日。用户说"放量三倍/量比大于3/成交量是前五日均量3倍以上"时填 3。
conceptFallbackNoconceptSource=kpl 时若未命中是否回退东财∪CLS,默认 false。也可用 conceptSource=auto。
conceptKeywordsNo开盘啦题材/板块关键词(默认 conceptSource=kpl),数组或逗号分隔字符串。用户说"半导体板块/机器人概念/低空经济题材"时直接填 ["半导体"]、["机器人"]、["低空经济"]。按开盘啦题材库名称模糊匹配。
recentNdChgDaysNo近N日涨幅的天数窗口。用户说"近5日涨幅超过20%"时填 5。
turnoverRateMaxNo换手率上限(%)。
turnoverRateMinNo换手率下限(%)。
auctionAmountMinNo竞价额下限(元)。用户说"竞价额大于5000万"时填 50000000。
industryKeywordsNoStockBasic.industry 行业关键词,数组或逗号分隔字符串。用户明确说"电子行业/软件行业"时填这里;说"半导体板块/机器人概念"优先填 conceptKeywords。
turnoverRateFMaxNo实际换手率上限(%)。
turnoverRateFMinNo实际换手率下限(%),基于自由流通股本。短线里比普通换手率更贴近盘口。
limitUpCountNdMaxNo近N日涨停次数上限。用户说"很少涨停/基本不涨停"时填 0 或 1。
limitUpCountNdMinNo近N日涨停次数下限。
freeMarketCapMaxYiNo自由流通市值上限(亿元)。
freeMarketCapMinYiNo自由流通市值下限(亿元)。短线实战中比流通市值更准确。
limitUpCountNdDaysNo统计涨停次数的天数窗口。用户说"近10日涨停次数不超过1次"时填 10。
auctionVolumeRatioMinNo竞价量比下限。
auctionTurnoverRateMaxNo竞价换手率上限。
auctionTurnoverRateMinNo竞价换手率下限(基于流通股本)。
auctionTurnoverRateFMaxNo竞价实际换手率上限。
auctionTurnoverRateFMinNo竞价实际换手率下限(基于自由流通股本),单位%。用户说"竞价实际换手大于1%"时填 1。

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
successNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / detailLevel / description
      Previous value: -"输出详细度(不传=standard,返回 Agent 可计算标准字段)。summary=压缩摘要;raw=全字段+原始数据。"New value: +"档位:默认 standard(Agent 可计算标准字段);summary=压缩摘要;raw=全字段+原始数据。"
    • changedInput schema / properties / format / description
      Previous value: -"content[0].text 形态。通常不传=1 行 headline;auction_market_scan / auction_theme_strength 在 standard/raw 档默认直接返回 JSON 明细。markdown=完整 markdown 表格;json=完整 JSON。"New value: +"content[0].text:默认1行 headline;markdown=完整 markdown 表格;json=完整 JSON。"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {},
      +    "success": {}
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety bar is low. The description adds genuinely useful behavioral context beyond that: default concept universe (kpl) with the auto-fallback semantics, and a hard output requirement that every stock be rendered as a markdown quote link. It does not describe pagination or result-size behavior, keeping it out of 5 territory.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and capability list, which is good, but it is dense and redundant — the instruction that the agent should map natural-language conditions to structured params is stated twice (once in the body, again under 何时使用) and the worked examples overlap the schema examples. Sentences earn their place individually, but the block as a whole is longer than needed.

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

Completeness4/5

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

For a 64-parameter screener with an output schema and full annotation coverage, the description covers what the agent actually needs: purpose, NL→param mapping strategy, concept-source defaults/fallback, and output link formatting. It omits defaulting behavior for date/limit and any explicit 'no results' handling, but these are secondary given the rich schema.

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% and the schema itself already carries per-field mapping examples (e.g. aboveMa, highPctChgMin, marketCapMinYi), so the baseline is 3. The description's cross-cutting sentence-to-params examples are mildly additive but largely duplicate what the schema descriptions already say, so no uplift is warranted.

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 verb+resource ("主条件选股工具") and enumerates the full filter surface (概念/题材、行业、地区、价格、市值、涨跌幅、均线、放量、板块、ST 状态等). It also positions itself against alternatives by telling the agent not to hand-assemble concept_stocks+kline+valuation_snapshot. An agent can identify this as the general-purpose screener without opening the 64-param schema.

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?

Gives concrete routing guidance: map 问财-style natural language directly to schema params, with worked examples ("半导体板块、五日线之上、放量三倍、上海、名字带龙" → named params) and an explicit anti-pattern (don't stitch together concept_stocks+kline+valuation_snapshot). The "何时使用" section is partly circular, and no explicit when-not-to-use versus siblings like limit_up_filter is given, so it stops short of a 5.

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.