Skip to main content
Glama
jackdark425

AIGroup Market MCP

by jackdark425

Margin Trade

margin_trade

Retrieve margin trading data including marginable securities, trading summaries, and transaction details. Specify date range and optional stock code to get targeted financial data.

Instructions

获取融资融券相关数据,支持多种数据类型:标的股票、交易汇总、交易明细、转融券汇总等

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_typeYes数据类型,可选值:margin_secs(融资融券标的股票)、margin(融资融券交易汇总)、margin_detail(融资融券交易明细)、slb_len_mm(做市借券交易汇总)
ts_codeNo股票代码,如'000001.SZ'、'600000.SH'等(部分接口可选)
start_dateYes起始日期,格式YYYYMMDD,如'20240101'
end_dateNo结束日期,格式YYYYMMDD,如'20240131'(可选,默认为当前日期)
exchangeNo交易所代码,可选值:SSE(上海证券交易所)、SZSE(深圳证券交易所)、BSE(北京证券交易所),仅margin_secs接口使用
Behavior2/5

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.

Conciseness4/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

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/jackdark425/aigroup-market-mcp'

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