Skip to main content
Glama
alekskram

aster-agent-gateway

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ASTER_EVM_RPC_URLNoOptional EVM RPC URL for EVM vault deposit flows. If not set, EVM vault queries return an honest 'no RPC configured' error.
ASTER_EVM_RPC_URL_ARBNoOptional EVM RPC URL for Arbitrum vault queries.
ASTER_EVM_RPC_URL_BSCNoOptional EVM RPC URL for Binance Smart Chain vault queries.
ASTER_EVM_RPC_URL_ETHNoOptional EVM RPC URL for Ethereum vault queries.

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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
market_overviewA

Futures market overview from ONE ticker/24hr ALL call joined with exchangeInfo: panel of TRADING markets (symbol, last, 24h change %, quote volume, trades count), top volumes, status counts, and fresh listings (newest onboardDate, N rows). sort in {volume (default), change, listings}. limit max 100. Example: market_overview(limit=10)

exchange_symbolsA

Symbol universe with filters/precisions/statuses incl. the micro view (MIN_NOTIONAL, stepSize, leverageFilter kind). Junk filter: TEST* spot names and SETTLING futures statuses are hidden unless include_junk=True. venue in {futures, spot, both}. Single-symbol detail when symbol given. Example: exchange_symbols(venue="futures", symbol="BTCUSDT")

order_bookA

Aggregated order book: fapi /depth (futures) or sapi /api/v3/ depth (spot). The requested depth is snapped to the nearest priced tier (weight-aware: 5/10/20/50=2, 100=5, 500=10, 1000=20 weight). Example: order_book(symbol="BTCUSDT", depth=20)

klinesA

Klines (OHLCV). price_type last|mark|index selects fapi klines/markPriceKlines/indexPriceKlines; spot goes to sapi /api/v3/klines (price_type ignored). intervals 1m..1M; limit snapped to a priced tier (max 1000). Example: klines(symbol="BTCUSDT", interval="4h", limit=50)

tradesA

Recent trades. Futures fapi /trades is keyless and fresh. The spot /trades path was uncertain at recon time - probed live in smoke; if dead the tool returns an honest error dict. Example: trades(symbol="BTCUSDT", limit=10)

spot_overviewA

Spot market overview: sapi ticker/24hr ALL joined with exchangeInfo. The spot ticker list carries ~24k ephemeral BTC_UP_DOWN_5M_* options rows that never appear in exchangeInfo; the join keeps only listed symbols with status TRADING (~68 pairs). TEST* junk filtered by name. Example: spot_overview(limit=10)

funding_overviewA

Funding panel from premiumIndex ALL + fundingInfo: all ~730 rates with intervals (1/2/4/8h mixed - flagged honestly), cap/ floor, interestRate, nextFundingTime. sort in {rate (default), interval}. Example: funding_overview(limit=10)

tradfi_marketsA

TradFi-perp screener (24/7 markets): local asset-class map by baseAsset (metals, equity-index, equity-single, energy, treasuries, forex) with per-class volumes/prices/funding, plus the D3 sub-block tradfi_crypto_corr: rolling correlation of a TradFi representative vs BTC computed locally from klines (at most 2 klines calls, cached when possible; honest note when data is insufficient). window in {24h, 7d, 30d} selects the correlation window. Example: tradfi_markets(limit=10, window="7d")

funding_screenerA

One-call ranking of ALL markets by annualized funding rate, by premium, by mark-index spread; plus the D1 sub-block funding_regime: distance to cap/floor (headroom bps) per market from fundingInfo. direction in {both (default), long, short} - long = positive rates (longs pay), short = negative. Example: funding_screener(top=5)

oi_snapshotA

Open interest snapshot. openInterest is a per-symbol endpoint ONLY (each symbol = 1 call); N is capped at 10 per invocation. There is NO keyless OI history (/futures/data/openInterestHist 404s) - stated honestly, never invented. When symbols is None the top-volume futures symbols are used. Example: oi_snapshot(symbols=["BTCUSDT", "ETHUSDT"])

deposit_flowsA

Vault deposit flows: Solana getSignaturesForAddress on the Aster vault program (keyless) + EVM eth_getLogs Transfer-to-vault on BSC/ETH/ARB when ASTER_EVM_RPC_URL* is configured; plus the D4 sub-block deposit_stats: hourly buckets and chain breakdown of what was fetched. chain_filter in {all (default), solana, bsc, eth, arb}. Example: deposit_flows(limit=20)

account_viewA

Keyless tapi account read for ANY address (Aster Chain JSON-RPC): aster_getBalance / aster_openOrders / aster_userFills (+ spot variants when they exist). Account privacy hides most accounts: a privacy-empty result returns an honest error dict explaining WHY (privacy, not an API failure). data in {balance (default), openOrders, userFills, spotBalance, spotOpenOrders, spotUserFills}. Example: account_view(address="0x...")

mark_index_divergenceA

Mark/index divergence screener from ONE premiumIndex call (markPrice vs indexPrice spread), cross-checked with markPriceKlines vs klines for the widest divergences (up to 3 symbol-pairs of klines, weight-economical). Example: mark_index_divergence(limit=10)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 13 tools

Disambiguation3/5

Most tools target distinct data views, but funding_overview, funding_screener, and mark_index_divergence all draw on premiumIndex/funding data and could be confused; spot_overview and the generically named market_overview also overlap in concept. The descriptions clarify the differences, though an agent must read them closely.

Naming Consistency4/5

All names are lowercase snake_case and follow a noun-centric pattern such as *_overview, *_screener, *_snapshot, and *_view. The pattern is mostly predictable, with minor deviations like bare 'trades'/'klines' and the asymmetric 'market_overview' next to 'spot_overview'.

Tool Count5/5

13 tools is a reasonable size for a read-only market/on-chain data gateway. Each tool covers a distinct data view or screener, with no obvious filler or redundant bulk; this sits comfortably in the well-scoped range.

Completeness4/5

The surface covers the core read-only workflows: market references, order-book data, OHLCV, funding, OI, TradFi correlation, deposits, and account state. Minor gaps exist, such as no single-symbol 24h ticker helper and no OI history, but these are workaroundable or explicitly out of scope.

Maintenance

ActivityMaintained
ResponsivenessNo issues