Skip to main content
Glama
kimdoogi

toss-invest-mcp

by kimdoogi

create_conditional_order

Create conditional stock orders to automate stop-loss and take-profit executions. Supports SINGLE, OCO, and OTO order strategies.

Instructions

조건주문 생성 (스탑로스/익절 등). ⚠️ 조건 충족 시 실제 주문이 실행됩니다. SINGLE: first만, OCO/OTO: first+second 필요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes조건주문 타입: SINGLE(단일 조건) | OCO(둘 중 하나 체결 시 나머지 취소) | OTO(first 체결 후 second 감시)
firstYes첫번째 감시 조건 (OTO는 부모 조건)
secondNo두번째 감시 조건 (OCO/OTO 필수, SINGLE 생략)
symbolYes종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL)
quantityYes매매 수량 (주 단위, 문자열, 그룹 공통)
orderTypeYes호가 유형 (그룹 공통). OCO/OTO는 LIMIT만 지원
accountSeqNo계좌 accountSeq. 미지정 시 TOSS_ACCOUNT_SEQ 환경변수 사용. get_accounts로 조회 가능
expireDateYes조건주문 만료일 (YYYY-MM-DD)
clientOrderIdNo멱등성 키
confirmHighValueOrderNo1억원 이상 주문 동의 여부
Behavior3/5

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

Without annotations, the description partially discloses behavior: it warns that conditions trigger actual orders. However, it lacks details on side effects (e.g., mutation, rate limits, or reversal possibilities). The description is adequate but not comprehensive for a tool that creates financial orders.

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?

The description is extremely concise—two sentences plus a brief note. It is front-loaded with the purpose and uses bullet-like notation for the type-parameter relationship. Every sentence serves a distinct purpose with no redundancy.

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

Completeness3/5

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

Given 10 parameters, no output schema, and no annotations, the description is adequate but incomplete. It explains the conditional behavior and parameter requirements but misses integrated guidance on constraints like expireDate, clientOrderId idempotency, or confirmHighValueOrder. The schema descriptions fill gaps, but the tool description could offer more cohesive context.

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

Parameters4/5

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

The schema already covers 100% of parameters with descriptions. The description adds value by clarifying the relationship between order type and the first/second parameters (SINGLE needs only first, OCO/OTO need both). This goes beyond the schema's individual descriptions.

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 the tool's purpose: creating conditional orders for stop loss/take profit etc. It distinguishes from siblings by specifying the types (SINGLE, OCO, OTO) and their parameter requirements, making it clear this is for conditional rather than immediate orders.

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 provides clear context on when to use each order type (SINGLE vs OCO/OTO) by specifying the required parameters. However, it does not explicitly state when not to use this tool (e.g., for immediate orders use create_order) or provide alternative tools, leaving some ambiguity.

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/kimdoogi/toss-mcp'

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