getPoolIndicator
Get a technical indicator (RSI, EMA, MACD, Bollinger Bands or VWAP) for one pool, computed server-side from the pool's completed OHLCV candles and returned as a time series. Read-only and keyless. Use for 'is this pool overbought?', 'RSI of this pair', 'MACD cross on the last candle', or as a ready-made signal input for a trading or screening agent, instead of fetching getPoolOHLCV and computing the indicator yourself. The indicator follows the pool's price as getPoolOHLCV reports it, with no inversed parameter. Values come oldest first, one per completed candle: rsi, ema and vwap return value; macd returns macd, signal and histogram; bbands returns upper, middle and lower. RSI over 70 is commonly read as overbought and under 30 as oversold; a MACD histogram that changes sign means MACD crossed its signal line. RSI, EMA and MACD are smoothed, so start at least ten periods before the first value you rely on. Params: network (required); pool_address (required); indicator (required): 'rsi', 'ema', 'macd', 'bbands' or 'vwap'; interval (pass it every time: '1m','5m','10m','15m','30m','1h','6h','12h','24h' or '1d'); start (optional; a relative offset such as '-24h' or '-7d', Unix seconds, RFC3339 or yyyy-mm-dd; without it you get the last limit values); end (optional, exclusive); limit (default 100, max 1000); cursor (next_cursor of the previous page, not with start); period for rsi (default 14), ema (20), bbands (20) and vwap (14); fast_period (12), slow_period (26) and signal_period (9) for macd only; std_dev (2) for bbands only. A parameter that belongs to another indicator is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | OPTIONAL: End of the range, exclusive, same formats as start. Defaults to now | |
| limit | No | OPTIONAL: Values per response (default 100, max 1000) | |
| start | No | OPTIONAL: First candle. A relative offset from now is simplest: '-24h', '-7d' (units s, m, h, d). Also Unix seconds, RFC3339 or YYYY-MM-DD. Without it you get the last `limit` values | |
| cursor | No | OPTIONAL: next_cursor from the previous page. Do not combine with start | |
| period | No | OPTIONAL: rsi (default 14), ema (default 20), bbands (default 20), vwap (default 14). Not for macd | |
| network | Yes | REQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana') | |
| std_dev | No | OPTIONAL, bbands only: band width in standard deviations (default 2) | |
| interval | No | Candle interval the indicator is computed on. Pass it every time; '1d' equals '24h' | |
| indicator | Yes | REQUIRED: 'rsi', 'ema', 'macd', 'bbands' (Bollinger Bands) or 'vwap' | |
| rationale | Yes | REQUIRED. 1-2 sentence rationale for this call (e.g. "User asked for X; calling Y to fetch Z"). Logged for MCP improvement, never shown to end users. No PII or secrets. See the server `instructions` field for the full convention and worked examples. | |
| fast_period | No | OPTIONAL, macd only: fast EMA period (default 12) | |
| slow_period | No | OPTIONAL, macd only: slow EMA period (default 26), must be above fast_period | |
| pool_address | Yes | REQUIRED: Pool address or identifier | |
| signal_period | No | OPTIONAL, macd only: signal line period (default 9) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | One value per completed candle, oldest first. | |
| network | No | ||
| interval | No | ||
| indicator | No | ||
| parameters | No | Parameters used, defaults included. | |
| next_cursor | No | Pass as cursor for the next page; empty on the last page. | |
| pool_address | No | Set on pool indicators. | |
| has_next_page | No | ||
| token_address | No | Set on token indicators. |