Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

외국인 보유 추이 조회

get_foreign_holding

Queries daily foreign holding data for a Korean stock: shares held, holding ratio, net change, and limit exhaustion rate. Supports up to 50 days of history.

Instructions

특정 종목의 일자별 외국인 보유 동향을 조회합니다 — 종가, 거래량, 외국인 순변동수량, 보유주식수, 보유비중, 한도소진률 (키움 ka10008). 최신순으로 기본 15일 표시하며 limit으로 최대 50일까지 조정할 수 있습니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo표시할 일수 (기본 15, 최대 50; 최신순)
stock_codeYes조회할 6자리 종목코드
Behavior4/5

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

No annotations provided, but description discloses default ordering (latest first), default number of days (15), and adjustable range via limit (up to 50). Adequate for a read-only query tool without performance or side-effect details.

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?

Two concise sentences front-loaded with key functionality and parameters. No wasted words; every sentence adds value.

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?

No output schema, but description lists specific data fields provided. With only 2 simple parameters and no nested objects, the description is reasonably complete for an agent to understand inputs and outputs.

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?

Schema coverage is 100% for both parameters. Description adds meaningful context: explains default and maximum for limit, and implies daily latest ordering. This enhances understanding beyond the schema definitions.

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?

Description clearly states the tool queries daily foreign holding trends for a specific stock, listing specific data fields like closing price, volume, net change. This distinguishes it from siblings like get_stock_price or get_short_selling.

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?

Description implies usage for historical foreign holding data by stock, and mentions default 15 days with adjustable limit. No explicit alternatives or when-not-to-use, but siblings cover different data types so context is clear.

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