wavescan
v0.1.0Stateless anomaly and risk scans over your own data: outliers, drift, wash trading, manipulation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
waveguard_scan
Find outliers and anomalies in structured data — ideal as a second step after pulling records from Google Sheets, Airtable, Supabase, Notion databases, HubSpot, Financial APIs, GitHub, NPM, or any source that returns rows of JSON. Fully stateless: send known-good rows as training and suspect rows as test in ONE call. Returns per-row anomaly scores, confidence levels, and the top features explaining WHY each row was flagged. Typical workflow: (1) Pull data from another tool (e.g. Google Sheets, Supabase query, HubSpot deals). (2) Pass the first N rows as training (normal baseline). (3) Pass…
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ data points to check for anomalies — new entries, recent rows, or the subset you want validated. Same type/shape as training. Each sample is scored independently. |
training * | array | 2+ examples of NORMAL/expected data — the known-good baseline. Typically the bulk of rows from a spreadsheet, database query, or API response. All samples should be the same type/shape. More samples… |
encoder_type | string | Data encoder type. Omit to auto-detect from data shape. |
field_level | integer | Physics field complexity. 0 = real scalar (default). 1 = complex field (phase-aware, 62-dim fingerprint). |
sensitivity | number | Anomaly threshold multiplier (default: 2.0). Lower = more sensitive. Higher = less sensitive. Range: 0.5 to 5.0. |
waveguard_scan_timeseries
Detect anomalies in time-series data — use after pulling numeric metrics from monitoring APIs, financial data sources, IoT sensors, or spreadsheet columns. Send a single numeric array and specify a window size. Early windows define 'normal', recent windows are tested for anomalies. Typical workflow: (1) Pull a column of numbers from Sheets, a Supabase time-series table, or a metrics API. (2) Pass the array here. (3) Get back which time windows are anomalous. Examples: - Revenue monitoring: Pull monthly revenue from Sheets → detect anomalous months - Stock screening: Pull 90 days of closi…
| Parameter | Type | Description |
|---|---|---|
data * | array | Numeric time-series array, ordered chronologically. Should have at least 3x window_size data points. |
sensitivity | number | Anomaly sensitivity (default: 1.0). Higher = more sensitive. |
test_windows | integer | Number of most recent windows to test (default: half of total windows). The rest are used as training (normal baseline). |
window_size | integer | Number of data points per window (default: 10). Smaller windows detect finer-grained anomalies. |
waveguard_health
Check WaveGuard API health, GPU availability, version, and engine status. No authentication required. Returns status, version, and GPU info.
| Parameter | Type | Description |
|---|---|---|
verbose | boolean | Return detailed health info including memory and uptime (default: false). |
waveguard_fingerprint
Get a physics embedding of any data item (52-dim at Level 0, 62-dim at Level 1 with phase statistics). The fingerprint captures structural properties via wave-equation dynamics — useful for similarity search, clustering, baseline comparison, and drift detection. Works on JSON objects, token metrics, wallet activity, trading data, or any structured data. Returns a deterministic vector with labeled dimensions (chi statistics, energy distribution, gradient patterns, and phase coherence at Level 1).
| Parameter | Type | Description |
|---|---|---|
data * | Any data item to fingerprint: JSON object, numeric array, string, or structured record. | |
encoder_type | string | Data encoder. Omit to auto-detect. |
field_level | integer | 0 = real scalar 52-dim (default), 1 = complex field 62-dim. |
waveguard_compare
Compare two data items for structural similarity using physics-based fingerprints. Returns cosine similarity (0–1) and Euclidean distance. Use for duplicate detection, behavioral matching, drift analysis, or checking if two tokens/wallets/contracts are structurally similar. Cosine similarity > 0.95 = very similar. < 0.80 = structurally different.
| Parameter | Type | Description |
|---|---|---|
data_a * | First data item to compare. | |
data_b * | Second data item to compare (same type as data_a). | |
encoder_type | string | Data encoder. Omit to auto-detect. |
waveguard_token_risk
Assess crypto token legitimacy risk. Send metrics from known-good tokens as training (price, volume, holders, liquidity, market_cap, age_days, etc.) and suspect tokens as test. Detects pump-and-dump patterns, fake metrics, and anomalous token profiles. Example: Pull CoinGecko data for 20 established tokens → train. Test a new token → get risk score and which metrics are suspicious.
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ suspect token metric objects to evaluate. |
training * | array | 3+ known-good token metric objects. Each should include fields like price, volume_24h, market_cap, holders, liquidity, age_days, etc. |
sensitivity | number | Risk sensitivity (default: 1.5). Higher = more flags. |
waveguard_wallet_profile
Profile wallet behavior against baselines. Send normal wallet transaction patterns as training (tx_count, avg_value, unique_tokens, gas_spent, active_days, etc.) and suspect wallets as test. Detects bot activity, wash trading wallets, and sybil patterns. Example: Profile 50 organic wallets → test 10 suspect addresses.
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ suspect wallet profiles to evaluate. |
training * | array | 3+ known-organic wallet activity profiles. |
sensitivity | number | Detection sensitivity (default: 1.5). |
waveguard_volume_check
Detect wash trading and fake volume in OHLCV candle data. Send known-legitimate candles as training and suspect candles as test. Detects artificial volume spikes, suspiciously regular patterns, and manipulated price-volume relationships. Example: Send 100 candles from a liquid pair as baseline, test candles from a suspicious pair.
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ suspect candle objects to evaluate. |
training * | array | 3+ OHLCV candle objects from known-legitimate trading. Fields: open, high, low, close, volume. |
sensitivity | number | Detection sensitivity (default: 1.5). |
waveguard_price_manipulation
Detect price manipulation in time-series data. Send a price or price+volume history as a numeric array. Early windows define 'normal' trading, recent windows are tested for manipulation patterns (pump-and-dump, spoofing, layering). Example: Send 90 days of closing prices → detect manipulated windows.
| Parameter | Type | Description |
|---|---|---|
data * | array | Price time-series array (chronological). At least 20 data points. |
sensitivity | number | Detection sensitivity (default: 1.5). |
test_windows | integer | Number of recent windows to test (default: half). |
window_size | integer | Window size (default: 10). Smaller = finer detection. |
waveguard_market_data
Fetch live crypto market data from CoinGecko and DexScreener. No external data needed — WaveGuard pulls it for you. Use 'coin_id' for CoinGecko (e.g. 'bitcoin', 'ethereum', 'solana'). Use 'contract_address' for DexScreener (any chain). Use 'search' to find token IDs by name/symbol. Returns: price, volume, market cap, liquidity, price history, OHLC candles — ready to feed into waveguard_token_risk, waveguard_volume_check, or waveguard_price_manipulation.
| Parameter | Type | Description |
|---|---|---|
action * | string | What data to fetch: - token_data: full metrics for a CoinGecko coin - price_history: daily prices (for price_manipulation) - ohlc: OHLC candles (for volume_check) - top_coins: top N by market cap (tra… |
coin_id | string | CoinGecko coin ID (e.g. 'bitcoin', 'ethereum'). Required for token_data, price_history, ohlc. |
contract_address | string | Token contract address (any chain). Required for dex_token. |
count | integer | Number of results for top_coins (default: 25). |
days | integer | Number of days of history (default: 90 for price_history, 30 for ohlc). |
query | string | Search query. Required for search, dex_search. |
waveguard_counterfactual
Run baseline plus counterfactual variants and measure verdict/score sensitivity.
| Parameter | Type | Description |
|---|---|---|
base_test * | Baseline candidate sample to evaluate before counterfactual perturbations. | |
counterfactual_tests * | array | 1+ perturbed variants of base_test for sensitivity analysis. |
training * | array | 2+ baseline normal samples used to build the reference profile. |
encoder_type | string | Optional encoder override. Omit to auto-detect from input structure. |
field_level | integer | 0 = real scalar field (faster), 1 = complex field (richer phase dynamics). |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). Higher values flag more aggressively. |
waveguard_trajectory_scan
Analyze sequence drift and regime shifts over ordered samples.
| Parameter | Type | Description |
|---|---|---|
sequence * | array | Ordered samples (time sequence) to scan for drift and regime shifts. |
training * | array | 2+ baseline normal samples used to establish the reference regime. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | 0 = real scalar field, 1 = complex field. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
waveguard_instability
Estimate instability under controlled perturb-and-resolve trials.
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ candidate samples to stress-test with perturbation trials. |
training * | array | 2+ baseline normal samples for reference dynamics. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | 0 = real scalar field, 1 = complex field. |
perturbation_strength | number | Relative perturbation amplitude applied during instability assay. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
trials | integer | Number of perturbation trials per sample. |
waveguard_phase_coherence
Measure coherence/entropy and collapse-risk indicators for candidate data.
| Parameter | Type | Description |
|---|---|---|
test * | array | 1+ candidate samples to evaluate for phase coherence and entropy. |
training * | array | 2+ baseline normal samples for reference coherence metrics. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | Field representation level. Default 1 for phase-aware analysis. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
waveguard_interaction_matrix
Compute pairwise interaction matrix and cluster decomposition for entities.
| Parameter | Type | Description |
|---|---|---|
entities * | array | 2+ entities to evaluate for pairwise interaction effects. |
training_context * | array | 2+ baseline context samples used for normalization. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | Field representation level. Default 1 for interaction/phase features. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
waveguard_cascade_risk
Estimate shock propagation and resilience from adjacency-linked entities.
| Parameter | Type | Description |
|---|---|---|
adjacency_matrix * | array | N×N weighted adjacency matrix describing link strengths between entities. |
entities * | array | 2+ entities/nodes participating in the cascade graph. |
shock_indices * | array | Indices of initially shocked entities within the entities array. |
training_context * | array | 2+ baseline context samples used for normalization. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | Field representation level. Default 1 for graph interaction dynamics. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
shock_strength | number | Initial perturbation magnitude injected at shock indices. |
waveguard_mechanism_probe
Run targeted interventions and rank effect sizes.
| Parameter | Type | Description |
|---|---|---|
base_test * | Baseline candidate sample before interventions. | |
intervention_tests * | array | 1+ intervention variants used to estimate effect sizes. |
training * | array | 2+ baseline normal samples used to construct the reference profile. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | 0 = real scalar field, 1 = complex field. |
intervention_labels | array | Optional labels for intervention variants (same order as intervention_tests). |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
waveguard_action_surface
Score candidate actions and extract robust action zones.
| Parameter | Type | Description |
|---|---|---|
action_tests * | array | 1+ candidate actions/scenarios to score against baseline. |
training * | array | 2+ baseline normal samples used to define the reference profile. |
action_labels | array | Optional labels for each action variant. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | 0 = real scalar field, 1 = complex field. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |
waveguard_multi_horizon_outlook
Compute horizon-specific anomaly outlook and consistency across windows.
| Parameter | Type | Description |
|---|---|---|
horizons * | array | List of horizon lengths (in sequence steps) to evaluate. |
sequence * | array | Ordered sample sequence used for multi-horizon outlook analysis. |
training * | array | 2+ baseline normal samples used to establish reference behavior. |
encoder_type | string | Optional encoder override. Omit to auto-detect. |
field_level | integer | 0 = real scalar field, 1 = complex field. |
sensitivity | number | Anomaly sensitivity multiplier (default: 1.0). |