Skip to main content
Glama
Kuco-dev

tossinvest-api-mcp

by Kuco-dev

getMarketIndicatorInvestorTrading

Read-onlyIdempotent

Fetch investor trading amounts for KOSPI and KOSDAQ markets by investor type and institutional subcategories, with daily, weekly, monthly, or yearly aggregation.

Instructions

투자자별 매매대금 조회

KRX 시장(코스피·코스닥)의 투자자별 매매대금을 조회합니다. 개인·외국인·기관·기타법인 4개 투자자 분류의 매수·매도 거래대금을 집계 단위(interval)별 기록으로 최신순 제공하며, 기관은 7개 세부 분류(breakdown)를 함께 제공합니다.

  • KOSPI / KOSDAQ 만 지원합니다. 그 외 심볼은 400 unsupported-symbol 로 응답합니다.

  • 모든 거래대금은 원화(KRW) 정수이며, 별도의 통화 필드는 제공하지 않습니다.

  • 4개 분류(개인·외국인·기관·기타법인)의 매수 합계와 매도 합계는 시장 전체 기준으로 서로 같습니다.

  • foreigner 는 외국인 전체 합계(등록·미등록 외국인 포함)이며, institutionbuyAmount/sellAmountbreakdown 7개 항목의 합과 일치합니다.

  • 당일 기록은 장 종료 전까지 갱신될 수 있는 잠정치입니다. updatedAt 으로 마지막 갱신 시각을 확인하세요.

  • 다음 페이지는 응답의 nextUntil 값을 until 파라미터로 전달해 조회합니다.

Rate Limits Group: MARKET_INDICATOR

[GET /api/v1/market-indicators/{symbol}/investor-trading]

tags: Market Indicators

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesURL 경로 파라미터
queryYes쿼리 파라미터
Behavior4/5

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

Annotations already mark as read-only and idempotent. Description adds valuable context: provisional data until market close, updatedAt field, breakdown consistency, and balance of buy/sell sums.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise, well-structured with bullet points. Every sentence adds value; no waste.

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?

With no output schema, description covers data types, pagination, currency, balance, and provisional nature. Nearly complete; could mention if response includes breakdown only for institutions.

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?

Schema covers 100% of parameters. Description adds meaning: interval units, count limits, until format/pagination usage, and symbol restriction beyond enum values.

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?

Description clearly states the tool queries investor trading amounts for KOSPI/KOSDAQ markets, distinguishes from sibling tools like getMarketIndicatorPrices and getMarketIndicatorCandles.

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 lists supported symbols, pagination mechanism, and data interpretation notes. Lacks explicit when-not-to-use compared to alternatives, but sibling context makes it 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/Kuco-dev/tossinvest-api-mcp'

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