Skip to main content
Glama
nangchang

toss-invest

by nangchang

주문 목록 조회

toss_get_orders
Read-onlyIdempotent

Retrieve orders for a specific account by status, symbol, and date range. Get open or closed orders with execution details and pagination support.

Instructions

특정 계좌의 주문 목록을 조회합니다.

Args:

  • accountSeq (number, 필수): 계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값

  • status (string, 필수): 주문 상태 필터.

    • "OPEN": 미체결 주문 (PENDING, PARTIAL_FILLED, PENDING_CANCEL, PENDING_REPLACE)

    • "CLOSED": 체결/취소/거부된 주문 (FILLED, CANCELED, REJECTED, REPLACED 등)

  • symbol (string, 선택): 종목 심볼 필터

  • from (string, 선택): 조회 시작일 (YYYY-MM-DD). 주문 생성 시간 기준

  • to (string, 선택): 조회 종료일 (YYYY-MM-DD)

  • cursor (string, 선택): 페이지네이션 cursor. 이전 응답의 nextCursor 값 (CLOSED만)

  • limit (number, 선택): 조회 건수. 기본값 20, 최대 100 (CLOSED만)

Returns:

  • orders[]: 주문 목록

    • orderId, symbol, side (BUY/SELL), orderType (LIMIT/MARKET)

    • timeInForce, status, price, quantity, orderAmount, currency

    • orderedAt, canceledAt

    • execution: 체결 정보 (filledQuantity, averageFilledPrice, filledAmount, commission, tax, filledAt, settlementDate)

  • nextCursor: 다음 페이지 cursor (CLOSED, hasNext=true일 때)

  • hasNext: 다음 페이지 존재 여부

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNo조회 종료일 (YYYY-MM-DD, 선택)
fromNo조회 시작일 (YYYY-MM-DD, 선택)
limitNo조회 건수. 기본값 20, 최대 100 (CLOSED만)
cursorNo페이지네이션 cursor. 이전 응답의 nextCursor 값 (CLOSED만, 선택)
statusYes주문 상태 필터. "OPEN" (미체결) 또는 "CLOSED" (완결)
symbolNo종목 심볼 필터 (선택)
accountSeqYes계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값
Behavior5/5

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

Annotations already indicate read-only and idempotent, and the description adds significant behavioral detail: the status groupings (OPEN includes PENDING, PARTIAL_FILLED, etc., CLOSED includes FILLED, CANCELED, etc.), pagination via cursor/nextCursor, and that cursor and limit only apply to CLOSED. It also documents the return structure. This goes well beyond the annotations.

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 structured with clear Args and Returns sections. Every bullet provides necessary information without redundancy, and the main purpose sentence is front-loaded.

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

Completeness5/5

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

With 7 parameters and no output schema, the description fully compensates by documenting all parameters, their types, requiredness, defaults, and the complete return object structure including pagination fields. This makes the tool well-understood.

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 provides 100% coverage of parameter descriptions, so the baseline is 3. The description adds value by enumerating the exact statuses contained in OPEN and CLOSED, and clarifying that cursor/limit are only for CLOSED, which is not fully explicit in the schema's short enum 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 '특정 계좌의 주문 목록을 조회합니다' which is a specific verb (조회) and resource (주문 목록) with account context. It distinguishes from sibling toss_get_order by indicating a list of orders rather than a single one.

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 implies usage for retrieving orders for a specific account but does not explicitly name alternatives or exclusions. There is clear context but no when-not-to-use guidance, so it earns a 4 rather than 5.

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

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