Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

get_rank_sum_daily

Read-onlyIdempotent

Collects daily futures member position rankings (top 5/10/15/20) across four exchanges, returning volume and open interest sums and changes for specified varieties and date ranges.

Instructions

采集四个期货交易所前 5、前 10、前 15、前 20 会员持仓排名数据 注1:由于上期所和中金所只公布每个品种内部的标的排名,没有公布品种的总排名; 所以函数输出的品种排名是由品种中的每个标的加总获得,并不是真实的品种排名列表 注2:大商所只公布了品种排名,未公布标的排名 :param start_day: 开始日期 format:YYYY-MM-DD 或 YYYYMMDD 或 datetime.date对象 为空时为当天 :type start_day: str :param end_day: 结束数据 format:YYYY-MM-DD 或 YYYYMMDD 或 datetime.date对象 为空时为当天 :type end_day: str :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
end_dayNo20210510
start_dayNo20210510
vars_listNo
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: it explains that SHFE and CFFEX variety rankings are aggregated from contract rankings and thus not true rankings, that DCE lacks contract rankings, and it details default date and commodity behavior. These caveats are critical for correctly interpreting the data and go well beyond the readOnly/idempotent hints.

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 front-loaded with its purpose, followed by critical caveats, parameter documentation, and a return schema. It is somewhat lengthy but each section serves a purpose, and the docstring-style format is standard and scannable. It earns a 4 rather than 5 because the return schema section is truncated and includes unnecessary duplication of column types.

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?

The description covers the core caveats, parameter semantics, and a partial return schema. However, it does not list all expected output columns (it stops at vol_top10, missing top15/top20 columns), does not explicitly name all four exchanges, and lacks error/empty-data behavior. Given the tool's complexity and absent output schema, this is a minor but notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the full burden of parameter semantics. It defines start_day and end_day formats (YYYY-MM-DD, YYYYMMDD, datetime.date), defaults to today when empty, and describes vars_list as a list of contract varieties with example ['RB','AL'], defaulting to all commodities when empty. This fully compensates for the schema's lack of descriptions.

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 four futures exchanges, with specific notes about aggregation rules. However, it does not differentiate from sibling tools like get_rank_sum or futures_dce_position_rank, so it stops short of a 5.

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 implies usage for daily futures position ranking queries by describing what data it returns, but it provides no explicit guidance on when to choose this tool over alternatives, nor any exclusions. The notes about data aggregation are more about interpretation than tool selection, so the 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.

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