Skip to main content
Glama
okdoittttt

ko-stock-mcp

by okdoittttt

get_corp_code

Look up the DART corporate code (corp_code) for Korean companies by company name or stock code. Supports partial name matching for listed and unlisted entities.

Instructions

DART 고유번호(corp_code)를 회사명 또는 종목코드로 조회합니다.

다른 DART 도구들은 대부분 corp_code(8자리)를 필요로 하므로, 먼저 이 도구로 회사의 corp_code를 확보하세요. 비상장법인도 조회할 수 있습니다. 회사명은 부분 일치 검색을 지원합니다.

IMPORTANT: 영문명만 알고 한글 정식 명칭을 모르는 경우, 웹 검색으로 정확한 한글 명칭을 먼저 확인한 뒤 corp_name에 입력하면 정확도가 올라갑니다.

Args: corp_name: 회사 명칭(한글 또는 영문). 부분 일치 검색 지원. stock_code: 상장회사의 종목코드(6자리, 예: 005930). limit: 반환할 최대 회사 수 (기본값: 20).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
corp_nameNo
stock_codeNo
Behavior4/5

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

No annotations provided, but description covers key behaviors: supports unlisted companies, partial name matching, and limit parameter. It implies read-only lookup. Could have mentioned response format, but the primary output (corp_code) is clear. No contradictions.

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?

Well-structured with sections for purpose, usage advice, and parameter docs. Slightly verbose but every sentence adds value. The important info 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 3 parameters, no output schema, and no annotations, the description adequately covers usage context, prerequisites, and parameter details. An agent can successfully invoke the tool. Minor missing details like response structure, but not critical.

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?

Schema description coverage is 0%, but description explains each parameter in detail: corp_name (partial match, Korean/English), stock_code (6-digit format with example), limit (default 20). Adds significant meaning beyond schema.

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 a DART unique code (corp_code) by company name or stock code, distinguishing it from sibling tools that require this code as a prerequisite. The verb '조회합니다' and resource are specific.

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?

Explicitly advises using this tool first to obtain corp_code before using other DART tools. Also recommends web searching for Korean name if only English name is known, improving accuracy. No explicit when-not-to-use, but 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/okdoittttt/ko-stock-mcp'

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