Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

체결 내역 조회

get_order_executions

Retrieve today's order execution details for your Kiwoom account. Filter by side, order number, or stock code to see filled orders, quantities, prices, fees, and timestamps.

Instructions

계좌의 최근 체결(실제로 체결된 주문) 내역을 조회합니다 — 지난 일자의 체결은 나오지 않습니다. 주문번호, 종목, 매수/매도 구분, 주문상태, 주문/체결 수량, 주문/체결 가격, 당일 수수료·세금, 주문시각 (키움 ka10076). stock_code·side·order_no로 좁힐 수 있습니다. 기간 파라미터가 없어 조회 범위는 키움이 정합니다 (모의 실측 2026-08-19: 6일 전 체결이 0행). 과거 일자의 체결 기록은 get_transactions에 남지만 그쪽 일자는 결제일(D+2) 기준이라 최근 2거래일 체결분은 아직 없습니다 — 그래서 '어제 체결가'처럼 지난 일자를 물으면 이 tool을 부르지 마세요. 결제가 끝난 뒤 get_transactions에서 보이므로 그전에는 조회되지 않는다고 답하면 됩니다. 아직 체결되지 않은 주문은 get_pending_orders, 당일 종목별 집계는 get_trading_journal입니다. 조회 전용이며 주문 실행 기능은 제공하지 않습니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sideNo매매 구분 — all(기본, 전체) | sell(매도) | buy(매수)
order_noNo특정 주문번호만 조회할 때의 주문번호
stock_codeNo특정 종목만 조회할 때의 6자리 종목코드

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv0.34.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses that the date range is determined by Kiwoom, that there is no date parameter, that observed behavior shows 6-day-old executions return zero rows, and that settlement is D+2. It also states the tool is read-only and does not execute 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 dense but every clause earns its place, and the most important constraint — recent-only, no past dates — is front-loaded. The bolded warnings and alternative routing are structured so an agent can quickly extract the critical behavioral rule before reading supporting details.

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?

For a tool with no output schema and no annotations, the description is remarkably complete: it covers the returned fields, the filtering parameters, the date-range limitation, settlement timing, sibling alternatives, and the read-only nature. Nothing an agent needs to decide whether to call this tool is missing.

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?

Schema description coverage is 100%, so the schema already documents all three parameters. The description adds that stock_code, side, and order_no can narrow the results, but this is already implied by the schema and adds no new semantic detail beyond grouping the filters together.

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 states a specific verb and resource: it retrieves the account's recent execution history, explicitly clarifying that past-date executions are not included. It also distinguishes itself from get_transactions, get_pending_orders, and get_trading_journal, so an agent can tell them apart without opening schemas.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use and when-not-to-use guidance: it says not to call this tool for past dates like 'yesterday's execution price', and directs the agent to get_transactions after settlement. It also names get_pending_orders for unfilled orders and get_trading_journal for daily per-stock aggregation, leaving no ambiguity about alternatives.

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

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/ChunSam/kiwoom-mcp-server'

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