Skip to main content
Glama
ryum91

tossinvest-mcp

by ryum91

get_position_risk

Calculate stop-loss price and position size based on ATR volatility and account risk limits, enabling pre-trade risk assessment.

Instructions

ATR 기반 스탑로스 가격과 계좌 잔고 대비 적정 포지션 규모를 계산합니다. AI 자동매매에서 주문 전 리스크 관리용으로 호출합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideNo매수/매도 방향 (기본값 BUY)
symbolYes종목 심볼 (예: 005930, AAPL)
intervalNoATR 계산 봉 단위 (기본값 1d)
atr_periodNoATR 기간 (기본값 14)
account_seqYes계좌 식별자 (get_accounts로 조회한 accountSeq)
entry_priceNo진입 가격. 생략 시 최근 종가 사용
risk_percentNo계좌 잔고 대비 허용 손실 비율 % (기본값 1.0)
atr_multiplierNo스탑로스 거리 = ATR × 배수 (기본값 2.0)
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the behavioral disclosure burden. It only states the calculation intent and does not disclose potential side effects, required permissions, or output structure. For a calculation tool, this is acceptable but limited.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences that front-load the core functionality and then state the usage context. No redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 8 parameters and no output schema, the description does not explain the calculation methodology beyond 'ATR-based', nor does it mention dependencies like account_seq being obtained from get_accounts. It lacks details on return values and edge cases, making it insufficient for a complex risk-calculation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers 100% of parameters with descriptive comments, including formulas (e.g., atr_multiplier). The description adds overall context but no additional parameter semantics beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it computes ATR-based stop-loss price and position size relative to account balance, using a specific verb (계산합니다) and resource (리스크 관리). This distinguishes it from sibling technical indicator tools and order execution tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly indicates it should be called before order execution for risk management in AI automated trading, providing clear usage context. However, it does not mention when not to use it or name alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/ryum91/tossinvest-mcp'

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