Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DERIVE_WALLETYesYour Ethereum wallet address
DERIVE_ENVIRONMENTNoAPI Environment (mainnet or testnet)mainnet
DERIVE_PRIVATE_KEYNoPrivate key for transaction signing (optional, needed for trading)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_currenciesB

Get all available currencies (underlying assets) on the platform.

get_instrumentsB

Get all active instruments for a specified currency and type. Returns detailed information about tradeable assets including fees, constraints, and Greeks.

get_tickerB

Get real-time ticker data for a single instrument (bid/ask, last price, 24h volume, Greeks for options).

get_tickersA

Get ticker information for multiple instruments at once. More efficient than get_ticker when querying many instruments.

get_orderbookA

Get real-time orderbook data for a specific instrument with bid/ask levels, depth, and spread.

get_trade_historyA

Get tick-by-tick trade history with detailed trade information (price, size, buyer/seller, timestamp). Supports filtering and pagination.

get_funding_rate_historyC

Get historical funding rate data for perpetual contracts with timestamps and rates.

get_spot_feed_historyB

Get historical spot price feed data (index prices) with timestamps.

get_option_settlement_historyC

Get historical option settlement data (expiry, settlement prices, PnL).

get_liquidation_historyB

Get liquidation events history across the platform.

get_accountB

Get account details including subaccounts, rate limits, fee structure, and account status. Requires authentication.

get_subaccountsB

Get all subaccounts for a wallet with labels and creation timestamps. Requires authentication.

get_balanceA

Get account balance across all subaccounts including collaterals and open order margins. Requires authentication.

get_positionsC

Get all open positions for a subaccount including unrealized PnL, mark price, leverage, and liquidation price. Requires authentication.

get_collateralsC

Get collateral information for a subaccount including amounts, prices, and margin contributions. Requires authentication.

get_marginB

Get detailed margin information for a subaccount including maintenance margin, initial margin, and margin ratio. Requires authentication.

get_open_ordersA

Get all open orders for a subaccount with order status and details. Requires authentication.

get_orders_historyB

Get order history for a subaccount with filled, cancelled, and rejected orders. Requires authentication.

place_orderA

Place a new order (limit or market). Requires authentication and private key for signing.

cancel_orderC

Cancel an open order by order ID. Requires authentication.

cancel_all_ordersA

Cancel all open orders for a subaccount. Optionally filter by currency or instrument. Requires authentication.

replace_orderA

Replace an existing order (cancel old and place new) in one atomic operation. Requires authentication.

get_my_tradesC

Get personal trade history with detailed trade information (side, price, fees, PnL). Requires authentication.

get_funding_historyC

Get funding payments history (paid and received). Requires authentication.

get_deposit_historyB

Get deposit history with transaction hashes and statuses. Requires authentication.

get_withdrawal_historyC

Get withdrawal history with transaction hashes and statuses. Requires authentication.

send_rfqC

Send a Request For Quote to get custom pricing from market makers. Requires authentication.

get_rfqsB

Get active RFQs for a subaccount with quotes received. Requires authentication.

execute_quoteC

Execute a quoted trade at the quoted price. Requires authentication.

get_liquidation_priceC

Get current liquidation price for an open position. Requires authentication.

margin_watchB

Get margin watch information showing accounts approaching liquidation. Requires authentication.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/solenyaresearch0000/derive-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server