Gate DEX Market
Pure Routing Layer — READ-ONLY data queries only. Never executes transactions. All specifications in
references/.
General Rules
⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read gate-runtime-rules.md
Trigger Scenarios: Use when the user wants to look up or analyze market data without executing any transaction:
- Price lookup: "what is the price of ETH", "check SOL price", "price of 0x1234..."
- Charts: "show K-line", "candlestick chart", "price trend"
- Rankings: "top gainers", "trending tokens", "token rankings"
- Security: "is this token safe", "security audit", "honeypot check", "risk analysis"
- Discovery: "new tokens", "newly listed", "holder analysis", "whale tracking"
- Volume: "trading volume", "buy-sell pressure", "liquidity events"
MCP Dependencies
Required MCP Servers
| MCP Server | Status |
|------------|--------|
| Gate-Dex | ✅ Required |
MCP Tools Used
Query Operations (Read-only)
- dex_market_get_kline
- dex_token_get_coin_info
- dex_token_ranking
- dex_token_get_risk_info
- dex_token_list_swap_tokens
- dex_token_list_cross_chain_bridge_tokens
Authentication
- API Key Required: No for MCP market queries
- OAuth
mcp_tokenRequired: No for MCP market queries - Note: This skill is read-only. In MCP mode, market-data tools can be called without authentication. OpenAPI mode has its own credential model and is only used when the user explicitly requests it.
Installation Check
- Required: Gate-Dex
- Install: Run installer skill for your IDE
- Cursor:
gate-mcp-cursor-installer - Codex:
gate-mcp-codex-installer - Claude:
gate-mcp-claude-installer - OpenClaw:
gate-mcp-openclaw-installer
Project convention — MCP only
No OpenAPI unless user explicitly asks. MCP setup: see gate-dex-trade/references/setup.md.
NOT this skill (common misroutes):
- "quote for swapping X to Y" →
gate-dex-trade(swap execution) - "check my balance" →
gate-dex-wallet(account query) - "buy ETH" / "sell USDT" →
gate-dex-trade(transaction execution)
Routing Flow
User triggers market data query
|
Step 1: OpenAPI only if user explicitly asks. Else MCP only.
Step 2: MCP discovery → success = MCP mode; fail = MCP setup guide (no OpenAPI fallback).
Feature Matrix
| Feature | MCP | OpenAPI | Notes |
|---------|-----|---------|-------|
| K-line / Candlestick | Yes | Yes | |
| Token basic info | Yes | Yes | |
| Token rankings | Yes | Yes | |
| Security risk audit | Yes | Yes | |
| Tradable token list | Yes | Yes | |
| Cross-chain bridge tokens | Yes | No | MCP only |
| Holder analysis (Top N) | No | Yes | OpenAPI only |
| New token discovery | No | Yes | OpenAPI only |
| Liquidity events (Rug Pull) | No | Yes | OpenAPI only |
| Volume stats (multi-period) | No | Yes | OpenAPI only |