The Spice Melange Trading Desk: DeepBook market data connector is an MCP server published by io.github.SajanMelcher, hosted at plumbline-mcp.fly.dev. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 31 tools, including list_pools, get_mid_price, get_order_book, get_volume, get_pool_params.
A Mentat's eye on Sui DeepBook v3: read-only market data plus desk template tools. No keys.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List Sui DeepBook v3 spot pools with base/quote assets and trading params (tick, lot, min size in human units). Optional filter by asset symbol. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| asset | string | Only pools containing this asset symbol, e.g. SUI or USDC |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| include_ids | boolean | Include pool object IDs and coin types (longer output) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "list_pools",
"title": "List DeepBook pools",
"description": "List Sui DeepBook v3 spot pools with base/quote assets and trading params (tick, lot, min size in human units). Optional filter by asset symbol. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asset": {
"type": "string",
"maxLength": 20,
"minLength": 1,
"description": "Only pools containing this asset symbol, e.g. SUI or USDC"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"include_ids": {
"type": "boolean",
"default": false,
"description": "Include pool object IDs and coin types (longer output)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "List DeepBook pools",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Best bid, best ask, mid price and spread (abs and bps) for a DeepBook pool, plus last trade price. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_mid_price",
"title": "Mid price",
"description": "Best bid, best ask, mid price and spread (abs and bps) for a DeepBook pool, plus last trade price. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Mid price",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Order book for a DeepBook pool: top N price levels per side and cumulative liquidity (base qty and quote notional) within ±X% of mid. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| levels | integer | Price levels to return per side (1-100, default 10) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| within_pct | array | Depth bands as % distance from mid, e.g. [0.5, 1, 2] |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_order_book",
"title": "Order book depth",
"description": "Order book for a DeepBook pool: top N price levels per side and cumulative liquidity (base qty and quote notional) within ±X% of mid. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"levels": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Price levels to return per side (1-100, default 10)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"within_pct": {
"type": "array",
"items": {
"type": "number",
"maximum": 50,
"exclusiveMinimum": 0
},
"default": [
0.5,
1,
2
],
"maxItems": 6,
"minItems": 1,
"description": "Depth bands as % distance from mid, e.g. [0.5, 1, 2]"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Order book depth",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}24h volume, high/low, last price and % change for one DeepBook pool, or the top pools by 24h quote volume if no pool is given. Set window_hours for a custom trailing window (single pool). Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| top | integer | When no pool is given: how many pools to return (default 10) |
| pool | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| window_hours | integer | Trailing window in hours (default 24). Non-24 values need a pool. |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_volume",
"title": "Trading volume",
"description": "24h volume, high/low, last price and % change for one DeepBook pool, or the top pools by 24h quote volume if no pool is given. Set window_hours for a custom trailing window (single pool). Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"top": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "When no pool is given: how many pools to return (default 10)"
},
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"window_hours": {
"type": "integer",
"default": 24,
"maximum": 720,
"minimum": 1,
"description": "Trailing window in hours (default 24). Non-24 values need a pool."
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Trading volume",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Taker/maker fees, DEEP stake required, tick/lot/min size, whitelist/stable flags and vault balances for a DeepBook pool. Reads the live on-chain Pool object via Sui GraphQL; falls back to indexer pool-creation values if GraphQL is unavailable. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_pool_params",
"title": "Fees and pool parameters",
"description": "Taker/maker fees, DEEP stake required, tick/lot/min size, whitelist/stable flags and vault balances for a DeepBook pool. Reads the live on-chain Pool object via Sui GraphQL; falls back to indexer pool-creation values if GraphQL is unavailable. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fees and pool parameters",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Most recent fills in a DeepBook pool (newest first): time, taker side, price, base and quote size. Optional time range. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| limit | integer | Number of trades (1-200, default 20) |
| end_time | ref | Unix timestamp in SECONDS |
| include_tx | boolean | Include transaction digests (longer output) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| start_time | integer | Unix timestamp in SECONDS |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
OHLCV candles for a DeepBook pool (oldest first). Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w. Volume is in the base asset. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| limit | integer | Number of candles (1-500, default 24) |
| end_time | ref | Unix timestamp in SECONDS |
| interval | string | one of ["1m","5m","15m","30m","1h","4h","1d","1w"] |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| start_time | integer | Unix timestamp in SECONDS |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
Health and freshness of the public DeepBook indexer (status, latest checkpoint, server time). Use when data looks stale. Education/information only; not financial advice. Read-only public data, may be delayed or wrong.
No parameters.
{
"name": "get_indexer_status",
"title": "Data source health",
"description": "Health and freshness of the public DeepBook indexer (status, latest checkpoint, server time). Use when data looks stale. Education/information only; not financial advice. Read-only public data, may be delayed or wrong.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Data source health",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Fills (OrderFilled) where a given DeepBook BalanceManager was the maker or the taker in one pool, newest first: time, its side, price, qty, fee, tx. Public data; no keys. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| role | string | one of ["maker","taker"] |
| hours | integer | Look-back window in hours (default 168 = 7 days) |
| limit | integer | |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
| balance_manager_id * | string | DeepBook BalanceManager object id (0x + 64 hex) |
1h/4h/24h high-low range and realized volatility from hourly candles, a regime (CALM < 2%, ELEVATED 2-4%, HIGH_VOL > 4% 4h range) and a suggested ladder rung count (3/4/5). Information only, not a trading instruction. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_swing_range",
"title": "Swing / range signal",
"description": "1h/4h/24h high-low range and realized volatility from hourly candles, a regime (CALM < 2%, ELEVATED 2-4%, HIGH_VOL > 4% 4h range) and a suggested ladder rung count (3/4/5). Information only, not a trading instruction. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Swing / range signal",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Scorecard-style stats for one pool over the last N hours: trade count, taker buy/sell split, base/quote volume, VWAP, average trade size, price range, current spread. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| hours | integer | |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
{
"name": "get_pool_stats",
"title": "Pool scorecard stats",
"description": "Scorecard-style stats for one pool over the last N hours: trade count, taker buy/sell split, base/quote volume, VWAP, average trade size, price range, current spread. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"hours": {
"type": "integer",
"default": 24,
"maximum": 72,
"minimum": 1
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Pool scorecard stats",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Estimated DeepBook fee for a fill of qty at price as maker or taker, paid in the input token (rate x 1.25) versus in DEEP (base rate), using the live on-chain fee rates and the DEEP_USDC mid. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
| Parameter | Type | Description |
|---|---|---|
| qty * | number | Base quantity |
| pool * | string | DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted) |
| role | string | one of ["maker","taker"] |
| price | number | Price; defaults to the current mid |
| payment_tx | string | Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response) |
| payment_token | string | Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls |
List The Spice Melange Golden Path Grok Bot templates with prices in Sui USDC, versions and the no-checkout agent buying flow (from https://thespicemelange.org/store/catalog.json). Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.
No parameters.
{
"name": "list_templates",
"title": "List desk templates",
"description": "List The Spice Melange Golden Path Grok Bot templates with prices in Sui USDC, versions and the no-checkout agent buying flow (from https://thespicemelange.org/store/catalog.json). Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List desk templates",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a store order for one template. Returns the order id, a PRIVATE order token (shown once; keep it secret), the payee and the EXACT Sui USDC amount to send from your own wallet before the expiry. Nothing is charged by this call. Limited to a few orders per client per hour. Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.
| Parameter | Type | Description |
|---|---|---|
| sku * | string | Template sku from list_templates, e.g. dune-saga-collection or fish-speakers |
| string | Optional receipt email |
{
"name": "create_template_order",
"title": "Create a template order",
"description": "Create a store order for one template. Returns the order id, a PRIVATE order token (shown once; keep it secret), the payee and the EXACT Sui USDC amount to send from your own wallet before the expiry. Nothing is charged by this call. Limited to a few orders per client per hour. Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sku"
],
"properties": {
"sku": {
"type": "string",
"pattern": "^[a-z0-9-]{2,40}$",
"description": "Template sku from list_templates, e.g. dune-saga-collection or fish-speakers"
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254,
"description": "Optional receipt email"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Create a template order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}With a digest: verify your on-chain payment for an order and get the signed download link (plus add-ons). Without: return the order's status (and a fresh link once paid). The token is sent only to the store, in a header, and is never stored. Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Private order token from create_template_order (smt_...). Sent only to the store, in a header. |
| digest | string | Sui transaction digest of your exact USDC payment |
| order_id * | string | Order id from create_template_order (SM-...) |
{
"name": "check_template_order",
"title": "Verify payment / get download",
"description": "With a digest: verify your on-chain payment for an order and get the signed download link (plus add-ons). Without: return the order's status (and a fresh link once paid). The token is sent only to the store, in a header, and is never stored. Educational templates, not financial advice; no returns promised. All sales final, except where the law requires otherwise. You pay from your own wallet; this connector never holds keys or funds.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"order_id",
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^smt_[A-Za-z0-9_-]{43}$",
"description": "Private order token from create_template_order (smt_...). Sent only to the store, in a header."
},
"digest": {
"type": "string",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"description": "Sui transaction digest of your exact USDC payment"
},
"order_id": {
"type": "string",
"pattern": "^SM-[0-9A-HJKMNP-TV-Z]{10}$",
"description": "Order id from create_template_order (SM-...)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Verify payment / get download",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The desk's weekly rhythm from https://thespicemelange.org/rhythm.json: focus pools, ladder windows, rung guidance, rebalance ranges, projects and lessons. The ed25519 signature is verified against the pinned release key, and the call fails closed if it doesn't match. Guidance only: no orders, no sizes in money, no promised returns. Not financial advice.
No parameters.
{
"name": "get_desk_rhythm",
"title": "Desk rhythm (signed guidance)",
"description": "The desk's weekly rhythm from https://thespicemelange.org/rhythm.json: focus pools, ladder windows, rung guidance, rebalance ranges, projects and lessons. The ed25519 signature is verified against the pinned release key, and the call fails closed if it doesn't match. Guidance only: no orders, no sizes in money, no promised returns. Not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Desk rhythm",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Exact steps and @mysten/sui code for an agent to create its OWN Sui Ed25519 keypair locally, fund it with SUI (gas) and USDC, and sign/submit transactions itself. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
No parameters.
{
"name": "wallet_setup_guide",
"title": "Wallet setup guide (self-custody)",
"description": "Exact steps and @mysten/sui code for an agent to create its OWN Sui Ed25519 keypair locally, fund it with SUI (gas) and USDC, and sign/submit transactions itself. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Wallet setup guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Quote a spot swap between SUI/USDC/WAL/DEEP/CETUS and compare DeepBook v3 pools directly (direct or 2-hop) with the Cetus aggregator. Returns the best route, expected output, price impact and fees. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| to * | ref | |
| from * | string | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| amount * | number | Amount of the from coin in human units, e.g. 2.5 |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
{
"name": "get_swap_quote",
"title": "Swap quote: DeepBook v3 vs Cetus aggregator",
"description": "Quote a spot swap between SUI/USDC/WAL/DEEP/CETUS and compare DeepBook v3 pools directly (direct or 2-hop) with the Cetus aggregator. Returns the best route, expected output, price impact and fees. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"amount",
"sender"
],
"properties": {
"to": {
"$ref": "#/properties/from"
},
"from": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"description": "Amount of the from coin in human units, e.g. 2.5",
"exclusiveMinimum": 0
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Swap quote",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Build base64 UNSIGNED Sui transaction bytes for a swap on the chosen venue, with the sender set to your address and an on-chain minimum-out from slippage_bps. The bytes are simulated against mainnet before return. You sign locally and submit yourself; nothing is executed by the desk. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| to * | ref | |
| from * | string | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| route | string | DeepBook only: route string from get_swap_quote, e.g. 'SUI_USDC -> WAL_USDC' |
| venue * | string | Venue from get_swap_quote (best.venue) |
| amount * | number | Amount of the from coin in human units, e.g. 2.5 |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| simulate | boolean | Simulate the unsigned bytes against mainnet (no signature, nothing executed) |
| slippage_bps | integer |
Check on chain (Sui mainnet) whether an address holds the The Secret Journals license token. Holders unlock extra read-only education tools (golden_path_market_read). Non-holders keep every basic tool. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| address * | string | YOUR Sui address (0x...). Public address only; never send a key. |
{
"name": "check_holder",
"title": "The Secret Journals holder check",
"description": "Check on chain (Sui mainnet) whether an address holds the The Secret Journals license token. Holders unlock extra read-only education tools (golden_path_market_read). Non-holders keep every basic tool. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Holder check",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}For The Secret Journals holders (checked on chain from 'address'): a compact market read across SUI, WAL and DEEP on DeepBook (mid, spread, 24h volume, 1h/4h/24h range and regime) plus the Golden Path pre-trade checklist. Education only, not a signal to buy or sell, no return claims. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| address * | string | YOUR Sui address (0x...). Public address only; never send a key. |
{
"name": "golden_path_market_read",
"title": "Golden Path market read (holders)",
"description": "For The Secret Journals holders (checked on chain from 'address'): a compact market read across SUI, WAL and DEEP on DeepBook (mid, spread, 24h volume, 1h/4h/24h range and regime) plus the Golden Path pre-trade checklist. Education only, not a signal to buy or sell, no return claims. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Golden Path market read",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Create and share a DeepBook v3 BalanceManager owned by your address (needed for limit orders). Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
{
"name": "build_create_balance_manager_tx",
"title": "Build: create my DeepBook BalanceManager",
"description": "Create and share a DeepBook v3 BalanceManager owned by your address (needed for limit orders). Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender"
],
"properties": {
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: create my DeepBook BalanceManager",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Deposit a coin from your wallet into your own BalanceManager. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| coin * | string | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| amount * | number | Amount of the from coin in human units, e.g. 2.5 |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| balance_manager_id * | string | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |
{
"name": "build_bm_deposit_tx",
"title": "Build: deposit into my BalanceManager",
"description": "Deposit a coin from your wallet into your own BalanceManager. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender",
"balance_manager_id",
"coin",
"amount"
],
"properties": {
"coin": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"description": "Amount of the from coin in human units, e.g. 2.5",
"exclusiveMinimum": 0
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"balance_manager_id": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: deposit into my BalanceManager",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Withdraw a coin from your own BalanceManager back to your address (always to the owner). Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| coin * | string | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| amount * | number | Amount of the from coin in human units, e.g. 2.5 |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| balance_manager_id * | string | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |
{
"name": "build_bm_withdraw_tx",
"title": "Build: withdraw from my BalanceManager",
"description": "Withdraw a coin from your own BalanceManager back to your address (always to the owner). Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender",
"balance_manager_id",
"coin",
"amount"
],
"properties": {
"coin": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"description": "Amount of the from coin in human units, e.g. 2.5",
"exclusiveMinimum": 0
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"balance_manager_id": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: withdraw from my BalanceManager",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Place a spot limit order on a DeepBook v3 pool from your BalanceManager (fees in the input coin, no DEEP needed). Validates tick/lot/min size. Optional deposit_first funds it in the same tx. No leverage. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool BASE_QUOTE, e.g. SUI_USDC |
| side * | string | one of ["buy","sell"] |
| price * | number | |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| quantity * | number | Base quantity |
| post_only | boolean | Post-only (maker): rejects if it would cross |
| expire_hours | number | |
| deposit_first | boolean | Also deposit the needed coin from your wallet in the same tx |
| client_order_id |
Cancel one order (order_id) or all your orders in a pool, and withdraw settled amounts into your BalanceManager. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool BASE_QUOTE, e.g. SUI_USDC |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| order_id | string | |
| balance_manager_id * | string | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |
{
"name": "build_cancel_order_tx",
"title": "Build: cancel DeepBook order(s)",
"description": "Cancel one order (order_id) or all your orders in a pool, and withdraw settled amounts into your BalanceManager. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender",
"balance_manager_id",
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 30,
"minLength": 3,
"description": "DeepBook pool BASE_QUOTE, e.g. SUI_USDC"
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"order_id": {
"type": "string",
"maxLength": 40
},
"balance_manager_id": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: cancel DeepBook order(s)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Level-2 depth around mid read on chain from a DeepBook v3 pool (bids/asks [price, qty]). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| pool * | string | DeepBook pool BASE_QUOTE, e.g. SUI_USDC |
| ticks | integer |
{
"name": "get_book_depth",
"title": "DeepBook depth (on-chain)",
"description": "Level-2 depth around mid read on chain from a DeepBook v3 pool (bids/asks [price, qty]). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 30,
"minLength": 3,
"description": "DeepBook pool BASE_QUOTE, e.g. SUI_USDC"
},
"ticks": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "DeepBook depth",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read-only Cetus CLMM pool state (coins, fee rate, tick spacing, liquidity, current tick, price) by pool_id, or discover the Cetus pools on the current from->to route. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| to | ref | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| from | string | Coin symbol: SUI, USDC, WAL, DEEP, CETUS |
| pool_id | string |
{
"name": "get_cetus_pool",
"title": "Cetus CLMM pool info",
"description": "Read-only Cetus CLMM pool state (coins, fee rate, tick spacing, liquidity, current tick, price) by pool_id, or discover the Cetus pools on the current from->to route. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"$ref": "#/properties/from",
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"from": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"pool_id": {
"type": "string"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Cetus pool",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}How to store a PUBLIC trade receipt or strategy note on Walrus mainnet with your own key (receipt schema + @mysten/walrus code). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
No parameters.
{
"name": "walrus_store_guide",
"title": "Walrus: store a public receipt/note",
"description": "How to store a PUBLIC trade receipt or strategy note on Walrus mainnet with your own key (receipt schema + @mysten/walrus code). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Walrus guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Encode your public text (receipt/note) and build the Walrus register-blob tx paid in WAL by you; returns the blob_id. Then upload+certify locally (see walrus_store_guide). Refuses content that looks like a secret. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| epochs | integer | |
| sender * | string | YOUR Sui address (0x...). Public address only; never send a key. |
| content * | string |
{
"name": "build_walrus_register_tx",
"title": "Build: Walrus register blob",
"description": "Encode your public text (receipt/note) and build the Walrus register-blob tx paid in WAL by you; returns the blob_id. Then upload+certify locally (see walrus_store_guide). Refuses content that looks like a secret. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender",
"content"
],
"properties": {
"epochs": {
"type": "integer",
"default": 3,
"maximum": 53,
"minimum": 1
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"content": {
"type": "string",
"maxLength": 64000,
"minLength": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: Walrus register blob",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read a public Walrus mainnet blob by id via the public aggregator (text, or base64 preview if binary; max 64 KB). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.
| Parameter | Type | Description |
|---|---|---|
| blob_id * | string | |
| max_bytes | integer |
{
"name": "read_walrus_blob",
"title": "Read a Walrus blob",
"description": "Read a public Walrus mainnet blob by id via the public aggregator (text, or base64 preview if binary; max 64 KB). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"blob_id"
],
"properties": {
"blob_id": {
"type": "string",
"maxLength": 100,
"minLength": 20
},
"max_bytes": {
"type": "integer",
"default": 8000,
"maximum": 64000,
"minimum": 1
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read Walrus blob",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The Spice Melange Trading Desk (DeepBook market data connector): read-only Sui DeepBook v3 market data (pools, mid, depth, volume, fees, trades, OHLCV). Pool names are BASE_QUOTE, e.g. SUI_USDC; call list_pools first if unsure. Non-custodial trading helpers: wallet_setup_guide, get_swap_quote (DeepBook v3 vs Cetus aggregator) and build_swap_tx return guides, quotes and UNSIGNED transactions only; the agent generates its own key, signs locally and submits itself. The desk never holds keys or moves funds; no leverage. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "get_recent_trades",
"title": "Recent trades",
"description": "Most recent fills in a DeepBook pool (newest first): time, taker side, price, base and quote size. Optional time range. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 200,
"minimum": 1,
"description": "Number of trades (1-200, default 20)"
},
"end_time": {
"$ref": "#/properties/start_time",
"description": "Unix timestamp in SECONDS"
},
"include_tx": {
"type": "boolean",
"default": false,
"description": "Include transaction digests (longer output)"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"start_time": {
"type": "integer",
"maximum": 4102444800,
"minimum": 1600000000,
"description": "Unix timestamp in SECONDS"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Recent trades",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "get_ohlcv",
"title": "OHLCV candles",
"description": "OHLCV candles for a DeepBook pool (oldest first). Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w. Volume is in the base asset. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"limit": {
"type": "integer",
"default": 24,
"maximum": 500,
"minimum": 1,
"description": "Number of candles (1-500, default 24)"
},
"end_time": {
"$ref": "#/properties/start_time",
"description": "Unix timestamp in SECONDS"
},
"interval": {
"enum": [
"1m",
"5m",
"15m",
"30m",
"1h",
"4h",
"1d",
"1w"
],
"type": "string",
"default": "1h"
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"start_time": {
"type": "integer",
"maximum": 4102444800,
"minimum": 1600000000,
"description": "Unix timestamp in SECONDS"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "OHLCV candles",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "get_bm_fills",
"title": "Fill history for a balance manager",
"description": "Fills (OrderFilled) where a given DeepBook BalanceManager was the maker or the taker in one pool, newest first: time, its side, price, qty, fee, tx. Public data; no keys. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool",
"balance_manager_id"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"role": {
"enum": [
"maker",
"taker"
],
"type": "string",
"default": "maker"
},
"hours": {
"type": "integer",
"default": 168,
"maximum": 720,
"minimum": 1,
"description": "Look-back window in hours (default 168 = 7 days)"
},
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
},
"balance_manager_id": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "DeepBook BalanceManager object id (0x + 64 hex)"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fill history for a balance manager",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "estimate_fees",
"title": "Fee estimate (input token vs DEEP)",
"description": "Estimated DeepBook fee for a fill of qty at price as maker or taker, paid in the input token (rate x 1.25) versus in DEEP (base rate), using the live on-chain fee rates and the DEEP_USDC mid. Education/information only; not financial advice. Read-only public data, may be delayed or wrong. Free: 100 calls/day per client, then 0.002 USDC per call on Sui mainnet, prepaid in batches of about 0.01 USDC (the payment-required response gives an exact amount and a payment_token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pool",
"qty"
],
"properties": {
"qty": {
"type": "number",
"description": "Base quantity",
"exclusiveMinimum": 0
},
"pool": {
"type": "string",
"maxLength": 40,
"minLength": 3,
"description": "DeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)"
},
"role": {
"enum": [
"maker",
"taker"
],
"type": "string",
"default": "taker"
},
"price": {
"type": "number",
"description": "Price; defaults to the current mid",
"exclusiveMinimum": 0
},
"payment_tx": {
"type": "string",
"maxLength": 64,
"minLength": 32,
"description": "Only after the free tier: Sui transaction digest of your exact USDC payment for payment_token (see the payment-required response)"
},
"payment_token": {
"type": "string",
"pattern": "^plb_[A-Za-z0-9_-]{43}$",
"description": "Only after the free tier: the private payment_token from the payment-required response; it holds your prepaid calls"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Fee estimate",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| Max slippage in basis points (50 = 0.5%); tx reverts below min_out |
{
"name": "build_swap_tx",
"title": "Build UNSIGNED swap transaction",
"description": "Build base64 UNSIGNED Sui transaction bytes for a swap on the chosen venue, with the sender set to your address and an on-chain minimum-out from slippage_bps. The bytes are simulated against mainnet before return. You sign locally and submit yourself; nothing is executed by the desk. Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"from",
"to",
"amount",
"sender",
"venue"
],
"properties": {
"to": {
"$ref": "#/properties/from"
},
"from": {
"type": "string",
"maxLength": 10,
"minLength": 2,
"description": "Coin symbol: SUI, USDC, WAL, DEEP, CETUS"
},
"route": {
"type": "string",
"maxLength": 80,
"description": "DeepBook only: route string from get_swap_quote, e.g. 'SUI_USDC -> WAL_USDC'"
},
"venue": {
"enum": [
"deepbook",
"cetus"
],
"type": "string",
"description": "Venue from get_swap_quote (best.venue)"
},
"amount": {
"type": "number",
"maximum": 1000000000000,
"description": "Amount of the from coin in human units, e.g. 2.5",
"exclusiveMinimum": 0
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"simulate": {
"type": "boolean",
"default": true,
"description": "Simulate the unsigned bytes against mainnet (no signature, nothing executed)"
},
"slippage_bps": {
"type": "integer",
"default": 50,
"maximum": 500,
"minimum": 1,
"description": "Max slippage in basis points (50 = 0.5%); tx reverts below min_out"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build unsigned swap tx",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| balance_manager_id * | string | YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects |
{
"name": "build_limit_order_tx",
"title": "Build: DeepBook limit order",
"description": "Place a spot limit order on a DeepBook v3 pool from your BalanceManager (fees in the input coin, no DEEP needed). Validates tick/lot/min size. Optional deposit_first funds it in the same tx. No leverage. Returns UNSIGNED tx bytes (simulated against mainnet). Non-custodial: the desk never sees or holds keys and never moves funds; it returns quotes and UNSIGNED transactions only. Spot only, no leverage. Education only, not financial advice.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sender",
"balance_manager_id",
"pool",
"side",
"price",
"quantity"
],
"properties": {
"pool": {
"type": "string",
"maxLength": 30,
"minLength": 3,
"description": "DeepBook pool BASE_QUOTE, e.g. SUI_USDC"
},
"side": {
"enum": [
"buy",
"sell"
],
"type": "string"
},
"price": {
"type": "number",
"exclusiveMinimum": 0
},
"sender": {
"type": "string",
"maxLength": 70,
"minLength": 3,
"description": "YOUR Sui address (0x...). Public address only; never send a key."
},
"quantity": {
"type": "number",
"description": "Base quantity",
"exclusiveMinimum": 0
},
"post_only": {
"type": "boolean",
"default": true,
"description": "Post-only (maker): rejects if it would cross"
},
"expire_hours": {
"type": "number",
"maximum": 2160,
"exclusiveMinimum": 0
},
"deposit_first": {
"type": "boolean",
"default": false,
"description": "Also deposit the needed coin from your wallet in the same tx"
},
"client_order_id": {
"type": "string",
"pattern": "^\\d{1,19}$"
},
"balance_manager_id": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "YOUR DeepBook BalanceManager id (0x + 64 hex), from build_create_balance_manager_tx effects"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Build: DeepBook limit order",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}