Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AT_EVM_RPCNoCustom EVM RPC URL. Defaults to public RPC.
PM_API_KEYNoDerived Polymarket API key. Required for Polymarket trading.
WM_API_URLNoWhales Market API base URL. Defaults to mainnet.
AT_SOLANA_RPCNoCustom Solana RPC URL. Defaults to public RPC.
MCP_HTTP_HOSTNoHTTP bind address.127.0.0.1
MCP_HTTP_PORTNoEnable HTTP transport on this port. Defaults to stdio when unset.
PM_API_SECRETNoDerived Polymarket API secret. Required for Polymarket trading.
WM_AUTH_TOKENNoWhales Market auth token for private endpoints. Required for portfolio access.
AT_DAILY_LIMITNoMax daily spend (USD).200
AT_WALLET_TYPENoWallet type: `solana` or `evm`.solana
PM_PRIVATE_KEYNoPolygon wallet private key. Required for Polymarket trading.
PM_API_PASSPHRASENoDerived Polymarket API passphrase. Required for Polymarket trading.
AGENT_TRADE_VENUESNoEnabled venues (comma-separated). Defaults to all available.
AT_AGENT_PRIVATE_KEYNoAgent wallet private key.
AT_SPEND_LIMIT_PER_TXNoMax spend per transaction (USD).50

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_venuesA

List all available and configured trading venues.

search_marketsB

Search and list markets across trading venues. Filter by venue, category, name/symbol.

get_marketC

Get detailed information about a specific market/token.

get_order_bookB

Get the order book for a market: bids, asks, spread.

get_recent_tradesB

Get recent trades for a market or across all markets.

tradeB

Create a buy/sell order. Agent mode: validates limits, signs, and executes. User mode: returns preview.

cancelC

Cancel an open order/offer.

get_positionsC

Get portfolio/positions for your wallet or a specific address.

get_ordersC

Get open orders for your wallet or a specific address.

wallet_statusB

Get wallet configuration, balance, and spend limits.

setup_walletB

Wallet setup guide. Check config, generate a new agent wallet, or show setup instructions.

wm_get_token_chartB

Get historical price chart data for a Whales Market token

wm_get_market_statsB

Get Whales Market overall statistics and volume data

wm_get_wallet_infoC

Get Whales Market wallet info, tier, discount for an address

wm_get_upcoming_tokensB

Get upcoming tokens on Whales Market

wm_get_leaderboardC

Get Whales Market referral leaderboard and live stats

wm_get_networksA

List supported blockchain networks on Whales Market

wm_react_to_offerC

Accept/fill an existing offer on Whales Market (agent mode only)

wm_cancel_orderA

Cancel an unfilled order on Whales Market (settleCancelled on-chain)

wm_check_offer_statusB

Check the status of an offer on Whales Market

pm_list_tagsB

List available Polymarket tags/categories for filtering markets

pm_get_eventA

Get a full Polymarket event with all its markets by slug

pm_derive_api_keyA

Derive Polymarket API credentials from your private key (one-time setup). Requires PM_PRIVATE_KEY.

pm_price_historyB

Get price history for a Polymarket market. Returns time series data for trend analysis.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 24 tools

Disambiguation3/5

Most tools target recognizable resources, but there is real overlap between generic and venue-specific operations. In particular, cancel vs wm_cancel_order, get_market vs venue-specific market/token tools, and wallet_status vs wm_get_wallet_info require careful reading to choose correctly.

Naming Consistency4/5

Names are consistently snake_case and mostly follow a verb_noun or prefix_verb_noun pattern, with wm_ and pm_ prefixes clearly marking venue-specific tools. Minor deviations like bare cancel/trade and noun-style wallet_status keep it from being fully uniform.

Tool Count3/5

At 24 tools the surface is heavy and verges on overloaded. The count is somewhat justified because the server spans generic trading plus Whales Market and Polymarket-specific operations, but there is still visible duplication across categories.

Completeness3/5

Core market, order, position, wallet, and basic trading workflows are covered, and Whales Market has useful offer support. However, gaps remain around personal trade history/order status, order modification, funds movement, and Polymarket-specific trading lifecycle operations beyond market data and API setup.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues