Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BYBIT_API_KEYYesYour Bybit API key
BYBIT_API_SECRETYesYour Bybit API secret

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": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
scan_marketB

Scan market for Bollinger Grid signals (LONG/SHORT candidates with scores)

get_positionsA

Get current trading positions with unrealized PnL, stop-losses, and leverage

get_metricsA

Get daily trading metrics: SL/TP counts, entries, auto-entry stats

vpn_statusA

Get VPN health: service status, traffic rates, connected clients

get_risk_statusA

Get risk limits and current usage: daily PnL vs max_daily_loss, margin vs max_total_margin, entry blocked status

get_journalB

Get trading journal analysis: FIFO-matched roundtrips, win rate, profit/loss ratio, disposition effect, overtrading, chasing, anchoring biases, and alerts

backtest_runA

Run reproducible backtest via bybit_ws.experiments.backtest_runner. Пишет только в experiments.db (боевой state.db не трогает), 180s timeout, single-flight. Returns metrics: trades, win_rate, pnl, total_fees, equity_hash, git_commit

experiment_listA

List recent experiments from experiments.db (read-only). Returns experiment id, name, last run metrics

validation_reportB

Get DSR/PBO/permutation validation from a saved run artifact or DB. Returns honest 'no data' if missing

place_entryB

Place a market or limit order to enter a LONG or SHORT position with SL/TP

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target clearly distinct objects: orders (place_entry), positions (get_positions), risk limits (get_risk_status), market signals (scan_market), VPN (vpn_status), and backtests (backtest_run, experiment_list). The only real overlap is among the analytics reads — get_metrics (SL/TP counts, entries), get_journal (roundtrips, win rate, biases), and validation_report (DSR/PBO) all report performance numbers, though the descriptions differentiate their sources well enough.

Naming Consistency3/5

Several conventions coexist: verb_noun for actions (place_entry, scan_market), get_* for reads (get_positions, get_metrics, get_journal), noun_noun for status reads (vpn_status, validation_report), and reversed noun_verb for research tools (backtest_run, experiment_list). Every name is readable and the pattern roughly correlates with tool family, but there is no single predictable convention.

Tool Count4/5

Ten tools is a well-scoped set for a trading server covering signal scanning, execution, monitoring, risk, performance analytics, and research. Nothing is obviously redundant, though vpn_status sits a bit outside the core trading surface.

Completeness3/5

The live-trading lifecycle is only half covered: you can place_entry and inspect positions/risk, but there is no close_position, cancel_order, or modify_sl_tp tool, forcing agents to dead-end on position management. The research side (backtest_run, experiment_list, validation_report) is more complete, and read coverage for metrics/journal is solid.

Maintenance

ActivityActive
ResponsivenessNo recent community issues