Skip to main content
Glama
Jeric1223

tossinvest-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOSS_CLIENT_IDYesYour Toss Securities Open API client ID
TOSS_CLIENT_SECRETYesYour Toss Securities Open API client 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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
toss_get_priceA

Fetches current prices from Toss Securities. Korean listings use the 6-digit code (e.g. 005930); US listings use the ticker (e.g. NVDA). Both can be mixed in one call. If you only know the company name, call toss_resolve_symbol first.

toss_resolve_symbolA

Finds the Toss Securities symbol for a company name or ticker, e.g. '삼성전자' -> 005930. When exact is false the query matched several candidates — ask the user which one instead of picking one yourself.

toss_get_holdingsA

Returns the actual positions and P&L in the Toss Securities account. Prefer this over any hand-maintained portfolio file, which may be out of date.

toss_get_buying_powerA

Returns available cash in the Toss Securities account. toss_get_holdings excludes cash, so call this too when computing total assets.

toss_get_exchange_rateA

Returns the Toss Securities FX rate, defaulting to USD -> KRW. Use it to convert USD positions to KRW. Quotes expire in about five minutes, so do not cache the result.

toss_get_candlesA

Returns OHLCV candles for a symbol, for trend and volatility analysis. Interval is 1m or 1d; at most 200 candles per call.

toss_prepare_orderA

Previews a NEW market or limit order to buy or sell one stock immediately. For trigger-based orders use toss_prepare_conditional_order; to change or withdraw an order that already exists use toss_prepare_order_modify or toss_prepare_order_cancel. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_prepare_conditional_orderA

Previews a NEW conditional order that stays dormant until its trigger price is reached. SINGLE arms one leg. OCO arms two legs where filling either one cancels the other (typical take-profit plus stop-loss pair). OTO arms a second leg that is placed only after the first leg fills. For an order that should execute right away use toss_prepare_order instead. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_prepare_order_modifyA

Previews a change to an EXISTING open regular order — its quantity, price, or order type. The order keeps its identity; only the listed fields change. Find the orderId with toss_get_orders (status 'OPEN'). Use toss_prepare_conditional_order_modify for conditional orders. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_prepare_order_cancelA

Previews the withdrawal of an EXISTING open regular order so that none of its remaining quantity can fill. Already-executed shares are unaffected — cancelling never reverses a fill. Find the orderId with toss_get_orders (status 'OPEN'). Use toss_prepare_conditional_order_cancel for conditional orders. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_prepare_conditional_order_modifyA

Previews a change to an EXISTING conditional order that has not triggered yet — its trigger prices, legs, quantity, or expiry. Every field is replaced, so send the complete intended state rather than only the parts you want changed. The symbol cannot be changed; cancel and create a new order for that. Find the conditionalOrderId with toss_get_conditional_orders (status 'OPEN'). Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_prepare_conditional_order_cancelA

Previews the removal of an EXISTING conditional order so that it can no longer trigger. Legs that already triggered and became live orders are unaffected — cancel those with toss_prepare_order_cancel. Find the conditionalOrderId with toss_get_conditional_orders. Nothing reaches the market from this call: it only validates the request and returns a preview plus a confirmation token. Show that preview to the user, obtain explicit approval, then pass the token to toss_submit_prepared_order. The token is single-use and expires 60 seconds after this call.

toss_submit_prepared_orderA

Places the previously prepared order. Call only after the user has explicitly confirmed the exact preview in this conversation. The confirmation token is single-use and expires after 60 seconds.

toss_get_orderbookB

Returns live ask and bid levels for a Korean stock code or US ticker.

toss_get_recent_tradesA

Returns recent executions for a Korean stock code or US ticker.

toss_get_market_calendarA

Returns session and holiday information for the Korean or US market, including adjacent business days.

toss_get_stock_warningsA

Returns investment cautions, liquidation trading, volatility interruption, and warrant warnings.

toss_get_stock_investor_tradingA

Returns daily Korean-stock trading trends for retail, foreign, institutional, and other investors.

toss_get_short_sellingA

Returns daily Korean-stock short-selling volume, value, and ratio.

toss_get_rankingsA

Ranks Korean or US stocks by traded value, traded volume, or price change, for screening what is active today. Returns a leaderboard, not data about a stock you already picked — use toss_get_price for that.

toss_get_market_indicator_pricesA

Returns current prices for market indicators such as KOSPI and KOSDAQ. Pass one or more documented indicator symbols.

toss_get_market_indicator_candlesB

Returns 1-minute or daily OHLCV candles for a market indicator.

toss_get_market_investor_tradingB

Returns investor trading value trends for KOSPI or KOSDAQ.

toss_get_ordersA

Lists regular orders in the account, filtered by status. Use it to find the orderId needed by toss_prepare_order_modify and toss_prepare_order_cancel, or to check whether an order filled. Conditional orders are listed separately by toss_get_conditional_orders.

toss_get_orderA

Gets one regular order in full, including its current status and every partial execution. Use it to confirm what actually filled after submitting an order.

toss_get_sellable_quantityA

Returns how many shares of one symbol can be sold right now. This can be lower than the holding shown by toss_get_holdings, because shares reserved by open sell orders or still settling are excluded. Check it before sizing a SELL order.

toss_get_commissionsA

Returns applicable Korean and US stock trading commission schedules.

toss_get_conditional_ordersA

Lists conditional (trigger-based) orders in the account, filtered by status. Use it to find the conditionalOrderId needed by toss_prepare_conditional_order_modify and toss_prepare_conditional_order_cancel. Regular orders are listed separately by toss_get_orders.

toss_get_conditional_orderA

Gets one conditional order in full, including whether its trigger has fired and what each leg is doing. Use it to check on an armed condition before modifying it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jeric1223/tossinvest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server