MCP server for OKX cryptocurrency exchange - provides tools for account management, trading, and market data
The server exposes 4 trading/market tools for OKX. Tool naming follows verb_noun conventions (account_config, account_balance, market_tickers, place_order), which is good. Descriptions are present but vary in quality, account_config and account_balance have moderately detailed descriptions (100-150 chars), while market_tickers is descriptive (160 chars). However, critical gaps exist: (1) Input schemas lack type declarations for most parameters, e.g., 'instType', 'sortBy', 'limit' in market_tickers lack explicit 'type' fields in the visible schema; the rubric states 'parameters lack type definitions → schema score CANNOT exceed 30'; (2) Output schemas are undocumented, no field descriptions for responses from any tool; (3) place_order, an IRREVERSIBLE operation with destructive consequences, has no error handling guidance or confirmation mechanism; (4) parameter descriptions in place_order are sparse (e.g., 'Instrument ID, e.g. BTC-USDT' lacks format/constraint details); (5) No pagination support evident in market_tickers despite returning lists. The server is functional but falls short of production-grade tool design.
Retrieve a list of assets (with non-zero balance), remaining balance, and available amount in the OKX trading account
Retrieve current OKX account configuration. It is recommended to use this tool to obtain account configuration information before using all other tools
Retrieve the latest price snapshot, best bid/ask price, and trading volume in the last 24 hours. Get the ranking of coins with the highest increase or the largest trading volume.
Place a new order on OKX for trading
Input schemas lack explicit type declarations. Parameter 'instType', 'sortBy', 'limit' in market_tickers, and most place_order parameters are declared as string|integer without JSON Schema 'type' field. This forces LLMs to guess whether to pass BTC or 'BTC', 30 or '30'.
Output schemas are completely undocumented. account_config returns a response object with 20+ fields (uid, mainUid, acctLv, etc.) but no structured schema definition. LLMs cannot infer which fields to extract for downstream calls.
place_order (IRREVERSIBLE operation) has no confirmation mechanism, dry-run option, or error recovery guidance. Agents make mistakes, a confirm_before_execute pattern prevents catastrophic errors.' Placing a wrong trade with real money has no safeguard.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 57 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 36 | - | v1 |
market_tickers returns unspecified results for list queries without documented pagination, limits, or total count.
Parameter descriptions in place_order are terse and lack actionable constraints. E.g., 'Instrument ID, e.g. BTC-USDT' provides an example but no format rule; 'Order side, `buy`/`sell`' uses backticks instead of enum; 'Quantity to buy or sell' lacks min/max or decimal precision.
API credentials (OKX_API_KEY, OKX_API_SECRET, OKX_PASSPHRASE) are injected via environment variables in the source, which is correct; however, the server exposes write/delete capability (place_order) without any documented rate limiting, permission checks, or audit trail. Log who called what tool, with which parameters, at what time, and what happened.'
No error handling guidance. If place_order fails due to insufficient balance, invalid instrument, or rate limit, what does the LLM see? The description does not explain recovery paths. A raw error code or stack trace gives the agent nothing to act on.'