Skip to main content
Glama
okdoittttt

ko-stock-mcp

by okdoittttt

get_disclosure

Fetch and parse Korean stock disclosure documents by receipt number. Returns content or table of contents for large files, enabling section-level queries.

Instructions

공시서류 원본을 파싱해 가져옵니다. (접수번호는 get_disclosure_list의 rcept_no)

문서가 크면(약 200KB 초과) 전체 대신 목차(result.type == "toc")를 반환합니다. 목차가 반환되면 유저의 질문과 관련된 섹션을 section_id로 다시 조회하세요. 답변 후에는 조회하지 않은 나머지 섹션 목록을 유저에게 안내해 추가 조회 여부를 선택하게 하세요. 지정한 섹션도 크면 하위 목차(parent_section_id 포함)를 반환합니다.

Args: rcept_no: 접수번호(14자리). section_id: 조회할 섹션 ID(목차의 sections[].id = AASSOCNOTE). 생략하면 전체를 시도하고, 크면 목차를 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rcept_noYes
section_idNo
Behavior5/5

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

No annotations exist, but the description fully details behavioral traits: returns TOC for large docs, section queries, and sub-TOC for large sections, with 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?

The description is front-loaded with the main action and includes essential procedural guidance, though slightly verbose with repeated navigation instructions.

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?

Covers return types, large document handling, and section queries comprehensively, but lacks output schema details like field names beyond the TOC example.

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?

Despite 0% schema coverage, the description thoroughly explains 'rcept_no' (14-digit from get_disclosure_list) and 'section_id' (from TOC sections[].id), including default behavior, adding critical meaning beyond the 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 'fetches parsed disclosure documents' and references 'get_disclosure_list' for the rcept_no, distinguishing it from sibling tools like listing or info tools.

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 describes when to expect TOC versus full content, how to query sections, and provides a workflow for handling large documents, including notifying the user about remaining sections.

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