Skip to main content
Glama
okdoittttt

ko-stock-mcp

by okdoittttt

get_financial_statement

Retrieve all account items from XBRL financial statements (balance sheet, income statement, etc.) of Korean companies using periodic report data. Filter by company, year, report type, and consolidation status.

Instructions

재무제표: 정기보고서 내 XBRL 재무제표의 모든 계정과목을 조회합니다.

상장법인(유가·코스닥) 및 주요 비상장법인(사업보고서 제출대상 & IFRS 적용)이 제출한 정기보고서의 전체 계정을 제공합니다. corp_code는 get_corp_code로 확보하세요.

Args: corp_code: 공시대상회사 고유번호(8자리). bsns_year: 사업연도(4자리). 2015년 이후부터 제공. reprt_code: 보고서 코드 — 11013:1분기, 11012:반기, 11014:3분기, 11011:사업보고서. fs_div: 개별/연결 구분 — OFS:재무제표(개별), CFS:연결재무제표. sj_nm: 특정 재무제표만 필터링 — 재무상태표, 손익계산서, 포괄손익계산서, 자본변동표, 현금흐름표 중 하나. 생략하면 전체 반환.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sj_nmNo
fs_divYes
bsns_yearYes
corp_codeYes
reprt_codeYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It mentions that the tool provides all accounts and covers specific company types and report years. However, it does not disclose behavioral traits like read-only nature, data volume, pagination, rate limits, or any side effects, which are relevant for a retrieval tool.

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 a summary line, contextual scope, and a clear argument list. It is front-loaded with the main purpose. While it is relatively long, every sentence adds value, and the structure aids readability. Minor redundancy could be trimmed.

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?

The description explains the parameters and the overall purpose but does not describe the return value format or structure. Given there is no output schema, this omission is notable. For a tool with 5 parameters and a specific domain (XBRL financial statements), more detail on the output would improve completeness.

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?

The input schema has 5 parameters with 0% description coverage. The description compensates well by explaining each parameter in the Args section, including allowable values (e.g., reprt_code codes, fs_div options, sj_nm choices). This adds significant meaning beyond the bare 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 all account subjects of XBRL financial statements from periodic reports, specifying the scope (listed and major unlisted companies). It distinguishes itself from siblings like get_corp_code, which is referenced as a prerequisite, and other tools that serve different purposes.

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?

The description provides clear usage context: it is for retrieving financial statement data and explicitly instructs to use get_corp_code first to obtain corp_code. It does not explicitly state when not to use this tool versus alternatives, but the sibling tools have distinct purposes, making it implicitly 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