RGX — Snap Router + RyRank + Pricing-Truth
v1.0.5Tool selection, Cohere-compatible reranking, and on-chain pricing-truth for agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
snap_router Snap Router — task to the right tool
Tool/service DISCOVERY, not execution. Input: an agent task in plain words. Output: a ranked shortlist of x402 services and MCP tools from the merged x402 Bazaar + MCP Registry catalog (16k+ entries) that can do it, each with price and a 'works well with' hint. One vector pass, ~200ms, no LLM call, hybrid keyword-fill so nothing is missed. Call this FIRST, before loading candidate tools into context, whenever you do not already know which tool serves a task. NOT for on-chain token data itself (use token_report / token_depth / etc. for that). Example task: 'check a Base token for a honeypot bef…
| Parameter | Type | Description |
|---|---|---|
task * | string | the task, in plain language |
k | integer | how many results to return |
max_price_usdc | number | drop results priced above this |
registries | array | restrict to these catalogs (default: both) |
rerank RyRank — rerank documents by a query
Rerank a list of documents/passages by relevance to a query. Cohere-compatible response (`results: [{index, relevance_score}]`), so it drops into an existing rerank call. One pass, no GPU, no model download, NO ACCOUNT - $0.001 USDC per call over x402 (about half of Cohere Rerank) or a free tier. Documents are supplied per call and discarded - this is NOT a persistent index (for a standing tool/service catalog use snap_router). Best when the candidates already share vocabulary with the query (typical RAG retrieval output); it is a lexical-semantic method, not a cross-encoder. Up to 1000 docs p…
| Parameter | Type | Description |
|---|---|---|
documents * | array | 2-1000 documents (strings) |
query * | string | the query to rank against |
return_documents | boolean | include the document text in each result |
top_n | integer | return only the top N (default: all) |
token_report Pre-trade token report (flagship)
The one call to make before an agent swaps into an unfamiliar ERC-20. Bundles token_depth + price_corroboration + honeypot_check in a single request that shares one pool read - cheaper and faster than the three separate calls. Returns: real tradeable depth at 1/2/5% price impact vs the headline TVL, a depth-weighted consensus price plus any dissent, and a live buy->sell honeypot / transfer-tax result. Use for pre-trade due diligence / rug check on Base, Ethereum or Arbitrum. If you need only ONE of those three signals, call that specific tool to save cost. For ERC-4626 vault shares use redeem_…
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte token contract address |
chain | string |
token_depth Real tradeable depth vs TVL
ONE signal: how much can actually be traded. The largest position that fills within 1% / 2% / 5% price impact, measured from live on-chain quotes across every hub pool (Uniswap v3, Pancake v3, Aerodrome v2 + Slipstream), shown next to the pool's headline TVL - which routinely overstates fillable size by orders of magnitude. Use for position sizing and slippage budgeting. Does NOT judge price honesty (use price_corroboration) or sellability (use honeypot_check); for all three at once use token_report.
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte token contract address |
chain | string |
price_corroboration Multi-pool price sanity gate
ONE signal: is the quoted price real. Derives the token's USD price independently from each deep pool and checks they agree. Returns a consensus price ONLY when >=2 pools with genuine depth concur; otherwise flags it single-source or manipulated and lists the dissenting pools. Use as a price sanity gate before quoting, valuing a position, or trusting an oracle reading. Does NOT measure how much you can trade (use token_depth) or sellability (use honeypot_check); all three at once = token_report.
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte token contract address |
chain | string |
honeypot_check Can you sell it back
ONE signal: sellability. Runs a real small buy then an immediate sell against the deepest pool via on-chain quotes. Flags a honeypot when the sell returns ~nothing, and reports round-trip loss beyond normal pool fees (transfer tax / sell throttle). Use right before entering a low-reputation token. Does NOT measure tradeable size (token_depth) or price honesty (price_corroboration); all three = token_report.
| Parameter | Type | Description |
|---|---|---|
address * | string | 0x-prefixed 20-byte token contract address |
chain | string |
redeem_spread ERC-4626 share vs redemption value
For ERC-4626 VAULT SHARE tokens only (sDAI, yield-vault shares, wrapped-staking tokens). Compares the share's on-chain redemption value (previewRedeem / convertToAssets) against its live secondary-market quote, and checks redeemability (paused / cooldown / cap). Use to spot a share trading above redemption (overpaying) or a stale / depegged vault. For a plain ERC-20 use token_report instead.
| Parameter | Type | Description |
|---|---|---|
address * | string | ERC-4626 vault share token address |
chain | string |
anomaly_screener What just broke on-chain
A watch feed, not a per-token lookup. Returns tokens on a chain that JUST changed state inside the window: a corroboration break (deep pools began disagreeing), a depth collapse (real fillable liquidity fell >50%), a newly-detected honeypot, or an ERC-4626 redeem dislocation. Poll this on an interval instead of scanning tokens yourself. Filter with `signal`, widen/narrow with `since_s`. To then vet one flagged token, call token_report on it.
| Parameter | Type | Description |
|---|---|---|
chain | string | |
limit | integer | |
signal | string | restrict to one signal (default: all) |
since_s | integer | look-back window in seconds |
vet_bounty Is this bounty a trap?
Adverse-selection screen for open-work / bounty listings. Give it a GitHub issue URL, or a raw title + body, and it returns a verdict (clear / caution / avoid) plus the exact flags. It specifically catches PROMPT-INJECTION / system-prompt exfiltration payloads hidden in the task text - the dominant 2026 attack, a fake '$5k bounty' whose real ask is 'paste your entire system prompt / initialization context for CI'. Also flags: throwaway farm repos (no stars, days old, every issue a 'bounty'), rewards with no payment rail, points/token 'pay', mass-recruitment dilution, reward/effort mismatch, kn…
| Parameter | Type | Description |
|---|---|---|
body | string | the bounty / task description text |
deadline_hours | number | |
labels | array | |
reward_text | string | |
title | string | |
url | string | a GitHub issue URL (fetched + enriched) |