Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

get_dce_rank_table

Read-onlyIdempotent

Retrieve Dalian Commodity Exchange top 20 member volume, long, and short position rankings by date and contract variety for futures market analysis.

Instructions

大连商品交易所前 20 会员持仓排名数据明细,由于交易所网站问题,需要 20200720 之后才有数据 注:该交易所只公布标的合约排名 :param date: 日期 format: YYYY-MM-DD 或 YYYYMMDD 或 datetime.date 对象,为空时为当天 :param vars_list: 合约品种如 RB、AL 等列表为空时为所有商品,数据从 20060104 开始,每交易日 16:30 左右更新数据 :return: 持仓排名 :rtype: pandas.DataFrame

返回值格式 rank 排名 int vol_party_name 成交量排序的当前名次会员 string(中文) vol 该会员成交量 int vol_chg 该会员成交量变化量 int long_party_name 持多单排序的当前名次会员 string(中文) long_open_interest 该会员持多单 int long_open_interest_chg 该会员持多单变化量 int short_party_name 持空单排序的当前名次会员 string(中文) short_open_interest 该会员持空单 int short_open_interest_chg 该会员持空单变化量 int symbol 标的合约 string var 品种 string date 日期 string YYYYMMDD

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo20230706
vars_listNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/destructive=false, so safety is covered. The description adds meaningful behavioral context beyond that: the 20200720 availability floor, the underlying-contract-only limitation, and the ~16:30 trading-day update cadence.

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?

Front-loaded with the purpose, followed by the data-availability caveat and then parameter notes. It is efficient overall, though the lengthy return-format enumeration (12 fields) makes it longer than strictly necessary for selection.

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?

With no output schema, the description compensates by listing the return columns (rank, vol_party_name, long/short open interest, symbol, var, date), and it documents the availability window and both parameters. An agent has enough to invoke and interpret it correctly.

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 carries the parameter burden and does so reasonably: date accepts YYYY-MM-DD, YYYYMMDD, or datetime.date and defaults to today; vars_list accepts contract codes like RB/AL and defaults to all commodities. It explains both parameters clearly.

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?

States a specific verb+resource: DCE (大连商品交易所) top-20 member position ranking detail. It clearly identifies the exchange and data type, though it doesn't explicitly name the sibling rank-table tools (get_cffex_rank_table, get_shfe_rank_table, futures_dce_position_rank) it should be chosen over.

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?

Provides useful usage constraints: data only available after 20200720, the exchange only publishes underlying-contract rankings, and historical data starts 20060104 with daily updates around 16:30. However, it never states when to prefer this tool over the CZCE/SHFE/CFFEX rank-table siblings.

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

Deploy Server

Other Tools