Get DAMO market state
get_market_stateUse when the user asks about the current market state (trend or momentum) of a crypto asset on any timeframe from 1 minute to 1 month. Returns state data only: no prices, forecasts or trade signals. Current DAMO market state of one symbol across 10 timeframes: state name and permanent code per timeframe, plus a 10-value vector in fixed timeframe order. as_of is when DAMO last wrote the record; each timeframe's candle close is in states[tf].candle_close (live: candle_close_expected).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_market_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | verified = closed candles (recorded, never changed); live = forming candles (provisional) | verified |
| proof | No | Also put DAMO's Ed25519 signature in the result body as 'proof'. | |
| format | No | compact = symbol, layer, time, vector, short citation and remaining quota only. full = per-timeframe state, seq, hash and engine version (for citing and checking). | full |
| symbol | Yes | Ticker, e.g. BTCUSDT. BTC, btc, BTC/USDT, BTC-PERP and coin names like Bitcoin are also accepted. Not a sentence: on a wrong symbol the error lists did_you_mean. | |
| timeframes | No | Optional. Only these timeframes are returned and counted against the quota (case-sensitive: 1m = minute, 1M = month). Omit for all 10. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | verified: when DAMO last wrote this record (UTC). Each timeframe's own close time is states[tf].candle_close | |
| layer | Yes | ||
| proof | No | Ed25519 signature when proof=true | |
| quota | No | ||
| stale | No | ||
| states | No | full format: per-timeframe state, code, candle status and record fields | |
| symbol | Yes | ||
| vector | Yes | State codes in timeframe order (1 bull_momentum, 2 weakening, 3 bear_momentum, 4 recovery); null = not requested or not available | |
| citation | Yes | ||
| chain_head | No | ||
| observed_at | No | live: when DAMO observed the forming candles (UTC) | |
| vector_order | No | ||
| engine_version | No | ||
| quota_remaining | No |