Skip to main content
Glama
ChunSam

kiwoom-mcp-server

by ChunSam

테마 그룹 조회

get_theme_groups

Retrieve Korean stock theme groups ranked by change rate, or find themes containing a specific stock code. Use to identify top-performing themes and their constituent stocks.

Instructions

키움 테마 그룹 목록을 조회합니다 — 테마명, 종목수, 등락률, 상승/하락 종목수, 기간수익률(10일), 주요종목 (키움 ka90001). 기본은 등락률 상위 테마를 보여주며, stock_code를 주면 해당 종목이 편입된 테마를 검색합니다. 테마명으로 찾는 파라미터는 없어 이름을 알고 있어도 목록에서 골라야 하고(기본 30개는 등락률 상위라 원하는 테마가 없으면 limit을 100까지 올리세요). '반도체'처럼 테마명과 업종명이 겹치는 이름이 있는데, 사용자가 '테마'라고 물었으면 여기가 맞고 get_sector_stocks는 KRX 표준 업종 분류입니다 — 사용자가 쓴 말을 따르세요. 특정 테마의 구성종목은 get_theme_stocks로 조회하세요.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo표시할 테마 개수 (기본 30, 최대 100; 등락률 상위순). 종목 검색 시에는 무시됩니다.
stock_codeNo특정 종목이 편입된 테마만 검색할 6자리 종목코드

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.26.0
    • changedInput schema / properties / stock_code / pattern
      Previous value: -"^\\d{6}$"New value: +"^[0-9A-Z]{6}$"
  2. First observedv0.8.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the default ordering (등락률 상위), the stock_code filtering behavior, that limit is ignored during stock search, the absence of a theme-name parameter, and the theme/sector naming ambiguity. This goes well beyond a minimal read-only description.

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 dense but well-front-loaded with the core action and returned fields. It earns most of its length through important caveats, though there is slight redundancy: the 'default is top 등락률' idea appears twice. Overall, it is appropriately sized for the disambiguation burden.

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

Completeness5/5

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

For a 2-parameter read-only list tool with no output schema and no annotations, this description is highly complete. It explains what the tool returns, default behavior, parameter interactions, the missing theme-name lookup path, and how to choose between sibling tools. An agent has enough to invoke it correctly in most realistic scenarios.

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%, so the baseline is 3. The description adds practical meaning beyond the schema, such as 'if the theme you want is not in the default 30, raise limit to 100' and clarifies that stock_code searches themes containing that stock. Most parameter semantics come from the schema, with a small boost from the added usage guidance.

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?

States a specific verb and resource: '키움 테마 그룹 목록을 조회합니다' and lists the returned fields. It explicitly differentiates from sibling tools, especially get_sector_stocks (KRX sector classification) and get_theme_stocks (constituents), so an agent can select it correctly.

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?

Gives explicit when-to-use guidance: use this when the user says '테마', use get_sector_stocks for 업종, and use get_theme_stocks for constituents of a specific theme. It also warns there is no theme-name filter and advises raising limit to 100 if the desired theme is not in the default top 30.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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