Skip to main content
Glama
dex-cex-spread

dex-cex-spread

by tordagaz-ops

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_LOCALENoThe language the server speaks: English (default), Spanish (`es`) or Russian (`ru`). Also accepts a full locale such as `es-MX` or `ru-RU`. An unknown or missing value falls back to English.
MCP_TRANSPORTNoThe transport to use. Accepts `stdio` (default), `sse`, `http` and `streamable-http`.stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only DEX versus CEX price comparison. Resolves a ticker or a contract address to the pool that actually holds that asset, quotes it against the Bybit, OKX and Binance spot books, and reports the spread net of the two taker fees and of the price impact a constant-product pool charges. Token identity is checked first: most large DEX/CEX gaps on aggregators are a copycat token with the same ticker, and those are refused instead of reported. Nothing here places an order, signs anything, or needs an API key.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_tokenA

Given a ticker such as PEPE or a contract address, find the pools that hold it and decide whether that contract is the same asset the exchanges list. Pinned addresses are proof; without a pin the only evidence is that the pool trades within 25% of the centralised price, which is reported as weaker evidence. When no candidate agrees, the answer is a refusal listing what the copycats quote, so the reason is auditable instead of silently wrong.

compare_priceA

One token, one size: the best pool price against every centralised book, both directions round (buy on the DEX and sell at the CEX bid, or the reverse), with the two taker fees and the constant-product price impact for that size charged before anything is called an opportunity. Also reports the size at which impact eats the whole edge, and the naive mid-to-mid spread side by side so the difference between the two numbers is visible.

scan_spreadsB

The same comparison over a list of tickers, ranked by net edge, with the rows that cannot be trusted kept in the answer as refusals rather than dropped. A scan that returns twelve symbols and eleven refusals is the honest result of asking about tickers that most aggregators would have turned into a 99.99 % 'opportunity'.

pool_liquidityA

Every pool this server can see for a token, with real depth (the smaller side, which cannot be inflated by a token pricing itself), 24 hour volume, the turnover ratio, and the price impact a constant-product pool would charge at 1k, 10k, 100k and 1M dollars.

list_venuesB

Which DEX index and which centralised books this server can reach, the chains the index covers, and with probe a live latency and symbol count per venue.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 5 tools

Disambiguation5/5

Each tool occupies a distinct stage of the workflow: venue discovery, token identity resolution, single-pair comparison, batch scanning, and pool-liquidity inspection. compare_price and scan_spreads are explicitly separated by single-token versus list behavior, while resolve_token and pool_liquidity separate asset identity from depth analysis.

Naming Consistency4/5

All names use readable snake_case and follow a verb_noun pattern for list_venues, resolve_token, compare_price, and scan_spreads. pool_liquidity is the minor deviation, using a noun-led form instead of a verb, but it remains clear and consistent in casing style.

Tool Count5/5

Five tools map tightly to the DEX/CEX spread-analysis domain with no filler. The set is neither thin nor bloated: discovery, resolution, comparison, scanning, and liquidity each earn a dedicated tool.

Completeness4/5

The surface covers the core workflow well: venue discovery, token resolution, single and batch spread comparison, and liquidity/impact inspection. Minor gaps remain around historical spread tracking, alerting, and transfer or withdrawal-cost modelling, which could affect executable arbitrage decisions.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues