Skip to main content
Glama
gaokai258

Fee Optimizer MCP

by gaokai258

get_withdrawal_fees

Read-only

Compare crypto withdrawal and network fees across exchanges and chains, check supported routes, and find lower-cost open options before moving coins.

Instructions

当用户询问提币手续费、转出/提现到钱包或其他交易所哪个网络便宜、USDT/USDC 走 TRC-20/ERC-20/BEP20/Arbitrum/Optimism/Base/Polygon/Solana/Avalanche 各要多少、某交易所是否支持某链、BTC/ETH/SOL/XRP/DOGE 等原生币提币费、链上转账费对比时使用。Use when the user asks which exchange has the cheapest crypto withdrawal / network fee for an asset on a given chain, whether a venue supports a network, or wants to compare on-chain transfer costs before moving coins to a wallet or another exchange. Returns every supported route per venue with the fee in native units AND USD (converted from a dated price snapshot), marks wallets currently suspended, names each venue's cheapest open route, and ranks venues with an overall best pick plus saving vs the most expensive one. Covers 16 assets (BTC, ETH, USDT, USDC, SOL, XRP, DOGE, LTC, TRX, ADA, AVAX, DOT, LINK, BCH, TON, POL) across Tron/Ethereum/BSC/Arbitrum/Optimism/Base/Polygon/Avalanche/Solana/Ton/native chains at all venues with routes (Coinbase only lists BTC/ETH/USDT/USDC — dynamic network-fee estimates). Fees are exchange-charged, pass-through on-chain costs (Kraken/KuCoin dynamic), not trading fees — for the all-in cost of a trade use compare_total_cost instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetNo资产符号,默认 USDT。支持:BTC/ETH/USDT/USDC/SOL/XRP/DOGE/LTC/TRX/ADA/AVAX/DOT/LINK/BCH/TON/POL
countryNoISO 3166-1 alpha-2 国家代码;传入后按合规可用性过滤交易所(如 US 只剩 okx/gate/kraken)
networkNo只看指定网络并接受常见别名:TRC-20(trc20/tron)、ERC-20(erc20/ethereum)、BEP20(bsc)、Arbitrum(arb)、Optimism(op)、Base、Polygon(matic)、Avalanche C(avax/c-chain)、Solana(sol)、TON、AssetHub 等;省略则返回该资产全部网络
languageNo输出语言:en=英文(默认),zh=中文。仅影响 advice/warnings/tradeoffs/reasons 等叙述性文字,数值、字段名与错误码不受影响
exchangesNo只查询指定交易所(如 ['binance','okx']);默认返回全部 9 家(合约比较不含 Coinbase)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.47.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only assert readOnlyHint=true and openWorldHint=false. The description adds substantive behavior: per-venue route listing, fees in native units AND USD from a dated price snapshot, suspended-wallet marking, cheapest-open-route naming, venue ranking with a best pick and savings figure, plus the critical semantic that fees are exchange-charged pass-through costs (dynamic at Kraken/KuCoin) rather than trading fees.

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-loads trigger conditions before capabilities, which is the right ordering for retrieval. It is long, and the Chinese/English duplication roughly doubles the length, but each block serves a distinct audience and no sentence is pure padding.

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

Completeness5/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 still specifies what is returned (routes per venue, native and USD fees, suspensions, cheapest route, ranked venues with a best pick and savings). Combined with the fee-semantics caveat and the sibling handoff, an agent has everything needed to call and interpret this read-only lookup correctly.

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 the schema already documents asset, country, network, language and exchanges in detail, including network aliases and the language enum's limited scope. The description largely restates the covered asset and network lists, adding only the note that Coinbase lists just BTC/ETH/USDT/USDC with dynamic fee estimates — a minor increment over structured data, so the baseline 3 applies.

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?

States a specific verb (get) and resource (withdrawal fees) and enumerates the exact questions it answers — cheapest network, per-asset per-chain fees, venue network support, on-chain transfer cost comparison. It explicitly distinguishes itself from compare_total_cost, which covers the all-in cost of a trade, so an agent can separate it from siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives concrete when-to-use triggers in two languages (moving coins to a wallet or another exchange, comparing on-chain costs) and names the alternative tool plus the condition that selects it ('for the all-in cost of a trade use compare_total_cost instead'). This is explicit routing, not implication.

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