AIGroup Market MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AIGroup Market MCPWhat's the latest news on AI stocks?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🤖 AIGroup Market MCP Server
基于 Tushare 和百度新闻的金融数据 MCP(Model Context Protocol)服务器,面向股票、基金、宏观经济、财经资讯等多类查询场景。
📌 项目概览
aigroup-market-mcp 提供统一的金融数据 MCP 接口,适合在 Claude Desktop、RooCode、各类 MCP 客户端或自建 AI 工作流中使用。
核心能力包括:
股票、指数、基金、宏观经济等结构化金融数据查询
财经新闻与 7×24 热点资讯检索
A 股 / 港股 / 美股等多市场支持
技术指标计算与格式化输出
stdio 与 HTTP 两种接入方式
Related MCP server: FinanceMCP
✨ 核心特性
数据能力
Tushare API:股票、基金、宏观经济、财务等权威数据
百度新闻抓取:补充财经新闻资讯与热点信息
多市场覆盖:A 股、美股、港股、外汇、期货、加密货币等
工具能力
行情数据:日 K、分钟 K、指数与技术指标
财务数据:利润表、资产负债表、现金流、财务指标
基金与债券:基金净值、基金经理、可转债等
市场交易数据:大宗交易、资金流向、融资融券、龙虎榜
新闻与宏观数据:财经新闻、7×24 热点、宏观经济指标
技术实现
MCP SDK 1.27.1:使用现代
McpServerAPIZod 参数校验:提高类型安全与输入可靠性
Streamable HTTP 传输:更适合远程部署与服务化接入
通知防抖优化:降低批量场景下的网络噪音
🚀 快速开始
环境要求
Node.js >= 18
npm >= 8
可用的
TUSHARE_TOKEN
方式一:直接运行(推荐)
export TUSHARE_TOKEN=your_tushare_token_here
npx -y aigroup-market-mcp如需 HTTP 模式:
export TUSHARE_TOKEN=your_tushare_token_here
npx -y aigroup-market-mcp-http方式二:本地源码运行
git clone https://github.com/jackdark425/aigroup-market-mcp.git
cd aigroup-market-mcp
npm install
npm run build
export TUSHARE_TOKEN=your_tushare_token_here
npm run start:stdioHTTP 模式:
npm run start:http⚙️ 环境变量
TUSHARE_TOKEN=your_tushare_token_here
TUSHARE_API_URL=https://api.tushare.pro
PORT=3000
NODE_ENV=development获取 Tushare Token:https://tushare.pro
🔌 MCP 客户端配置
使用 npx
{
"mcpServers": {
"aigroup-market-mcp": {
"command": "npx",
"args": ["-y", "aigroup-market-mcp"],
"env": {
"TUSHARE_TOKEN": "your_tushare_token_here"
}
}
}
}使用本地构建结果
{
"mcpServers": {
"aigroup-market-mcp": {
"command": "node",
"args": ["build/index.js"],
"cwd": "/path/to/aigroup-market-mcp",
"env": {
"TUSHARE_TOKEN": "your_tushare_token_here"
}
}
}
}🛠️ 主要工具
工具名称 | 功能描述 | 数据来源 |
| 获取当前东八区时间戳 | 系统生成 |
| 财经媒体新闻搜索 | 百度新闻爬虫 |
| 股票历史行情数据 | Tushare |
| 分钟 K 线数据 | Tushare |
| 股票指数数据 | Tushare |
| 宏观经济数据 | Tushare |
| A 股公司综合表现数据 | Tushare |
| 公募基金数据 | Tushare |
| 基金经理信息查询 | Tushare |
| 可转债数据 | Tushare |
| 大宗交易数据 | Tushare |
| 资金流向数据 | Tushare |
| 融资融券数据 | Tushare |
| 美股公司业绩数据 | Tushare |
| 中证指数成分股数据 | Tushare |
| 龙虎榜机构成交明细 | Tushare |
| 7×24 热点新闻 | Tushare |
📚 文档
🏗️ 项目结构
aigroup-market-mcp/
├── src/
│ ├── index.ts
│ ├── httpServer.ts
│ ├── config.ts
│ ├── core/
│ ├── tools/
│ └── utils/
├── docs/
├── exports/
├── csv_exports/
└── README.md🔧 开发
npm install
npm run build
npm run dev常用脚本:
npm run start:stdionpm run start:httpnpm run devnpm run watch
🤝 贡献
欢迎通过 Issue 或 Pull Request 提交改进建议。
基本流程:
Fork 仓库
创建功能分支
提交更改
推送分支
发起 Pull Request
📄 许可证与使用说明
本项目采用 MIT License。
这意味着你可以在遵守 MIT 许可证文本的前提下,自由地:
使用本项目进行个人或商业用途
复制、修改、合并和分发代码
将本项目作为更大系统的一部分进行二次开发
在保留原始版权与许可证声明的情况下发布衍生版本
请注意:
你必须保留 原仓库中的版权声明与 MIT 许可证文本
本项目按“原样”提供(AS IS),作者不对适销性、特定用途适用性或非侵权提供担保
第三方数据源条款不等于 MIT:使用 Tushare、新闻源等服务时,仍需自行遵守其服务条款、调用限制与数据合规要求
完整授权文本见 LICENSE。
🙏 致谢
参考项目
guangxiangdebizi/FinanceMCP
参考范围: 整体产品方向、金融数据 MCP 组织方式、部分能力设计
数据与生态支持
Tushare:优秀的金融数据服务平台
百度新闻:丰富的财经资讯来源
MCP 社区:为跨平台工具集成提供协议与生态支持
📞 支持
Available Tools
19 toolsbasic_infoBasic InfoA
获取基础信息数据,包括股票列表、交易日历、新股列表、港股列表、美股列表、指数列表、ETF列表
| Name | Required | Description | Default |
|---|---|---|---|
| info_type | Yes | 信息类型,可选值:stock_basic(A股股票列表)、trade_cal(交易日历)、new_share(新股列表)、hk_basic(港股列表)、us_basic(美股列表)、index_basic(指数列表)、etf_basic(ETF列表) | |
| exchange | No | 交易所代码(可选),用于筛选特定交易所的数据。A股可选:SSE(上交所)、SZSE(深交所)、BSE(北交所);港股:HKEX;美股:NASDAQ、NYSE、AMEX | |
| list_status | No | 上市状态(可选),可选值:L(上市)、D(退市)、P(暂停上市),默认L | |
| start_date | No | 起始日期,格式为YYYYMMDD,如'20230101'。用于交易日历查询或新股上市日期筛选 | |
| end_date | No | 结束日期,格式为YYYYMMDD,如'20231231'。用于交易日历查询或新股上市日期筛选 | |
| ts_code | No | 股票代码(可选),用于查询特定股票的信息 | |
| market | No | 市场类型(可选),用于指数列表查询。可选值:SSE(上交所)、SZSE(深交所)、CICC(中金所)、MSCI、CSI(中证)、CNI(国证)、OTH(其他) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It indicates a read-only operation ('获取') but does not disclose other behavioral traits like pagination, rate limits, or dependencies. The description is adequate but lacks depth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that efficiently enumerates the data types. It is not overly verbose, though a clearer separation of items (e.g., bullet points) could improve readability. It avoids fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 7 parameters (1 required) and no output schema, the description covers the core purpose and parameter options but lacks usage guidelines and behavioral details. It is moderately complete but could benefit from additional context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by explaining the meaning of each info_type value and providing context for parameters like exchange and market with specific options, going beyond the schema's brief descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves basic information data with specific types (stock lists, trade calendars, etc.) and uses a strong verb-resource pair. It distinguishes itself from sibling tools that focus on more specific data like stock_data or index_data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not provide any guidance on when to use this tool versus alternatives. It lists the types of data but does not explain scenarios where basic_info is preferable to more specialized sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
block_tradeBlock TradeA
获取大宗交易数据,包括成交价格、成交量、买卖双方营业部等详细信息
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | 股票代码(可选),如'000001.SZ'表示平安银行。不填写则查询全市场大宗交易 | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20231231' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It uses '获取' (get) to imply a read operation, but does not disclose potential side effects, permissions, or data volume. Adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that front-loads the purpose. Every word contributes meaning, and there is no redundancy or fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and no annotations, the description provides basic context but does not explain return format, pagination, or data limits. It is incomplete for a tool that likely returns large datasets.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% (all three parameters have descriptions). Per guidelines, when coverage is high, baseline is 3. The description adds no additional parameter information beyond the schema, so no extra value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves block trade data ('获取大宗交易数据') and lists specific details like price, volume, and trading parties. It distinguishes from siblings like 'stock_data' or 'margin_trade' which cover different data types.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly state when to use this tool versus alternatives. It implies it is for block trade queries, but lacks guidance on context or exclusions, which reduces its helpfulness for an AI agent deciding between siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
company_performanceCompany PerformanceB
获取上市公司综合表现数据,包括业绩预告、业绩快报、财务指标、分红送股、主营业务构成、股东变动数据、管理层信息、公司基本信息、资产负债表、现金流量表、利润表等完整财务报表数据,支持CSV/JSON格式导出
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes | 股票代码,如'000001.SZ'表示平安银行,'600000.SH'表示浦发银行 | |
| data_type | Yes | 数据类型:forecast(业绩预告)、express(业绩快报)、indicators(财务指标-包含盈利能力/偿债能力/营运能力/成长能力等全面指标)、dividend(分红送股)、mainbz(主营业务构成-融合产品/地区/行业)、holder_number(股东人数)、holder_trade(股东增减持)、managers(管理层信息)、audit(财务审计意见)、company_basic(公司基本信息)、balance_basic(核心资产负债表)、balance_all(完整资产负债表)、cashflow_basic(基础现金流)、cashflow_all(完整现金流)、income_basic(核心利润表)、income_all(完整利润表)、share_float(限售股解禁)、repurchase(股票回购)、top10_holders(前十大股东)、top10_floatholders(前十大流通股东)、pledge_stat(股权质押统计)、pledge_detail(股权质押明细) | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20231231' | |
| period | No | 特定报告期,格式为YYYYMMDD,如'20231231'表示2023年年报。指定此参数时将忽略start_date和end_date | |
| output_format | No | 输出格式,可选值:markdown(默认,返回markdown格式文本)、csv(生成CSV文件)、json(生成JSON文件) | |
| export_path | No | 导出文件保存路径(可选)。支持相对路径(相对于项目根目录)或绝对路径。如果不指定,默认保存到项目根目录的 exports 文件夹 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It fails to state whether the tool is read-only, has rate limits, or requires authentication. It only lists data types and export options, without behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single long sentence that enumerates many items, which is not concise. It could be better structured with bullet points or separate lines. However, it does front-load the main purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (7 parameters, many data types), the description lacks completeness. It does not explain the differences between similar data types (e.g., balance_basic vs balance_all) or the return format when output_format is not specified. No output schema to compensate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already describes all parameters. The description adds a list of data types and notes export formats, but these are largely redundant with the parameter descriptions. No significant new meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves comprehensive performance data of listed companies, listing specific data types and export formats. It distinguishes from siblings like HK and US versions by implication (ts_code format for A-shares).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives (e.g., company_performance_hk, company_performance_us). No mention of prerequisites, context, or when not to use. The description only lists capabilities.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
company_performance_hkCompany Performance HkB
获取港股上市公司综合表现数据,包括利润表、资产负债表、现金流量表等财务报表数据
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes | 港股代码,如'00700.HK'表示腾讯控股,'00939.HK'表示建设银行 | |
| data_type | Yes | 数据类型:income(利润表)、balance(资产负债表)、cashflow(现金流量表) | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20231231' | |
| period | No | 特定报告期,格式为YYYYMMDD,如'20231231'表示2023年年报。指定此参数时将忽略start_date和end_date | |
| ind_name | No | 指定财务科目名称,如'营业额'、'毛利'、'除税后溢利'等,不指定则返回全部科目 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears full responsibility. It only states the tool retrieves data, which implies a read operation, but does not disclose any behavioral traits such as authentication requirements, rate limits, data freshness, or pagination. For a financial data tool, additional context about data availability or constraints would be helpful.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is a single, front-loaded sentence that covers the core functionality without extraneous content. Every word is necessary. It is appropriately sized for the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of an output schema, the description does not clarify the return format. It mentions the data types but not the structure or period granularity. The schema descriptions are thorough, but the overall context is minimally sufficient for an agent to use the tool correctly. Some gaps remain, such as expected data range or examples.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all parameters. The description adds no additional meaning beyond the schema; it only mentions the types of financial statements, which are already reflected in the 'data_type' enum. Baseline 3 is appropriate as the description does not degrade parameter understanding but adds no extra value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it retrieves comprehensive performance data for Hong Kong listed companies, including income statements, balance sheets, and cash flow statements. The verb '获取' (get) and resource '港股上市公司综合表现数据' are specific. The sibling tools 'company_performance' and 'company_performance_us' indicate geographic differentiation, and the tool name includes 'hk' to disambiguate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description provides no explicit guidance on when to use this tool versus siblings. It does not mention alternatives or scenarios where this tool should not be used. The context of 'hk' in the name implies it's for Hong Kong stocks, but the description itself lacks any comparative or exclusionary language.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
company_performance_usCompany Performance UsA
获取美股上市公司综合表现数据,包括利润表、资产负债表、现金流量表和财务指标数据
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes | 美股代码,如'NVDA'表示英伟达,'AAPL'表示苹果,'TSLA'表示特斯拉 | |
| data_type | Yes | 数据类型:income(利润表)、balance(资产负债表)、cashflow(现金流量表)、indicator(财务指标) | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20231231' | |
| period | No | 特定报告期,格式为YYYYMMDD,如'20231231'表示2023年年报。指定此参数时将忽略start_date和end_date |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It discloses that the tool returns performance data including financial statements and indicators, which suggests a read operation. However, it does not detail any behavioral traits such as rate limits, authentication requirements, or response format (no output schema).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose. It is front-loaded with the main function and contains no unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 5 parameters with full schema descriptions, and the description lists the types of returned data. This is adequate for an agent to understand the tool's capability. However, it does not explain the optional 'period' parameter's effect beyond what the schema provides, but the schema already covers it. The description is complete enough for a data retrieval tool of moderate complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% as each of the 5 parameters has a description in the schema. The description does not add extra meaning beyond what is in the schema—it merely reiterates the data types. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies '获取美股上市公司综合表现数据' (get comprehensive performance data of US-listed companies) and lists specific data types (income statement, balance sheet, etc.). This clearly identifies the tool's function and distinguishes it from siblings like 'company_performance' and 'company_performance_hk' through the explicit '美股' (US stocks) reference.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for retrieving US stock performance data, but does not provide explicit guidance on when to use this tool versus alternatives (e.g., when to use 'company_performance_hk' for Hong Kong stocks). No exclusions or when-not scenarios are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
convertible_bondConvertible BondA
获取可转债非行情数据,支持两种查询方式:1)使用issue类型按时间范围查询可转债发行数据;2)使用info类型按代码查询可转债详细信息
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | No | 可转债代码,如'110001.SH'表示国电转债,'128001.SZ'表示平安转债。配合info类型使用可查询详细信息 | |
| data_type | Yes | 数据类型,可选值:issue(可转债发行数据)、info(可转债详细信息,通过代码查询) | |
| start_date | No | 起始日期,格式为YYYYMMDD,如'20230101'。用于查询发行数据的公告日期范围 | |
| end_date | No | 结束日期,格式为YYYYMMDD,如'20230131'。用于查询发行数据的公告日期范围 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. It states the tool retrieves data (non-market), implying read-only behavior, but does not explicitly confirm safety, rate limits, or any side effects. This is insufficient for a query tool with no annotation support.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loading the main purpose and enumerating two query methods without redundant words. Every sentence serves a purpose, making it concise and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (4 parameters, no output schema), the description covers the two query patterns and parameter dependencies. It does not describe return format or pagination, but the scope is limited enough that this is acceptable. The presence of detailed schema descriptions partially compensates for omitted output details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, baseline is 3. The description adds value by explaining how parameters relate to the two query modes: issue type uses start_date/end_date, info type uses ts_code. This contextual mapping enhances understanding beyond the schema's individual parameter descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves 'convertible bond non-market data' and explicitly lists two query methods (issue type by time range, info type by code). This specific verb+resource+scope distinguishes it from sibling tools, which focus on stocks, indices, or general financial data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the two internal query modes (issue and info) and when each should be used (issue for time-range queries, info for code queries). However, it offers no guidance on when to use this tool versus sibling tools (e.g., stock_data for market data). This lack of external comparison limits the score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
csi_index_constituentsCsi Index ConstituentsA
获取中证指数公司(CSI)指数(含行业/主题)的区间行情、成分权重与估值/财务摘要(PE TTM、PB、股息率、ROE、ROA、净利率、每股经营现金流、资产负债率、营收同比、资产周转率、毛利率、三费比率、现金分红率)。
| Name | Required | Description | Default |
|---|---|---|---|
| index_code | Yes | 指数代码(仅限CSI,含行业/主题)。请使用 .SH/.SZ 形式且能在 Tushare index_weight 查询到权重的代码,例如中证证券公司 '399975.SZ';也支持宽基 '000300.SH'、'000905.SH',以及 'sh000300'、'sz399006' 形式 | |
| start_date | Yes | 开始日期,YYYYMMDD 或 YYYY-MM-DD | |
| end_date | Yes | 结束日期,YYYYMMDD 或 YYYY-MM-DD |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden for behavioral disclosure. It describes the data returned (market data, weights, financial metrics) but does not address read-only nature, destructive potential, rate limits, or data freshness. The description is transparent about the output content but lacks behavioral warnings or constraints beyond the stated purpose.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that efficiently conveys the tool's purpose and the extensive list of output metrics. While compact, it could benefit from structuring the financial metrics as a bulleted list for readability. No redundant information is present, and the key action verb is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (multiple output metrics per constituent) and absence of an output schema, the description adequately lists the financial metrics but does not explain the output format (e.g., time-series vs. snapshot, per-constituent structure). The tool likely returns a table of constituents with weights and metrics, but this is not clarified. More detail on the data shape and temporal behavior would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with each parameter described. The description adds value beyond the schema by clarifying that index_code is limited to CSI indices (including industry/theme) and lists accepted formats (e.g., .SH/.SZ, sh000300, sz399006). It also specifies that the tool provides detailed financial metrics, which helps agents understand what the parameters will yield.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description precisely states the tool retrieves CSI index constituents data including market quotes, weights, and a comprehensive list of financial metrics. It clearly differentiates from sibling tools like stock_data (individual stocks) and index_data (pure index values) by specifying CSI-specific constituents with detailed valuation and financial summaries.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description implies use for CSI index constituent data but provides no explicit guidance on when to use this tool versus alternatives (e.g., index_data for broader index information, stock_data for individual stocks). No when-not-to-use or exclusion criteria are stated, leaving the agent to infer usage context from the purpose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
current_timestamp🕐 当前时间戳A
获取当前东八区(中国时区)的时间戳,包括年月日时分秒信息
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 时间格式:datetime(完整日期时间)、date(仅日期)、time(仅时间)、timestamp(Unix时间戳)、readable(可读格式) | datetime |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It specifies the timezone and that the output includes year/month/day/hour/minute/second. No side effects or additional traits needed for a simple read tool. Could mention it's non-mutating but acceptable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with key info (timezone and what it returns). No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (1 optional param, no output schema), the description is fully complete. It covers the return value and timezone, no gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and schema describes the format parameter. The description adds context about timezone and full datetime info, which enhances understanding beyond the schema's enum list.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool returns the current timestamp in East Eight Zone (China time zone) with full datetime info, using a specific verb '获取' and resource '时间戳'. It is distinct from sibling tools which are all financial data tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit when-to-use or when-not-to-use guidance is provided. However, the context of sibling tools (all financial) implies it's for general timestamp needs. Lacks alternative suggestions or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
dragon_tiger_instDragon Tiger InstB
龙虎榜机构成交明细(top_inst)。必填:交易日期;可选:股票TS代码。返回表格包含买入/卖出/净额及上榜理由等。
| Name | Required | Description | Default |
|---|---|---|---|
| trade_date | Yes | 交易日期,格式YYYYMMDD | |
| ts_code | No | 可选,股票TS代码,如 000001.SZ |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility for behavioral disclosure. It does not mention rate limits, data freshness, authentication requirements, or any side effects. The description only states what data is returned, leaving the agent unaware of potential constraints or behaviors.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise (two sentences) and front-loaded with the key purpose and parameters. It avoids unnecessary words. However, it could be slightly more structured by separating required and optional parameters more clearly, but it remains efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has only two parameters and no output schema, the description provides adequate context: purpose, required/optional parameters, and return content. However, it lacks usage guidelines and behavioral transparency, which are gaps for a tool that might involve rate limits or authentication. Overall, it meets minimum viability but is not comprehensive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with both parameters described. The description adds context by explicitly marking trade_date as required and ts_code as optional, and it explains the return fields (buy/sell/net amounts, reasons). This goes beyond the schema, which only provides type and format for trade_date.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: institutional transaction details of the 'dragon and tiger' list (top_inst). It identifies the required and optional parameters and outlines the return content (buy/sell/net amounts, reasons). This distinguishes it from sibling tools that cover general stock data or other financial metrics.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions required and optional parameters but provides no guidance on when to use this tool over siblings. There is no discussion of context, prerequisites, or alternative tools for similar queries. The user must infer usage from the purpose alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
finance_newsFinance NewsA
通过真正的搜索API获取主流财经媒体的新闻内容,支持单个或多个关键词智能搜索
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 搜索关键词,支持单个关键词如'药明康德'、'腾讯',或多个关键词用空格分开如'美联储 加息'、'比特币 监管'等。系统会智能搜索相关历史新闻 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility for behavioral disclosure. It mentions using a 'real search API' and 'intelligent search', but lacks details on rate limits, pagination, result count, historical range, or any side effects. This vagueness leaves agents uncertain about important behavioral traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence in Chinese that effectively communicates the main purpose and capability. It is front-loaded and contains no redundant information, earning its place efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has only one parameter and no output schema, the description provides adequate context about what it does and the data source. However, it lacks information about return format, result limits, or when not to use it, leaving some gaps for a search tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single required parameter 'query' has a detailed description in the schema with examples and explanation of keyword usage. The tool description adds value by specifying the API source ('real search API') and the media type ('mainstream financial media'), complementing the schema's coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool retrieves news content from mainstream financial media via a real search API, supporting single or multiple keyword searches. This is specific and distinct from sibling tools like hot_news_7x24 (real-time hot news) and basic_info (basic information), making its purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for keyword-based search of financial news but does not explicitly state when to use it versus alternatives like hot_news_7x24 for real-time news or other tools. No exclusions or prerequisites are mentioned, so guidance is only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fund_dataFund DataA
获取公募基金全面数据,包括基金列表、基金经理、基金净值、基金分红、基金持仓等数据,支持CSV/JSON格式导出
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes | 基金代码,如'150018.SZ'表示银华深证100分级,'001753.OF'表示场外基金。注意:查询基金列表(basic)时必须提供此参数 | |
| data_type | Yes | 数据类型,可选值:basic(基金列表)、manager(基金经理)、nav(基金净值)、dividend(基金分红)、portfolio(基金持仓)、all(全部数据) | |
| start_date | No | 起始日期,格式为YYYYMMDD,如'20230101'。重要:对于基金持仓(portfolio)数据和基金净值(nav)数据,如果不指定时间参数,将返回所有历史数据,可能数据量很大。建议指定时间范围或使用period参数 | |
| end_date | No | 结束日期,格式为YYYYMMDD,如'20231231'。配合start_date使用可限制数据范围 | |
| period | No | 特定报告期,格式为YYYYMMDD。例如:'20231231'表示2023年年报,'20240630'表示2024年中报,'20220630'表示2022年三季报,'20240331'表示2024年一季报。指定此参数时将忽略start_date和end_date | |
| output_format | No | 输出格式,可选值:markdown(默认,返回markdown格式文本)、csv(生成CSV文件)、json(生成JSON文件) | |
| export_path | No | 导出文件保存路径(可选)。支持相对路径(相对于项目根目录)或绝对路径。如果不指定,默认保存到项目根目录的 exports 文件夹 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It lists supported data types and output formats, implying read-only behavior. However, it does not explicitly state that it is read-only or mention any side effects, rate limits, or pagination. The description is adequate but not exhaustive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, very concise, and front-loaded with the core functionality. It covers the main purpose without unnecessary words. Every part is earned, although it could be slightly expanded to include important caveats.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (7 parameters, 1 enum, no output schema), the description is incomplete. It does not explain return value structure, data formats, or potential performance implications. The schema partially fills gaps with parameter descriptions, but the description lacks overall context for an AI agent to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All parameters are described in the schema with complete coverage. The description adds little beyond the schema, merely summarizing data types and output formats. Since schema coverage is 100%, baseline is 3; the description does not significantly enhance parameter understanding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves comprehensive fund data and lists specific data types (fund list, managers, NAV, dividends, holdings). It distinguishes itself from sibling tools like stock_data or company_performance by focusing specifically on public offering funds.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not provide explicit guidance on when to use this tool versus alternatives. It lacks information about prerequisites, handling large datasets, or fallback options. While the schema includes a note about large data for certain types, the description itself does not guide usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
fund_manager_by_nameFund Manager By NameA
根据基金经理姓名查询基金经理详细信息,包括管理的基金列表、个人背景、任职经历等
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 基金经理姓名,如'张凯'、'刘彦春'等 | |
| ann_date | No | 公告日期,格式为YYYYMMDD,如'20230101'。用于限制查询的公告日期 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It mentions the returned information but does not cover error handling, data freshness, or any side effects. The description is adequate for a simple read query but lacks depth.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence in Chinese that front-loads the purpose. It is efficient but could be slightly more structured (e.g., bullet points) for clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of an output schema, the description provides a high-level overview of returned fields. It is adequate but does not mention handling of empty results, pagination, or errors. Slightly more detail would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the description does not need to re-explain parameters. It does not add any additional meaning beyond the schema descriptions for 'name' and 'ann_date'. Baseline score of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool queries fund manager details by name, including specific outputs like managed fund list, personal background, and work experience. It distinguishes from sibling tools which focus on different financial data types.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when querying fund manager details by name but lacks explicit guidance on when to use this tool versus alternatives or any preconditions or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hot_news_7x24Hot News 7x24B
7x24热点:从Tushare新闻接口获取最新的财经、政治、科技、体育、娱乐、军事、社会、国际等新闻
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数,默认100,上限1500。接口按此数量向Tushare请求后再进行内容相似度去重 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must carry full burden. It mentions fetching from Tushare and content similarity dedup, but fails to disclose rate limits, data freshness, authentication needs, or any destructive side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single, front-loaded sentence with no wasted words. Efficiently communicates the tool's purpose and scope.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has one simple parameter and no output schema. The description covers basic purpose but lacks details about return format or expected output structure, which would be helpful for a news-fetching tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single parameter 'limit'. The description adds no additional meaning beyond the schema, which already explains default, upper bound, and dedup behavior. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches hot news from Tushare news interface across multiple categories. It uses a specific verb ('获取') and resource ('新闻'), but does not explicitly differentiate from sibling tools like finance_news, which may be a subset.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives like finance_news or basic_info. Missing information about prerequisites, limitations, or scenarios where this tool is preferred.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
index_dataIndex DataB
获取指定股票指数的数据,例如上证指数、深证成指等,支持CSV/JSON格式导出
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 指数代码,如'000001.SH'表示上证指数,'399001.SZ'表示深证成指 | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20230131' | |
| output_format | No | 输出格式,可选值:markdown(默认,返回markdown格式文本)、csv(生成CSV文件)、json(生成JSON文件) | |
| export_path | No | 导出文件保存路径(可选)。支持相对路径(相对于项目根目录)或绝对路径。如果不指定,默认保存到项目根目录的 exports 文件夹 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the burden. It only states basic functionality (retrieve data, export formats) but omits details like read-only nature, required permissions, error behavior, or data structure returned. This is insufficient for a full behavioral understanding.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the primary purpose. It efficiently conveys core information without extraneous details, though it could benefit from structured presentation of key points.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lacks information about the return value or output format beyond mention of CSV/JSON export. Without an output schema, the agent does not know what data fields (e.g., OHLCV, date) are returned. This is a significant gap for a data retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and parameters are well-described in the schema. The description adds minimal additional value beyond examples (code format, export types). Since schema already documents parameters, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves data for a specified stock index, provides examples (Shanghai Composite, Shenzhen Component), and mentions export formats. This effectively distinguishes it from sibling tools like stock_data (individual stocks) and fund_data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. While the name implies index data usage, there is no explicit comparison to sibling tools or mention of exclusions. The agent must infer context from the title alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
macro_econMacro EconB
获取宏观经济数据,包括Shibor利率、LPR利率、GDP、CPI、PPI、货币供应量、PMI、社融数据、Shibor报价、Libor、Hibor等,支持CSV/JSON格式导出
| Name | Required | Description | Default |
|---|---|---|---|
| indicator | Yes | 指标类型,可选值:shibor(上海银行间同业拆放利率)、lpr(贷款市场报价利率)、gdp(国内生产总值)、cpi(居民消费价格指数)、ppi(工业生产者出厂价格指数)、cn_m(货币供应量)、cn_pmi(采购经理指数)、sf_month(社会融资规模增量)、shibor_quote(Shibor银行报价数据)、libor(伦敦银行间同业拆借利率)、hibor(香港银行间同业拆借利率) | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20230131' | |
| output_format | No | 输出格式,可选值:markdown(默认,返回markdown格式文本)、csv(生成CSV文件)、json(生成JSON文件) | |
| export_path | No | 导出文件保存路径(可选)。支持相对路径(相对于项目根目录)或绝对路径。如果不指定,默认保存到项目根目录的 exports 文件夹 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It fails to mention key traits: whether data is real-time or historical, rate limits, authorization needs, or how the markdown default output works. The mention of export formats is helpful but insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that efficiently communicates purpose and supported indicators. It could be better structured with more front-loaded key points, but it avoids wordiness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool retrieves multiple macroeconomic indicators with 5 parameters and no output schema, the description lacks completeness. It does not explain return values, pagination, data volume, or how results are structured. Crucial context for an agent to use this tool effectively is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with detailed parameter descriptions. The tool description lists example indicators but does not add meaningful beyond what the schema already provides. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool as retrieving macroeconomic data, enumerating a comprehensive list of indicators (Shibor, LPR, GDP, CPI, etc.), and explicitly states support for CSV/JSON export. This distinctively separates it from sibling tools focused on stock, fund, company, or other specific data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description does not mention prerequisites, limitations, or scenarios where this tool is preferable to others like stock_data or finance_news.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
margin_tradeMargin TradeB
获取融资融券相关数据,支持多种数据类型:标的股票、交易汇总、交易明细、转融券汇总等
| Name | Required | Description | Default |
|---|---|---|---|
| data_type | Yes | 数据类型,可选值:margin_secs(融资融券标的股票)、margin(融资融券交易汇总)、margin_detail(融资融券交易明细)、slb_len_mm(做市借券交易汇总) | |
| ts_code | No | 股票代码,如'000001.SZ'、'600000.SH'等(部分接口可选) | |
| start_date | Yes | 起始日期,格式YYYYMMDD,如'20240101' | |
| end_date | No | 结束日期,格式YYYYMMDD,如'20240131'(可选,默认为当前日期) | |
| exchange | No | 交易所代码,可选值:SSE(上海证券交易所)、SZSE(深圳证券交易所)、BSE(北京证券交易所),仅margin_secs接口使用 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It only states the basic function of getting data, without disclosing behavioral traits such as read-only nature, rate limits, authentication requirements, or error handling. This is insufficient for a tool with multiple parameters and data types.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that is concise and front-loaded with the main purpose. It efficiently lists supported data types, though a bulleted list could improve readability. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 5 parameters and no output schema. The description does not explain return values, pagination, or how to interpret the data types. For a data retrieval tool, this is a significant omission, leaving the agent without guidance on what to expect from the response.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so baseline is 3. The description adds a high-level categorization of data types ('融资融券标的股票、交易汇总、交易明细等'), which helps group parameters but does not add syntax or format details beyond what the schema already provides for each parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves margin trading data ('获取融资融券相关数据') and lists multiple data types (标的股票、交易汇总等). The title 'Margin Trade' aligns. It distinguishes from sibling tools by focusing on a specific financial domain not covered by others like basic_info or stock_data.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives is provided. The description implies usage for margin trading data, but it does not mention when not to use it or suggest other tools for related data needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
money_flowMoney FlowB
获取个股和大盘资金流向数据,包括主力资金、超大单、大单、中单、小单的净流入净额和净占比数据
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | No | 股票代码,如'000001.SZ'表示平安银行个股资金流向。不填写则查询大盘资金流向数据 | |
| start_date | Yes | 起始日期,格式为YYYYMMDD,如'20240901' | |
| end_date | Yes | 结束日期,格式为YYYYMMDD,如'20240930' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must fully disclose behavior. It lists data types but omits key traits: read-only nature, data granularity (daily?), rate limits, authentication needs, and error handling. The description is inadequate for a tool with no annotation support.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence that front-loads purpose and includes details on data types. However, it could be slightly clearer by separating purpose from data items.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description should explain return format and data frequency. It describes the data fields adequately but misses behavioral context like read-only and update timing. Adequate but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, baseline 3. The description adds value by explaining that omitting ts_code queries market-level data, which clarifies the optional parameter. However, it does not elaborate on date format beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves capital flow data for individual stocks and market, specifying the types of flows (主力, 超大单, etc.). It distinguishes from siblings like stock_data or index_data by focusing on money flow specifically.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage via ts_code optionality for stock vs market, but lacks explicit guidance on when to use this tool versus alternatives like stock_data or margin_trade. No exclusions or when-not-to-use are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stock_dataStock DataC
获取指定股票/加密资产的历史行情数据,支持A股、美股、港股、外汇、期货、基金、债券逆回购、可转债、期权、加密货币(通过Binance)
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票/合约/加密资产代码。股票示例:'000001.SZ'(A股平安银行)、'AAPL'(美股)、'00700.HK'(港股)、'USDCNH.FXCM'(外汇)、'CU2501.SHF'(期货)、'159919.SZ'(基金)、'204001.SH'(逆回购)、'113008.SH'(可转债)、'10001313.SH'(期权)。加密示例(需 market_type=crypto,Binance):推荐标准写法 'BTCUSDT'、'ETHUSDT'、'USDCUSDT'、'FDUSDUSDT' 等;也兼容 'BTC-USDT' 或 'BTC/USDT'。常见报价币:USDT、USDC、FDUSD、TUSD、BUSD、BTC、ETH。注意:若写 'USD' 会自动映射为 'USDT'(如 'BTC-USD' → 'BTCUSDT')。 | |
| market_type | Yes | 市场类型(必需),可选值:cn(A股),us(美股),hk(港股),fx(外汇),futures(期货),fund(基金),repo(债券逆回购),convertible_bond(可转债),options(期权),crypto(加密货币/Binance) | |
| start_date | No | 起始日期,格式为YYYYMMDD,如'20230101' | |
| end_date | No | 结束日期,格式为YYYYMMDD,如'20230131' | |
| indicators | No | 需要计算的技术指标,多个指标用空格分隔。支持的指标:macd(MACD指标)、rsi(相对强弱指标)、kdj(随机指标)、boll(布林带)、ma(均线指标)。必须明确指定参数,例如:'macd(12,26,9) rsi(14) kdj(9,3,3) boll(20,2) ma(10)' | |
| output_format | No | 输出格式,可选值:markdown(默认,返回markdown格式文本)、csv(生成CSV文件)、json(生成JSON文件) | |
| export_path | No | 导出文件保存路径(可选)。支持相对路径(相对于项目根目录)或绝对路径。如果不指定,默认保存到项目根目录的 exports 文件夹 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description is the sole source of behavioral transparency. It does not disclose data source freshness (real-time vs. delayed), rate limits, or whether the tool is read-only. The mention of 'via Binance' for crypto hints at a specific source but lacks detail.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that efficiently communicates the core action and scope. It is front-loaded and to the point, with no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (7 parameters, multiple markets, no output schema), the description is incomplete. It fails to explain return formats, data granularity (daily, hourly?), or any limitations. The comprehensive schema partially compensates, but the description leaves gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the individual parameter descriptions in the schema are already comprehensive. The tool-level description adds no extra parameter context beyond summarizing the tool's purpose. Thus, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves historical market data for stocks and crypto assets, listing supported markets (A股, 美股, etc.). It is specific about the verb and resource but does not differentiate from sibling tools like stock_data_minutes, which may imply a different granularity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives such as basic_info, fund_data, or stock_data_minutes. The description does not mention any prerequisites or exclude scenarios, leaving the agent to infer usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stock_data_minutesStock Data MinutesB
获取分钟K线数据:A股/加密。支持1MIN/5MIN/15MIN/30MIN/60MIN,时间范围需提供起止日期时间
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 股票代码,如 '600519.SH' 或 '000001.SZ' | |
| market_type | Yes | 市场类型:'cn'(A股,Tushare)、'crypto'(加密币对,Binance) | |
| start_datetime | Yes | 起始日期时间,支持 'YYYYMMDDHHmmss' 或 'YYYY-MM-DD HH:mm:ss' | |
| end_datetime | Yes | 结束日期时间,支持 'YYYYMMDDHHmmss' 或 'YYYY-MM-DD HH:mm:ss' | |
| freq | Yes | 分钟周期:1MIN/5MIN/15MIN/30MIN/60MIN(不区分大小写) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must cover behavioral traits. It states the tool fetches K-line data but does not mention side effects, rate limits, response format, or that it is a read-only operation. The description adds minimal context beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It is appropriately concise and front-loaded with the key action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lacks information about the output shape (e.g., OHLCV fields), which is critical for a data retrieval tool with no output schema. It also omits any guidance on pagination or limits, making it incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions. The tool description repeats frequency support and datetime requirement already in the schema, adding no new meaning. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it gets minute K-line data for A-shares and crypto with specific frequencies. It effectively distinguishes from sibling tools like stock_data (likely daily data), but explicit differentiation would be stronger.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions the need for start/end datetime but provides no guidance on when to use this tool versus alternatives (e.g., stock_data for daily data) or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
每个工具针对独立的金融数据类型(如股票行情、基本面、新闻、基金等),边界清晰。即使有多个指数相关工具(如index_data和csi_index_constituents),它们分别覆盖不同指数范围和详细程度,不会混淆。
所有工具名称采用蛇形命名法(snake_case),且多为名词短语(如basic_info, stock_data),模式一致。但少数名称包含数字(hot_news_7x24)或缩写(csi_index_constituents),略有偏差,整体仍保持良好一致性。
19个工具覆盖股票、基金、债券、宏观经济、新闻等多个子领域,每个工具承担明确的数据获取职责,没有冗余。虽然数量略高于典型范围(3-15),但对于全面的金融市场数据服务而言,仍然合理。
工具集覆盖了行情、基本面、新闻、宏观、资金流向等主要数据维度,基本满足投资分析需求。但缺少针对行业板块、期货基本面等特定数据的工具,存在细微缺口,整体较为全面。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server giving AI agents one-connection access to China A-share market intelligence: financials,
Financial data MCP for market, company, news, macro, and US Congress research.
China A-share market data for research, backtesting and AI agents via MCP.
MCP server for stocksense-ai documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol server that provides intelligent stock data assistance through Tushare's financial data API, enabling users to query comprehensive stock information, financial data, and market indices through natural language.49MIT
- AlicenseBqualityDmaintenanceProfessional financial data MCP server integrating Tushare API, providing real-time financial data and technical indicators analysis for stocks, indices, funds, bonds, and cryptocurrencies across multiple markets (A-share, US, HK, crypto).1875MIT
- AlicenseAqualityDmaintenanceA financial data server integrating Tushare API to provide sector indexes, market trends, and constituent stock data from East Money and Flush. It enables MCP-compatible clients to query comprehensive industry and concept block information through stdio or HTTP modes.62941Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA MCP server that provides HTTP-based access to Tushare financial data, enabling AI assistants to query stocks, indices, funds, and more.2MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/jackdark425/aigroup-market-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server