Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

ETF 수익률·NAV 추이 조회

get_etf_returns

Review ETF performance from three angles: period returns versus a benchmark index, daily NAV premium/discount and tracking error, and foreign/institutional net buying.

Instructions

ETF의 성과를 세 각도로 조회합니다 (키움 ka40001/ka40003/ka40008). view=period(기본)는 기간별(1주/1개월/6개월/1년) 수익률을 대상지수 수익률과 나란히 보여줍니다 — 대상지수는 benchmark_index_code로 지정하며 기본값은 201(KOSPI200)입니다 (코드는 get_market_index의 '코드' 값: 001 코스피 종합, 101 코스닥 종합 등). view=daily는 일별 NAV와 괴리율·추적오차 추이입니다 — 'ETF가 제값에 거래되고 있나', '지수를 잘 따라가고 있나'를 물을 때 씁니다(get_etf_info는 최신 1점만 보여줍니다). view=investor는 일자별 외국인·기관 순매수량입니다(period는 기간 합계라 해상도가 다릅니다). 종목코드를 모르면 search_stock으로 먼저 찾으세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoview=daily/investor의 표시 일수 (기본값 20, 최대 30)
viewNo조회 종류 (기본값: period)
stock_codeYes6자리 ETF 종목코드 (예: 069500)
benchmark_index_codeNo비교할 지수 코드 3자리 (기본값 201 KOSPI200 — get_market_index의 '코드' 값). view=period 전용
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses data source (Kiwoom), the meaning of benchmark_index_code (from get_market_index), and the resolution difference for investor view. It does not mention error handling, rate limits, or explicitly state read-only behavior, but the get_ prefix and content make the nature clear.

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

Conciseness4/5

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

The description is a single dense paragraph, front-loaded with the main purpose and then breaking down the three views. Every sentence provides useful information, but the density and semicolon-heavy structure could be more readable with bullets or shorter sentences. Still, it is appropriately sized for the complexity.

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?

Since there is no output schema, the description needs to explain return content, and it does: it describes what each view returns (returns vs index, NAV/premium/tracking error, investor net buying) and the benchmark code source. It lacks response format details and edge-case behavior, but covers the essential usage contexts for a 3-view tool.

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

Parameters5/5

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

Although schema coverage is 100%, the description adds substantial value: it explains the default benchmark index code (201 KOSPI200) and how to find other codes, clarifies the purpose of each view enum, and notes that days applies to daily/investor. This goes well beyond the schema's minimal 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 retrieves ETF performance from three angles and enumerates each view: period returns with benchmark comparison, daily NAV/premium/tracking error, and investor net buying. It also distinguishes itself from siblings like get_etf_info (snapshot vs trend) and search_stock (code lookup), making the purpose unambiguous.

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?

Explicitly provides usage context for each view: period for returns, daily for checking fair value and index tracking, investor for foreign/institutional net flows. It also names alternatives (get_etf_info, search_stock) and clarifies when they are appropriate, effectively telling the agent when not to use this tool.

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