polsolbridge/solana-swap-api
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_pricesA | Get real-time USD prices for BTC, SOL, ETH and XMR |
| get_assetsA | List all 1288+ supported swap assets with ticker, network and name |
| swap_quoteB | Get estimated output and minimum deposit for a crypto swap pair |
| sol_swap_quoteA | Solana DEX quote via Jupiter aggregator. Any SPL token vs SOL/USDC. Free API. |
| sol_swapA | Build a NON-CUSTODIAL Solana DEX swap via Jupiter: returns an UNSIGNED base64 transaction — sign with YOUR OWN wallet and send to any Solana RPC. Server never touches funds. 0.3% on-chain routing fee. |
| smart_routeA | Universal crypto router: compares ALL available rails (cross-chain exchange bridge, direct H2H liquidity, Solana DEX) in one call and returns the best route with ready-to-execute parameters. Use for hard or exotic pairs. |
| sol_priority_feeA | Live Solana priority-fee oracle: current microLamports/CU percentiles and recommended low/medium/high/turbo tiers. Call before sending any Solana transaction. |
| hl_marketsA | Hyperliquid perpetuals: list all 231 markets with live prices, max leverage and size decimals. |
| hl_build_orderA | Build a ready Hyperliquid perpetual order action with SwapTitan builder code injected (minimal 0.001% fee). Non-custodial: returns the action + nonce to sign with your own wallet (EIP-712) and POST to https://api.hyperliquid.xyz/exchange. Call hl_approve first (once). |
| hl_approveA | Get the one-time approveBuilderFee action to sign with your MAIN wallet, authorizing SwapTitan as Hyperliquid builder at a minimal 0.001% max fee. Revocable anytime. |
| evm_swapA | Build a NON-CUSTODIAL EVM DEX swap via KyberSwap aggregator on eth/base/bsc/arbitrum/polygon/optimism/avax: returns UNSIGNED calldata {to,data,value} — sign with YOUR OWN wallet. Server never touches funds. 0.3% routing fee. ERC20 input needs prior approval. |
| swap_createA | Create a non-custodial cross-chain swap order. 3 providers: changenow (1288+ assets, returns payinAddress), simpleswap (400+ assets, returns payinAddress), heleket (XMR-optimised 5-6 conf, returns redirectUrl to payment page). Omit provider for auto-select. |
| swap_statusA | Check status of a swap order. Poll every 20-30s. Lifecycle: waiting->confirming->exchanging->done. For heleket provider, status is checked via Heleket API. |
| create_walletA | Generate a new non-custodial crypto wallet. Returns address and private key. Chain: sol (Solana), eth/base/bsc (EVM). |
| check_portfolioB | Check wallet balance on any chain. Returns native balance and USD value. |
| rug_checkA | Check if a token contract is a rug pull / scam. Returns risk score and warning flags. |
| set_price_alertB | Set a Telegram price alert for a crypto asset. Triggers when price goes above or below target. |
| ai_chatA | Chat with SwapTitan AI agent for complex crypto tasks, multi-step swaps, and natural language queries. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
Each tool targets a distinct operation: wallet creation, portfolio check, swap building for Solana/EVM/cross-chain, quotes, status, alerts, rug checks, Hyperliquid perpetuals, and AI chat. No two tools have overlapping purposes; even related tools like sol_swap and sol_swap_quote are clearly separated by action (build vs. quote).
All tool names follow a consistent snake_case pattern with descriptive verb_noun or noun_verb structure. Examples: check_portfolio, create_wallet, sol_swap, swap_create. The Hyperliquid tools use a consistent 'hl_' prefix. No mixing of camelCase or other conventions.
18 tools is slightly above average but well-justified given the server's broad scope covering multiple blockchains (Solana, EVM, Hyperliquid), cross-chain swaps, alerts, rug checks, and AI chat. Each tool serves a distinct purpose, and the count is not overwhelming.
The tool surface covers core swap workflows (quotes, swaps, status) across Solana, EVM, and cross-chain, plus wallet creation, portfolio, alerts, rug checks, and Hyperliquid perpetuals. Minor gaps: no generic ERC20 approval tool (evm_swap expects prior approval), and no transaction history or alert management. Overall, it's well-scoped for a swap API.