aipricepatterns
Server Details
Historical market memory for AI agents using semantic vector search across years of financial market data. Discover similar market regimes, price patterns, and market context for quantitative research and algorithmic trading.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 3.4/5 across 12 of 12 tools scored. Lowest: 2.8/5.
Each tool has a clearly distinct purpose: pattern search variants differ by input method (historical, sketched, private data), decision tools are separated by context (generic vs. Polymarket), and supporting tools (backtest, regime, track record) cover different aspects. No two tools appear to do the same thing.
Most tools follow a descriptive verb_noun pattern in snake_case, but there is a split between 'get_' prefixed tools (e.g., get_track_record) and directly verb-noun names (e.g., backtest_strategy). This minor inconsistency does not hinder readability.
12 tools cover the server's domain of price pattern analysis and trading decisions without being excessive or sparse. Each tool serves a specific, justified purpose, and the count feels well-scoped for the intended functionality.
The tool set covers core workflows: pattern search (multiple methods), regime detection, backtesting, trade decisions, and track record verification. Minor gaps like a dedicated symbol listing tool are absent but not critical, as symbols are likely parameters.
Available Tools
12 toolsbacktest_strategyInspect
Perform a full strategy backtest over a historical period (Walk-forward analysis). Use this for testing general rules or long-term performance.
| Name | Required | Description | Default |
|---|---|---|---|
| f | Yes | Forecast horizon | |
| q | Yes | Query length | |
| step | No | Simulation step in bars | |
| topK | No | Number of nearest neighbours | |
| endTs | No | End timestamp for simulation | |
| feePct | No | Per-side fee percentage | |
| symbol | Yes | Ticker symbol | |
| maxBars | No | Maximum recent bars to load for the backtest | |
| minProb | No | Directional probability threshold | |
| startTs | No | Start timestamp for simulation | |
| interval | Yes | Timeframe | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| direction | No | Allowed direction: long, short, or both | |
| minAvgSim | No | Minimum average similarity required to trade | |
| onlySignals | No | Return only non-neutral decisions | |
| slippagePct | No | Per-side slippage percentage | |
| includeStats | No | ||
| embeddingMode | No | Pattern embedding mode for ANN retrieval |
detect_market_regimeInspect
Classify current market state into one of the known market regimes.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Ticker symbol | |
| interval | Yes | Timeframe | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| timestamp | No | Unix timestamp for detection | |
| queryLength | Yes | Length of price vector to analyze |
find_market_analogsInspect
Find historical price patterns similar to the current (or specified) market state. Returns a list of past dates when the same pattern occurred, the price outcome after each analog, and aggregate statistics (win rate, median return, percentile range). Use cases: (1) pre-news analysis — filter by timeOfDayUTC to find analogs that happened near a specific event time (e.g., FOMC at 14:00 UTC); (2) regime research — understand historically what happens after this pattern; (3) Polymarket context — combine with get_polymarket_probabilities to validate signal with historical evidence. Returns a plain-English summary suitable for agent reasoning.
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | ||
| q | No | ||
| limit | No | ||
| symbol | Yes | Ticker symbol, e.g. BTCUSDT | |
| context | No | ||
| session | No | ||
| interval | No | Candle interval | 15m |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| weekdays | No | ||
| timeOfDayUTC | No | ||
| timeRangeUTC | No | ||
| minSimilarity | No | ||
| anchorTimestamp | No | ||
| timeWindowMinutes | No |
forecast_private_memory_from_dataInspect
Create or reuse a private dataset, import candle data, and return a compact forecast card in one call. Ideal for users who want to upload exchange or ML-derived candle history, inspect analogues immediately, and only then decide whether to run RLXBT.
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | ||
| q | No | ||
| name | No | ||
| rows | No | ||
| slug | No | ||
| sort | No | ||
| force | No | ||
| limit | No | ||
| start | No | ||
| cursor | No | ||
| userId | No | ||
| agentId | No | ||
| rawText | No | ||
| anchorTs | No | ||
| interval | No | ||
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| datasetId | No | ||
| description | No | ||
| windowEndTs | No | ||
| embeddingMode | No | ||
| windowStartTs | No | ||
| includeForecast | No |
get_api_guideInspect
Returns the full documentation and workflow guide for this MCP server. Call this first to understand all available tools, their use cases, and how to combine them. Includes: tool catalog, recommended workflows for Polymarket research, historical analog analysis, and example calls.
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Focus area: 'all' for full guide, or a specific topic | all |
get_live_polymarket_trade_decisionInspect
Auto-discover the active BTC Up/Down 15m Polymarket market, combine live Polymarket pricing with pattern memory and intrabar momentum, and return BUY_YES, BUY_NO, or SKIP with entry guardrails.
| Name | Required | Description | Default |
|---|---|---|---|
| nowMs | No | ||
| symbol | No | BTCUSDT | |
| minEdge | No | ||
| interval | No | 15m | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| marketWindow | No | current | |
| allowDegradedSearch | No | ||
| minCombinedConfidence | No |
get_mcp_compatibility_manifestInspect
Return the versioned MCP compatibility manifest, including canonical tools, aliases, and JSON argument schemas for remote clients.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_pattern_metricsInspect
Retrieve advanced statistical metrics and forecast distributions for a pattern search result.
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | Forecast horizon in bars | |
| q | No | Query length in bars | |
| sort | No | Sort mode for results | |
| limit | No | Maximum number of matches to return | |
| symbol | No | Ticker symbol (e.g., BTCUSDT) | |
| compact | No | Default true: strips per-match value arrays and full forecast paths, returning match metadata, horizon-end price targets, and the calibrated outcome distribution (~4x fewer tokens). Set false for full arrays. | |
| anchorTs | No | Target timestamp to search around | |
| interval | No | Timeframe (e.g., 1h, 15m) | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| embeddingMode | No | Pattern embedding mode: priceShape uses normalized closes, featureV1 uses OHLCV/context, neuralV1 uses the experimental ONNX encoder |
get_track_recordInspect
Public forecast track record: every closed bar the engine logs its own forecast BEFORE the outcome is known, then grades it against reality. Returns direction hit rate, p10-p90 band coverage vs the nominal 80%, mean abs error, the active conformal calibration scale, and recent forecast-vs-actual rows. Use this to verify the engine's calibration before trusting its forecasts.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max recent forecast rows to return (default 40, max 200) | |
| symbol | No | Ticker symbol (default BTCUSDT) | |
| interval | No | Timeframe: 5m, 15m, 1h or 4h (default 1h) |
get_trading_decisionInspect
Return a compact trader decision card for a symbol/interval: TRADEABLE, WATCH, or SKIP with direction, confidence, evidence, risk, reasons, and caveats.
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | Forecast horizon in bars | |
| q | No | Query length in bars | |
| sort | No | Sort mode for results | |
| limit | No | Maximum number of matches to return | |
| feePct | No | Per-side fee percentage for the proof backtest | |
| symbol | No | Ticker symbol (e.g., BTCUSDT) | |
| compact | No | Default true: strips per-match value arrays and full forecast paths, returning match metadata, horizon-end price targets, and the calibrated outcome distribution (~4x fewer tokens). Set false for full arrays. | |
| minProb | No | Minimum directional probability required to trade in the proof backtest | |
| anchorTs | No | Target timestamp to search around | |
| interval | No | Timeframe (e.g., 1h, 15m) | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| minAvgSim | No | Minimum average similarity required to trade in the proof backtest | |
| slippagePct | No | Per-side slippage percentage for the proof backtest | |
| backtestStep | No | Backtest step in bars | |
| backtestEndTs | No | Optional backtest end timestamp in Unix ms | |
| embeddingMode | No | Pattern embedding mode: priceShape uses normalized closes, featureV1 uses OHLCV/context, neuralV1 uses the experimental ONNX encoder | |
| backtestMaxBars | No | Maximum recent bars to load for the backtest | |
| backtestStartTs | No | Optional backtest start timestamp in Unix ms | |
| includeBacktest | No | When true, include a walk-forward backtest proof block. This is slower than the default decision-only response. | |
| backtestTimeoutMs | No | Optional timeout budget for the backtest request |
pattern_searchInspect
Search for similar historical price patterns in the RLX database.
| Name | Required | Description | Default |
|---|---|---|---|
| f | No | Forecast horizon in bars | |
| q | No | Query length in bars | |
| sort | No | Sort mode for results | |
| limit | No | Maximum number of matches to return | |
| symbol | No | Ticker symbol (e.g., BTCUSDT) | |
| compact | No | Default true: strips per-match value arrays and full forecast paths, returning match metadata, horizon-end price targets, and the calibrated outcome distribution (~4x fewer tokens). Set false for full arrays. | |
| anchorTs | No | Target timestamp to search around | |
| interval | No | Timeframe (e.g., 1h, 15m) | |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| embeddingMode | No | Pattern embedding mode: priceShape uses normalized closes, featureV1 uses OHLCV/context, neuralV1 uses the experimental ONNX encoder |
search_by_sketchInspect
Search for historical patterns similar to a custom 'sketched' price trajectory (Sketch-to-Search). Useful when you want to find matches for a hypothetical or hand-drawn pattern.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches to return | |
| symbol | No | Reference symbol for scale | BTCUSDT |
| interval | No | Reference interval | 1h |
| token_id | No | Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access. | |
| queryValues | Yes | Array of price points representing the sketched pattern (e.g. [10, 11, 10.5, 12]) |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!