Skip to main content
Glama
oliverwehn

trade-analytics-mcp

by oliverwehn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABENTO_API_KEYYesYour Databento API key (required). Get one at databento.com.
TRADE_ANALYTICS_API_KEYNoYour trade-analytics API key (required for render/analyze tools). Get one at trade-analytics.o-gw.com/dashboard.
TRADE_ANALYTICS_API_URLNoBase URL for the trade-analytics API. Defaults to hosted API.https://trade-analytics.o-gw.com
TRADE_ANALYTICS_OUTPUT_DIRNoDirectory where render saves images. Defaults to current working directory..

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_symbolA

Resolve a symbol the user mentioned (e.g. 'MNQ', 'micro nasdaq', 'MNQU6') to its precise Databento notation + trading metadata: root, continuous symbol, dataset, point value, tick size, and best-effort front-month. Runs locally under your Databento key. Free.

get_price_contextA

Return OHLCV candles + trade markers as JSON for a symbol/window, fetched locally under your Databento key. Free. Pass fills via markers and the initial stop/target via risk; omit timeframe/start/end to derive the window from the markers (span padded, ~60 candles). For a chart image or trade analysis, use the render / analyze tools.

renderA

Render a candlestick chart image of a trade (PAID — needs TRADE_ANALYTICS_API_KEY). Fetches your data locally under your Databento key, sends only the numeric slice to the API, and returns the PNG (viewable) AND saves it to a file so you can add it to a journal — the saved path is in the text result. Use save_path to choose the location, format:'svg' for vector, or include_base64:true for inline bytes.

analyzeA

Analyze trades (PAID — needs TRADE_ANALYTICS_API_KEY): per-trade MAE/MFE, R-multiple, went-green-first, capture efficiency, USD P&L (with point_value), plus an aggregate summary. Fetches the candles spanning your trades locally, sends only the numeric slice to the API. Pass trades as entry/exit fills with a side; add stop for R-multiples.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: symbol resolution, data fetching, chart rendering, and trade analysis. No overlap or ambiguity.

Naming Consistency3/5

Two tools use verb_noun pattern (resolve_symbol, get_price_context), while two are single verbs (render, analyze). Inconsistent naming convention, though each name is descriptive enough.

Tool Count4/5

4 tools is slightly below average but appropriate for a focused trade analytics server. Each tool covers a core function without being too thin.

Completeness4/5

Covers the main workflow: symbol resolution, data retrieval, visualization, and analysis. Minor gaps like bulk data or risk management are not core, so overall good coverage.

Maintenance

ActivitySlowing
ResponsivenessNo issues