Skip to main content
Glama
CNQQC

xueqiu

by CNQQC

screen_stocks

Filter and sort stocks by valuation, financials, and market metrics across A-shares, HK, and US markets. Use criteria like P/E, dividend yield, and market cap to identify matching stocks.

Instructions

选股器:按估值、财务、行情等指标筛选并排序股票。

filters 写成 指标:下限~上限,多条用逗号分隔,边界可留空。 例:pettm:0~20,dy_l:3~,mc:100000000000~ 表示市盈率 0~20 倍、 股息率 3% 以上、市值 1000 亿以上。 指标名请先用 list_screener_metrics 查询;_l 后缀表示取最新报告期。

Args: market: CN A股 / HK 港股 / US 美股 order_by: 排序指标,如 mc 总市值、pct 涨跌幅、pettm 市盈率 order: desc 降序 / asc 升序 limit: 每页条数,最多 100 page: 页码 filters: 筛选条件串 industry: 行业代码,用 list_industries 查询 exchange: A 股范围,sh_sz 沪深 / sh / sz / bj columns: 额外展示的指标,逗号分隔;注意会排除该指标为空的标的

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
limitNo
orderNodesc
marketNoCN
columnsNo
filtersNo
exchangeNo
industryNo
order_byNomc

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations are absent, so the description carries the full behavioral burden. It explains the filters format extensively, including an example, the '_l' suffix meaning, and that columns exclude null values. However, it does not disclose how results are ordered by default, what happens if filters are omitted, or the exact output structure (though an output schema exists). These gaps mean it's adequate but not comprehensive.

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 well-structured: a one-line summary, a detailed explanation of the filters parameter with an example, then a clean parameter list. Every sentence has purpose; no fluff or redundant statements. It's slightly long but appropriate for a tool with 9 parameters and complex filtering syntax.

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?

This is a complex tool with 9 parameters, a filter syntax, and cross-references to two sibling tools. The description covers the essential usage: filter format, parameter meanings, and routing to helper tools. With an output schema present, not describing return values is acceptable. Some edge cases (e.g., empty filters) are not covered, but overall the information is sufficient for correct invocation.

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 0%, so the description must compensate. It does so well: each parameter is explained with examples or allowed values (e.g., market: CN/HK/US, exchange: sh_sz/sh/sz/bj). The order_by field lists common metrics. This significantly clarifies the schema, which otherwise provides only names and types. Minor missing details like precise limit bounds are already in the schema defaults.

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 starts with '选股器' (stock screener) and clearly states it filters and sorts stocks by valuation, financial, and market indicators. This is a specific verb (screen/sort) and resource (stocks), and it differentiates from siblings like get_quote, get_kline, and search_stock which target individual stocks or quotes. The purpose is unambiguous.

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?

The description does not explicitly mention alternatives, but it clearly implies usage contexts: when you need to screen stocks by criteria. It also proactively directs the user to list_screener_metrics and list_industries for metric/industry codes, which is valuable guidance. It does not state when not to use this tool, but given the breadth of the screener functionality, the omission is minor.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CNQQC/xueqiu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server