Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

계좌 거래내역 조회

get_transactions

Retrieve account transaction history (buys/sells) by date range, with optional stock code filtering, using settlement dates (D+2).

Instructions

계좌의 거래내역(매수/매도 등)을 기간별로 조회합니다 (키움 kt00015). 기본 조회 기간은 최근 30일이며 from_date/to_date로 변경, stock_code로 특정 종목만 필터링할 수 있습니다. 일자는 결제일(D+2) 기준입니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_dateNo조회 종료일 (기본값: 오늘)
from_dateNo조회 시작일 (기본값: 30일 전)
stock_codeNo특정 종목만 조회할 때의 6자리 종목코드
Behavior4/5

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

With no annotations, the description adds important behavioral detail: dates are settlement-date based (D+2) and default period is 30 days. It does not mention permissions or rate limits, but provides relevant behavior beyond schema.

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 very concise: two sentences, front-loaded with purpose, then details. No extraneous words.

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

Completeness4/5

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

For a tool with 3 parameters and no output schema or annotations, the description covers purpose, parameters, and a behavioral nuance. Could mention output format or limits, but overall adequate.

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 baseline is 3. The description adds default values and the settlement note but does not significantly enhance parameter meaning beyond what schema already states.

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 retrieves account transaction history (buy/sell) by period, with default 30 days and optional date and stock filtering. It distinguishes itself from sibling tools that focus on prices, holdings, or 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 conveys when to use (querying transactions by period) but does not explicitly state when not to use or mention alternatives. However, sibling tools are dissimilar, so context is clear enough.

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

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