Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HEADLESSNoRun browser headless, default truetrue
MIDAS_PHONEYesTurkish mobile number, no country code
MIDAS_PASSWORDYesYour Midas account password
MAX_ORDER_VALUE_TRYNoMaximum order value in TRY, default 50005000

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
get_portfolioA

Get overall portfolio value in TRY, today's profit/loss, and cash balances and buying power for the Turkish (BIST/TRY) and US (USD) accounts.

get_assetsA

List all open positions (BIST stocks, US stocks, Turkish funds, US options) with quantity, average cost, current price, market value and profit/loss.

get_asset_priceA

Get the current trade price for a symbol, with previous close, percent change and whether the market session is open.

get_asset_infoA

Get descriptive information about an instrument (full name, market, description) together with its current price.

buy_assetA

Place a BUY order. Orders whose estimated value exceeds ₺5000 are refused. Omit limit_price for a market order. Note that orders placed outside market hours queue for the next session (BIST trades 10:00-18:00 Turkey time).

sell_assetA

Place a SELL order. Orders whose estimated value exceeds ₺5000 are refused. Omit limit_price for a market order. Note that orders placed outside market hours queue for the next session.

get_technicalsA

Compute a full technical-analysis snapshot for a symbol from its daily price history: RSI(14), SMA/EMA (20/50/200), MACD, Bollinger Bands, ATR and annualized volatility, 52-week range, swing-pivot support/resistance levels, and volume-vs-average. Feed this into the scan scoring formula in CLAUDE.md.

get_chartA

Get raw OHLCV candles for a symbol (open, high, low, close, volume, timestamp). Use get_technicals for computed indicators; use this only when you need the raw series.

get_pending_ordersA

List orders for a symbol that are still waiting to execute, including their order ids for cancellation.

cancel_orderA

Cancel a pending order by its order id. Use get_pending_orders to find the id.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 10 tools

Disambiguation4/5

Each tool has a clear primary purpose, and the descriptions make boundaries mostly clear. However, get_asset_info and get_asset_price both provide current price information, and get_assets vs get_portfolio could be confused at a glance, though they serve different levels of detail.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case (get_*, sell_asset, buy_asset, cancel_order). The verbs are simple and predictable, making the API easy to navigate.

Tool Count5/5

10 tools is well-scoped for a trading platform MCP, covering portfolio viewing, order placement, order management, and market data. Each tool has a distinct role and none seem redundant or unnecessary.

Completeness4/5

The core trading lifecycle is covered: see positions, place orders, cancel pending orders, view quotes, and get technical analysis. Minor gaps include lack of order history (executed trades) and no way to modify an order (though cancel+replace works), and no symbol search, but these are not critical dead ends.

Maintenance

ActivitySlowing
ResponsivenessNo issues