Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DART_API_KEYNoDART OpenAPI 인증키 (40자리). 공시·재무 도구에 필요합니다.
DATA_GO_KR_KEYNo공공데이터포털 일반 인증키. 주가·상장종목 도구에 필요합니다.
MARKET_LENS_CACHE_DIRNo선택: 캐시 디렉터리 (기본값 ~/.cache/market-lens).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

한국 상장사의 공시, 재무제표, 주가를 공식 API(DART, 공공데이터포털 금융위원회)로 조회하는 리서치 도구입니다.

언제 쓰나:

  • 한국 상장사의 종목코드, 공시, 실적·재무 수치, 주가를 물으면 기억이나 웹 검색보다 먼저 이 도구들을 씁니다. 최근 분기 실적과 최근 공시·주가는 기억에 없거나 낡았을 수 있습니다.

답변 규칙:

  • 사실 정리와 설명만 합니다. 매수·매도 의견, 목표가, 종목 추천 같은 투자 권유 표현은 쓰지 않습니다.

  • 답변의 숫자는 도구 응답 값만 인용합니다. 수익률·증감률은 직접 계산하지 말고 computed 필드를 씁니다.

  • 답변 끝에 각 도구 응답의 citation(출처·기준일)을 그대로 적습니다. 도구를 여러 개 썼으면 모두 적습니다.

  • 주가는 전 영업일 종가 기준이며 실시간이 아닙니다.

종목 브리핑 순서 예: resolve_ticker → get_financials → list_disclosures → (필요하면) get_disclosure_text → get_stock_prices.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_tickerA

종목명이나 종목코드를 단축코드, ISIN, DART corp_code, 시장으로 바꾼다.

한국 상장 종목의 종목코드, ISIN, 시장 구분을 답할 때는 기억에 의존하지 말고 이 도구로 확인한다. 하나로 확정되면 match에, 여러 개가 걸리면 candidates에 담는다. 답변 끝에 응답의 citation(출처·기준일)을 그대로 적는다.

list_disclosuresA

기간 안의 DART 공시 목록을 최신순으로 돌려준다(제목, 접수일, 접수번호).

한국 상장사의 최근 공시나 특정 기간의 공시를 물으면 웹 검색보다 먼저 이 도구를 쓴다. 답변 끝에 응답의 citation(출처·기준일)을 그대로 적는다.

get_disclosure_textA

공시 원문의 본문 텍스트를 돌려준다. 길면 잘라서 주고 next_offset으로 이어 읽는다.

공시 내용을 요약하거나 인용할 때는 제목만 보고 추측하지 말고 이 도구로 원문을 읽는다. 답변 끝에 응답의 citation(출처·기준일)을 그대로 적는다.

get_financialsA

매출, 영업이익, 순이익, 자산, 부채, 자본과 증감률·이익률·부채비율을 돌려준다.

한국 상장사의 실적이나 재무 수치를 물으면 기억이나 웹 검색보다 먼저 이 도구를 쓴다. 최근 분기 실적은 기억에 없거나 낡았을 수 있다. 금액 단위는 원. 연결재무제표가 있으면 연결, 없으면 별도 기준이다. 분기(1~3)의 손익 항목 current는 3개월 금액이고 cumulative는 연초부터의 누적이다. quarter=4는 4분기 석 달이 아니라 연간 금액이다. 답변 끝에 응답의 citation(출처·기준일)을 그대로 적는다.

get_stock_pricesA

일별 시가·고가·저가·종가·거래량(OHLCV)과 기간 수익률 요약을 돌려준다.

한국 상장 종목의 주가 흐름이나 기간 수익률을 물으면 기억이나 웹 검색보다 먼저 이 도구를 쓴다. 전 영업일 종가까지 제공되며 실시간 시세가 아니다. 수정주가가 아니다. 답변 끝에 응답의 citation(출처·기준일)을 그대로 적는다.

Prompts

Interactive templates invoked by user choice

NameDescription
stock_briefing한 종목의 최근 실적, 공시, 주가를 도구로 조회해 출처와 함께 정리합니다.
earnings_review한 분기 또는 한 해의 실적과 그 배경을 근거 보고서와 함께 정리합니다.
disclosure_digest최근 공시를 종류별로 묶고 중요한 공시는 본문을 읽어 요약합니다.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a distinct purpose: resolve_ticker for identification, list_disclosures and get_disclosure_text split cleanly into list vs. read, get_financials for fundamentals, and get_stock_prices for prices. No two tools target the same resource+action, and the descriptions reinforce the boundaries.

Naming Consistency5/5

All tools follow a consistent snake_case verb_noun pattern (resolve_ticker, list_disclosures, get_disclosure_text, get_financials, get_stock_prices). The verbs are predictable and semantically meaningful.

Tool Count5/5

Five well-scoped tools match the server's narrow market-data purpose. Each tool earns its place, and the count is neither thin nor bloated.

Completeness4/5

Core workflows are covered: ticker resolution serves as the entry point, plus disclosure listing/reading, financials, and OHLCV prices. Minor gaps exist (no dividends, valuation ratios, market cap, or index/market-wide data), but these are reasonable for the stated lens.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues