Skip to main content
Glama
okdoittttt

ko-stock-mcp

by okdoittttt

get_stock_base_info

Retrieve basic stock information including name, code, market, listing date, par value, and shares outstanding from KRX for a given stock code and business date.

Instructions

특정 종목의 기본정보를 조회합니다.

종목명(ISU_NM/ISU_ABBRV), 표준코드(ISU_CD), 단축코드(ISU_SRT_CD), 시장구분(MKT_TP_NM), 증권구분(SECUGRP_NM), 상장일(LIST_DD), 액면가(PARVAL), 상장주식수(LIST_SHRS) 등을 KRX 원본 필드 그대로 반환합니다.

bas_dd는 영업일(YYYYMMDD)이어야 합니다. market을 모르면 생략하세요(자동 판별).

Args: stock_code: 종목 단축코드(6자리, 예: 005930). bas_dd: 기준 영업일(YYYYMMDD). market: KOSPI | KOSDAQ | KONEX. 생략 시 자동 판별.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bas_ddYes
marketNo
stock_codeYes
Behavior3/5

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

No annotations exist, so the description bears full burden. It discloses that data is returned as KRX original fields and explains parameter defaults, but does not mention authorization, rate limits, or error handling.

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 well-structured with bullet points, front-loads the main purpose, and is appropriately sized. Minor redundancy in listing fields.

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

Completeness3/5

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

Covers return fields and parameter constraints, but lacks details on error cases, output schema behavior, or prerequisites. Adequate for a read tool with 3 parameters.

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?

With 0% schema coverage, the description fully compensates by providing clear semantic meaning for each parameter: stock_code format (6 digits, example), bas_dd format (YYYYMMDD), and market options with auto-detect behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves basic stock information (특정 종목의 기본정보를 조회합니다) and lists specific fields returned, distinguishing it from sibling tools like get_stock_trade_info. However, it does not explicitly differentiate from get_company_info.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides guidance on the bas_dd format and market parameter auto-detection. However, it lacks explicit direction on when to choose this tool over its siblings.

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/okdoittttt/ko-stock-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server