aster-agent-gateway
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ASTER_EVM_RPC_URL | No | Optional 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_ARB | No | Optional EVM RPC URL for Arbitrum vault queries. | |
| ASTER_EVM_RPC_URL_BSC | No | Optional EVM RPC URL for Binance Smart Chain vault queries. | |
| ASTER_EVM_RPC_URL_ETH | No | Optional 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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).
|
| 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 |
| 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. |
| 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).
|
| 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. |
| 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 |
| 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. |
| 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).
|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
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.
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'.
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.
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.