Skip to main content
Glama
gaokai258

Fee Optimizer MCP

by gaokai258

compare_exchange_fees

Read-only

Compare crypto exchange fees for spot and futures by country, with VIP tiers, token discounts, and maker share, to identify the lower-cost exchange.

Instructions

当用户询问加密货币交易所的手续费、费率比较、或哪个交易所交易成本最低时使用此工具。Use when the user asks about crypto exchange fees, fee comparison, or which exchange has the lowest trading cost. Supports spot and futures, with full VIP tier resolution based on monthly volume. Returns exchanges sorted by weighted effective fee rate, including referral discount and optional token discount (BNB/OKB/GT/MX/BGB/KCS). Requires country code for compliance filtering. Pass monthlyVolumeUsd for accurate VIP tier pricing; pass useToken=true if user holds the exchange's native token; pass makerShare (0-1) if the user trades mostly via limit orders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pairNo交易对,如 BTC/USDT、BTC/FDUSD、BTCUSDT 均可。命中币对级费率/0费促销时按促销价计费(输出 pricing_basis=pair 并附 pair_note),未命中则按整所 VIP 档计费
countryYesISO 3166-1 alpha-2 国家代码,如 CN, US, JP
purposeYes交易类型: spot=现货, futures=期货
languageNo输出语言:en=英文(默认),zh=中文。仅影响 advice/warnings/tradeoffs/reasons 等叙述性文字,数值、字段名与错误码不受影响
useTokenNo是否使用平台币(BNB/OKB/GT/KCS 等)折扣
makerShareNo挂单(maker)成交占比 0-1,默认 0=纯吃单。限价交易者设 0.7-1 更准确
tokenBalanceNo持有的平台币数量(BNB / GT / KCS)。币安现货 VIP1+ 需交易量 AND BNB 持仓(如 VIP1 需 5 BNB,传 0 会降档);Gate 按 30 日交易量 OR GT 持仓取高者;KuCoin 按 30 日交易量(现货/合约门槛分别计算) OR KCS 持仓取高者(如持 1,000 KCS 升 VIP1,10,000 升 VIP2,40,000 升 VIP5,KCS 只会升档不会降档)。不传则按交易量给档并提示持仓影响
accountAssetsUsdNo账户总资产(USD)。OKX/Bybit/Bitget 按 30 日交易量 OR 账户资产取高者定 VIP 档(如 $100,000 资产即 VIP1,$500,000,000 达 VIP9 享负 maker 返佣);Kraken 按平台资产 AOP 参与统一 Tier/Pro 定档($20,000 升 Tier3,$100 万升 Tier9,Tier1-2 无资产通道)。资产只会升档不会降档。不传则按交易量给档并提示资产升档路径
monthlyVolumeUsdNo月交易量(USD),用于匹配 VIP 阶梯

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.47.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavioral context — compliance filtering via country code, full VIP tier resolution, referral and optional token discounts, and a defined sort order. It stops short of 5 because nothing is said about error handling, coverage limits, or rate constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The trigger condition is correctly front-loaded, but the description is essentially written twice in full (Chinese and English), doubling the length without adding information. The parameter hints at the end are useful, but the bilingual duplication is redundant padding.

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 9 parameters, no output schema, and only light annotations, the description carries real weight and handles it: it explains the returned ordering and the referral/token discount components, and flags the country-code compliance requirement. A brief note on what happens when tier inputs are omitted or unknown would close the remaining gap.

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 coverage is 100%, so the baseline is 3. The description goes beyond the schema by telling the agent when to supply monthlyVolumeUsd, useToken=true, and makerShare (0-1), which is decision guidance rather than restated field docs.

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 (compare exchange fees) and scopes it well: spot and futures, VIP tier resolution, output sorted by weighted effective fee rate. That scope implicitly distinguishes it from withdrawal-fee or total-cost siblings, but no sibling is named explicitly, 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger conditions ('Use when the user asks about crypto exchange fees, fee comparison, or which exchange has the lowest trading cost') plus conditional parameter guidance (pass monthlyVolumeUsd, useToken, makerShare under stated circumstances). It lacks any when-not-to-use or named alternative, so it's a strong but not complete 4.

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