Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by scjang01

섹터 랭킹 조회

toss_get_sector_rankings
Read-only

Retrieve top 100 sector rankings by market, period, and ranking type (gainers or trading amount) to compare sector performance and trading activity.

Instructions

섹터 랭킹 조회. 지정한 시장(marketCountry) · 기간(duration) · 기준(type)의 섹터 랭킹을 조회합니다. 상위 100위까지 한 번에 제공합니다.

  • 대상은 대분류(depth 0)와 중분류(depth 1) 섹터이며, 소분류(depth 2)는 포함되지 않습니다.

  • 소속 종목이 너무 적거나 해당 시장·기간의 데이터가 없는 섹터는 랭킹에 나타나지 않습니다.

  • TOP_GAINERS 는 changeRate, MARKET_TRADING_AMOUNT 는 tradingAmount 가 랭킹 기준값입니다. tradingAmount · marketCapitalization 은 데이터가 없으면 null 이고, changeRate 는 항상 값이 있습니다.

  • 금액은 US 도 원화(KRW) 환산값이며 통화는 각 항목의 currency 로 표기됩니다.

  • 응답 항목 수는 100건보다 적을 수 있고, 데이터가 없는 조합은 에러가 아닌 빈 rankings 배열로 응답합니다.

Rate Limits Group: SECTOR_RANKING

Input Schema

NameRequiredDescriptionDefault
typeYes
durationYes
marketCountryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive profile, and the description goes further: it caps results at 100 and warns the count may be lower, explains that sparse sectors are filtered out, specifies nullability rules for tradingAmount/marketCapitalization versus always-present changeRate, and notes US amounts are KRW-converted. It does not describe pagination or ordering within ties, and the rate-limits group is named without any limit value, so it stops short of full behavioral disclosure.

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?

One framing sentence followed by tight bullets, each carrying a distinct operational fact (scope, exclusion rules, ranking basis, currency handling, empty-result behavior). Nothing is repeated and the most important constraint is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 steps in and describes the response shape (a rankings array, per-item currency, per-field nullability, possible short counts). Combined with the scope and empty-result rules, an agent has enough to call it and interpret results correctly.

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 description coverage is 0%, so the description must carry the parameter meaning — and it does for the most opaque one, mapping TOP_GAINERS to changeRate and MARKET_TRADING_AMOUNT to tradingAmount. marketCountry and duration are left to their self-explanatory enum values, and the description references a `depth` field that is not actually a parameter of this tool, which is a minor mismatch.

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?

States a specific verb+resource (섹터 랭킹 조회) and immediately narrows the scope to sector rankings by market, duration and ranking basis, with top-100 coverage. The scope note on 대분류/중분류 (depth 0/1) vs 소분류 clearly separates it from stock-level siblings such as toss_get_rankings and toss_get_sector_stocks.

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?

It explains edge-case outcomes (a combination with no data returns an empty rankings array rather than an error) but never tells the agent when to pick this tool over sector siblings like toss_list_sectors, toss_get_sector or toss_get_rankings. Usage is implied by the scope rather than stated.

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