Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

get_rank_sum

Read-onlyIdempotent

Retrieve aggregated futures member position rankings for top 5/10/15/20 from five Chinese exchanges. Filter by date and contract varieties to get volume and open interest sums.

Instructions

采集五个期货交易所前5、前10、前15、前20会员持仓排名数据 注1:由于上期所和中金所只公布每个品种内部的标的排名, 没有公布品种的总排名; 所以函数输出的品种排名是由品种中的每个标的加总获得, 并不是真实的品种排名列表 注2:大商所只公布了品种排名, 未公布标的排名 :param date: 日期 format: YYYY-MM-DD 或 YYYYMMDD 或 datetime.date对象 为空时为当天 :type date: date :param vars_list: 合约品种如 ['RB', 'AL'] 等列表为空时为所有商品 :type vars_list: list :return: 持仓排名数据 :rtype: pandas.DataFrame symbol 标的合约 string var 商品品种 string vol_top5 成交量前5会员成交量总和 int vol_chg_top5 成交量前5会员成交量变化总和 int long_open_interest_top5 持多单前5会员持多单总和 int long_open_interest_chg_top5 持多单前5会员持多单变化总和 int short_open_interest_top5 持空单前5会员持空单总和 int short_open_interest_chg_top5 持空单前5会员持空单变化总和 int vol_top10 成交量前10会员成交量总和 int

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo20210525
vars_listNo
Behavior4/5

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

The annotations already mark this as readOnly, idempotent, and non-destructive, and the description adds meaningful behavioral context: note 1 explains that SHFE and CFFEX rankings are aggregated from instrument totals rather than being true variety totals, and note 2 notes that DCE does not publish instrument-level rankings. This goes beyond the structured fields and sets accurate expectations about data limitations.

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 structured with a purpose line, two important notes, then parameter/return documentation. Each section serves a clear function and the most critical caveats are front-loaded. It is longer than a typical description, but the extensive column listing is useful given there is no output schema, and nothing seems redundant.

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

Completeness3/5

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

For a read-only retrieval tool with two parameters, it explains parameter formats, return type, and key aggregation caveats. However, the return column listing is incomplete (stops at vol_top10 even though the title implies top15/top20 fields), and the five exchanges are not explicitly named. Since there is no output schema, these gaps leave some ambiguity for an agent.

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?

The schema gives no descriptions for either parameter, so the description carries the full burden. It explains acceptable date formats (YYYY-MM-DD, YYYYMMDD, datetime.date) and the empty-date behavior (defaults to today), as well as vars_list format with an example (['RB','AL']) and the empty-list behavior (all commodities). This compensates well for the 0% schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it collects top 5/10/15/20 member position ranking data from five futures exchanges (采集五个期货交易所前5、前10、前15、前20会员持仓排名数据). The caveats (注1 and 注2) further specify what is being returned at an aggregated level. However, it does not explicitly contrast this with sibling per-exchange ranking tools, so it stops short of a perfect score.

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?

The description provides useful context about the aggregation methodology and exchange-specific limitations, which indirectly helps an agent infer when to use this tool (e.g., when cross-exchange aggregated rankings are needed). It does not explicitly say 'use this when' or 'use alternatives instead,' so the guidance remains implied rather than explicit.

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/kevynf/akbridge'

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