Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by clauzewitz

get_stock_rankings

Read-onlyIdempotent

Retrieve up to 100 Korean or US stock rankings by trading amount, volume, gainers, or losers, including current price, change rate, volume, and trading value for market analysis.

Instructions

주식 랭킹(최대 100위)을 조회한다.

순위와 현재가·기준가·등락률·거래량·거래대금을 담는다.

종목별 전일 기준가·등락률은 이 응답에만 있다. 과거 날짜 랭킹은 없다.

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": {
      "type": "<type>",
      "market_country": "<market_country>"
    },
    "name": "get_stock_rankings"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesMARKET_* 시장 전체 거래대금·거래량 상위, TOP_GAINERS/TOP_LOSERS 등락률 상·하위, TOSS_SECURITIES_* 토스증권 체결 기준
countNo
durationNo기간(거래일 기준). TOP_GAINERS/LOSERS 는 realtime 불가1d
market_countryYes
exclude_investment_cautionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/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 without the description's help. The description adds real value by enumerating the response contents (rank, current price, base price, change rate, volume, trading value) and by disclosing a hard limit: no historical-date rankings. It stops short of anything about rate limits, auth, or pagination, so a 3 is appropriate given the annotation coverage.

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

Conciseness4/5

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

Three short lines, front-loaded with the identity of the tool and the 100-row bound, with each subsequent line adding a distinct fact (payload fields, uniqueness, limitation). The fragmentary telegraphic style is efficient, though the split into bare clauses rather than connected sentences slightly reduces readability.

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

Completeness3/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 usefully compensates by listing the returned fields, and it flags the absence of historical data. But for a 5-parameter tool with only 40% schema coverage, leaving three parameters semantically unexplained is a meaningful gap in a definition an agent must call correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40%, so the description carries a heavier burden, yet it explains no parameters. The "최대 100위" note merely restates the count maximum already in the schema, and duration, market_country, and exclude_investment_caution are given no meaning beyond their enum lists. An agent must infer that duration interacts with type (the realtime restriction lives only in the schema).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("주식 랭킹...을 조회한다") and bounds the scope ("최대 100위"), so an agent knows this returns a ranked stock list rather than raw quotes. It does not name or distinguish itself from the similarly-named siblings get_sector_rankings and get_investor_trading_rankings, leaving that disambiguation to inference.

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 gives partial routing signal by ruling out a use case ("과거 날짜 랭킹은 없다") and by noting that per-symbol previous-close data exists only in this response, implying when this tool is the right choice. However, there is no explicit guidance on when to pick this over get_sector_rankings, get_prices, or get_recent_trades, nor any prerequisites.

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