Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by clauzewitz

get_market_calendar

Read-onlyIdempotent

Retrieves trading session schedules for Korean and US markets across the previous, current, and next business days, showing pre-market, regular, after-hours, and holiday status in KST.

Instructions

장 운영 시간을 전일·당일·익일 3영업일분 조회한다. 시간은 모두 KST.

KR: KRX+NXT 통합 기준 장전·정규·장후 세션. integrated 가 null 이면 휴장. US: 데이마켓·프리·정규·애프터 세션. 휴장이면 4개 세션 모두 null.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "market": "<market>"
    },
    "name": "get_market_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo기준일 YYYY-MM-DD (US 는 미국 현지 날짜). 생략하면 오늘
marketYesKR 국내, US 미국

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered; the description goes further by disclosing result semantics that no annotation could convey. It states that for KR a null 'integrated' value means the market is closed, and that for US a closed day yields null in all four sessions, which is exactly the interpretive rule an agent needs. It stops short of describing the full return structure or day-boundary edge cases.

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?

Two short paragraphs, one per market, with the general scope and timezone front-loaded and no filler. Every clause carries either scope, timezone, session enumeration, or closure semantics.

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, the description must carry the return-value burden, and it does so reasonably: it names the sessions per market and defines the null-means-closed convention. What is missing is the actual shape of the response (nesting, field names, whether each of three days is a separate entry), which a caller would need to parse results confidently.

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 coverage is 100%, so the baseline is 3, but the description earns extra credit by clarifying that 'date' is a reference point from which three business days (previous, current, next) are derived, and that US dates are US local dates. That reframes 'date' from a simple filter into a window anchor, which the schema's terse '기준일' does not make obvious.

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 opens with a specific verb-and-resource statement ('장 운영 시간을 ... 조회한다') and immediately pins the scope to three business days (전일·당일·익일) with all times in KST. It also enumerates which session types each market returns, so an agent can tell this apart from any sibling tool that deals with prices or indicators.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the text tells you what window of days you get and how to interpret closure, which implicitly makes this the tool for checking whether a market is open or what sessions exist. There is no explicit statement of when to prefer this over other tools, nor any prerequisites or exclusions, though none of the listed siblings overlap in purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.