Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

업종 현재가 조회

get_sector_price

Get sector index current price, high/low, volume, advancing/declining stocks, 52-week range, and hourly trends for Korean stock markets using sector code.

Instructions

업종(섹터) 지수의 현재가 상세를 조회합니다 (키움 ka20001) — 지수·시/고/저가·거래량·상승/하락 종목수·52주 고저·시간대별 추이. sector_code는 get_market_index가 보여주는 업종 코드입니다 (001 코스피 종합, 002 코스피 대형주, 101 코스닥 종합, 201 KOSPI200 등).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sector_codeYes업종 코드 3자리 (예: 001 코스피 종합, 101 코스닥 종합 — get_market_index의 '코드' 값)
Behavior3/5

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

With no annotations, the description carries full burden. It lists the returned data components (index price, open/high/low/close, volume, etc.), which is helpful. However, it does not explicitly state that this is a read-only operation or mention any behavioral traits like permissions or rate limits. The description is largely transparent but could be stronger.

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 two sentences: the first states the purpose and lists data components concisely, the second explains the parameter. Every word adds value, and the critical information is front-loaded.

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?

Given no output schema, the description adequately explains the return data (list of components). The single parameter is fully explained with source and examples. For a simple query tool, it is sufficiently complete, though an explicit mention of the output structure would improve it.

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 describes sector_code with pattern and description. The description adds significant value by explaining that the code comes from get_market_index and providing concrete examples (001, 002, 101, 201). This helps the agent understand the parameter's source and allowed values.

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 current price details of sector indices, listing specific data components (index, open/high/low/close, volume, etc.). It distinguishes from sibling tools like get_market_index (which lists indices) and get_stock_price (which is for stocks).

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 explicitly states that sector_code comes from get_market_index, providing a clear prerequisite. However, it does not explicitly state when to use this tool versus alternatives or when not to use it, though the purpose is well-defined.

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