Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

호가 조회

get_orderbook

Retrieves 10 levels of bid and ask prices with quantities for a stock, identified by its 6-digit code. Use search_stock to find the code if unknown.

Instructions

종목의 10단계 매도/매수 호가와 잔량을 조회합니다 (키움 ka10004). 종목코드를 모르면 search_stock으로 먼저 찾으세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codeYes6자리 종목코드 (예: 005930)
Behavior3/5

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

No annotations provided, so description carries burden. It mentions the API source (키움 ka10004) and depth (10 levels), but does not disclose read-only nature, authentication needs, or rate limits. Moderate transparency.

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 efficient sentences, front-loaded with main purpose, no wasted 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?

Given no output schema and single parameter, description is sufficient. It specifies depth and API source, though could mention return format (bid/ask arrays). Still adequately complete.

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 covers 100% with pattern and description. Description adds minimal extra meaning beyond stating the parameter's purpose (stock code), though it advises using search_stock if unknown.

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 10-level bid/ask prices and quantities for a stock, with a specific verb ('조회') and resource. It distinguishes from siblings like get_stock_price by focusing on order book depth.

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 tells when to use (get orderbook) and when not: if you don't know the stock code, use search_stock first. This provides clear guidance on alternatives.

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