Skip to main content
Glama

get_attachments

List attachments from a DART disclosure or download and convert a file (HWP, PDF, DOCX, XLSX) to markdown. Uses official DART viewer for access.

Instructions

공시 첨부파일(HWP/PDF/DOCX/XLSX)을 목록 조회(mode=list) 하거나 다운받아 마크다운으로 추출(mode=extract). DART 뷰어 HTML 스크래핑 기반 — OpenDART 표준 API 에 첨부 엔드포인트가 없어 공식 뷰어를 통해 접근. extract 모드는 kordoc 엔진으로 HWP/HWPX/PDF/DOCX/XLSX → 마크다운 변환.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rcept_noYes접수번호 14자리
modeNolist: 첨부 목록만. extract: 파일 하나 다운·파싱해 마크다운list
filenameNoextract 모드에서 정확한 파일명 (부분일치 폴백 없음)
indexNoextract 모드에서 0-based index (filename 우선)
truncate_atNoextract 마크다운 최대 길이
outline_max_itemsNooutline(목차) 최대 항목 수. 사업보고서 outline 은 수천 개 → 디폴트 50. 0=outline 생략.
zip_indexNoZIP 첨부 extract 시 내부 파일 index (0-based). 미지정 & ZIP 인 경우 내부 파일 목록만 반환.
Behavior4/5

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

The description discloses that the tool is based on DART viewer HTML scraping (not official API), and mentions the kordoc conversion engine. With no annotations provided, this covers key behavioral traits. It does not discuss rate limits or authentication, but the scraping approach is clearly stated.

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 two sentences with front-loaded purpose. It is concise and includes technical details (scraping, conversion engine). Could be slightly more structured, but overall efficient.

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 7 parameters with 100% schema coverage and no output schema, the description covers the tool's behavior well: dual modes, scraping basis, conversion engine, and parameter roles. It is missing error handling or pagination details, but the core use case is well addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 7 parameters. The description adds context about the mode behavior and conversion engine, but does not significantly enhance per-parameter understanding beyond the schema. Baseline 3 is appropriate.

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's purpose: to list or extract attachments from Korean disclosures (HWP/PDF/DOCX/XLSX) using two modes (list and extract). It specifies the resource (attachments) and the action (list or extract to markdown), and distinguishes the two modes effectively.

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 explains when to use each mode (list vs extract) and provides parameter guidance (e.g., filename vs index, truncate_at, outline_max_items). It does not explicitly discuss when not to use the tool or compare with siblings, but the sibling tools are unrelated to attachments, so the context is sufficient.

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/chrisryugj/korean-dart-mcp'

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