Skip to main content
Glama
kwonsw812

kiwoom-mcp

by kwonsw812

get_portfolio_summary

Analyze your portfolio's total valuation, profit/loss, and return rate to monitor overall investment performance.

Instructions

총평가금액, 총손익, 수익률 등 포트폴리오 전체 현황을 분석합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_noNo계좌번호 (미입력시 기본 계좌 사용)

Implementation Reference

  • Handler implementation for 'get_portfolio_summary' tool, which fetches account evaluation data using the client and formats it.
    server.tool(
      "get_portfolio_summary",
      "총평가금액, 총손익, 수익률 등 포트폴리오 전체 현황을 분석합니다",
      { account_no: accountNoSchema },
      { readOnlyHint: true },
      async ({ account_no }) => {
        try {
          const acct = resolveAccountNo(account_no);
          const data = await client.getAccountEvaluation(acct);
          return textContent(formatPortfolioSummary(data));
        } catch (error) {
          return errorContent(formatError(error));
        }
      }

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/kwonsw812/kiwoom-mcp'

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