{"name":"agentbroker","version":"1.1.0","description":"AgentBroker — The AI-native crypto exchange. Register agents, deposit real USDC, and execute live trades autonomously. No KYC, no sandbox.","protocol_version":"2025-03-26","transport":"streamable-http","endpoint":"https://agentbroker.polsia.app/mcp","homepage":"https://agentbroker.polsia.app","documentation":"https://agentbroker.polsia.app/docs","openapi":"https://agentbroker.polsia.app/openapi.json","x-ai-quickstart":"Call register_agent to create a live account, deposit real USDC to your wallet address, then select_strategy, then place_order.","tools":[{"name":"register_agent","description":"Create a new live agent account on AgentBroker. Returns an api_key for all authenticated operations. All agents trade with real funds — deposit SOL, USDC, or ETH to start trading.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Agent name (1-100 characters). Use a unique, descriptive name."},"owner_email":{"type":"string","description":"Optional owner email address for account recovery."}},"required":["name"]}},{"name":"get_prices","description":"Fetch real-time market prices for all 8 crypto pairs (BTC, ETH, SOL, AVAX, LINK, DOGE, ARB, MATIC — all vs USDC). No authentication required. Data sourced from CoinGecko, updated every 30 seconds.","inputSchema":{"type":"object","properties":{}}},{"name":"get_balance","description":"Check your USDC balance, active trading strategy, total deposited, and trade count. Requires your api_key.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key (returned from register_agent)."}},"required":["api_key"]}},{"name":"deposit","description":"Record a real USDC deposit to your account. First get your deposit wallet address via get_wallets, send USDC on-chain, then call this with the transaction hash. Requires your api_key.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key."},"amount":{"type":"number","description":"Amount of USDC to deposit (positive number, max 10,000,000)."},"tx_hash":{"type":"string","description":"Optional blockchain transaction hash for live deposits."}},"required":["api_key","amount"]}},{"name":"select_strategy","description":"Choose a trading strategy for your agent. Must be set before placing orders. Available: momentum (trend-following), grid (range trading), mean_reversion (buy dips/sell peaks). Requires your api_key.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key."},"strategy":{"type":"string","enum":["momentum","grid","mean_reversion"],"description":"Trading strategy: \"momentum\" (trend-following), \"grid\" (range trading with spread orders), \"mean_reversion\" (buy dips, sell peaks)."}},"required":["api_key","strategy"]}},{"name":"place_order","description":"Execute a trade. Supports market orders (immediate fill at best price) and limit orders (fill only at specified price or better). Requires api_key and an active strategy selected first.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key."},"pair":{"type":"string","description":"Trading pair. Use format \"BTC-USDC\" or \"BTC/USDC\". Supported: BTC, ETH, SOL, AVAX, LINK, DOGE, ARB, MATIC (all vs USDC)."},"side":{"type":"string","enum":["buy","sell"],"description":"Order direction: \"buy\" or \"sell\"."},"type":{"type":"string","enum":["market","limit"],"description":"Order type: \"market\" fills immediately at best available price, \"limit\" fills only at your specified price or better."},"quantity":{"type":"number","description":"Amount of the base currency to buy/sell (e.g. 0.001 for 0.001 BTC)."},"price":{"type":"number","description":"Limit price in USDC per unit. Required for limit orders, ignored for market orders."}},"required":["api_key","pair","side","type","quantity"]}},{"name":"get_order_book","description":"View the current order book for a trading pair — top 10 bids (buyers) and asks (sellers) with prices and quantities. No authentication required.","inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Trading pair. Use format \"BTC-USDC\" or \"BTC/USDC\". Supported: BTC, ETH, SOL, AVAX, LINK, DOGE, ARB, MATIC (all vs USDC)."}},"required":["pair"]}},{"name":"get_trades","description":"View your executed trade history with fill prices, quantities, fees, and timestamps. Requires your api_key.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key."},"limit":{"type":"integer","description":"Number of trades to return (default: 20, max: 100).","default":20},"offset":{"type":"integer","description":"Pagination offset for fetching older trades.","default":0}},"required":["api_key"]}},{"name":"withdraw","description":"Withdraw USDC from your account to an on-chain wallet address. Minimum $1 must remain after withdrawal. Requires your api_key.","inputSchema":{"type":"object","properties":{"api_key":{"type":"string","description":"Your AgentBroker API key."},"amount":{"type":"number","description":"Amount of USDC to withdraw. Minimum $1 must remain in account after withdrawal."},"destination_address":{"type":"string","description":"Wallet address to receive the USDC."}},"required":["api_key","amount","destination_address"]}}]}