Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by scjang01

섹터 구성 주식 조회

toss_get_sector_stocks
Read-only

Retrieve all common stocks in a sector and its sub-sectors, ranked by market capitalization for a chosen KR or US market, with daily volume and trading value.

Instructions

섹터와 하위 섹터의 보통주 전체를 선택한 시장 기준 시가총액순으로 조회합니다. 거래량·거래대금은 당일 누적, 미국 금액도 KRW 환산.

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": {
      "sectorId": "<sectorId>",
      "marketCountry": "<marketCountry>"
    },
    "name": "toss_get_sector_stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectorIdYes
marketCountryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, open-world, non-destructive profile, so the description's real contribution is the behavioral detail: results are sorted by market cap within the chosen market, volume and trading value are same-day cumulative, and US figures are converted to KRW. That is meaningful context an agent could not get from annotations or schema. It does not address result size or pagination, which matters for an '전체' listing.

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 dense sentences with the primary scope front-loaded, followed by the sorting and data-freshness caveats. No filler and nothing buried or redundant.

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?

For a two-parameter read-only listing tool with no output schema, the description covers scope, ordering, data freshness, and currency normalization. The remaining gap is practical: no hint about sectorId provenance or how large the returned list may be.

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

Parameters3/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 parameter meaning. It does clarify marketCountry indirectly ('선택한 시장 기준' drives the market-cap sorting basis) and explains the KRW conversion for US output, but sectorId is never explained — its format, whether sub-sector IDs are valid inputs, or where to obtain one. Partial compensation for an undocumented two-parameter 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?

States a specific verb (조회) and resource (섹터와 하위 섹터의 보통주 전체), plus the ordering rule (시가총액순). The word 보통주 implicitly separates it from the ETF-oriented sibling, and '하위 섹터' defines scope depth. It stops short of naming toss_get_sector_etfs or toss_get_stocks explicitly, which keeps it at 4 rather than 5.

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: an agent can infer this is for listing constituent stocks of a sector. There is no statement of when to prefer it over toss_get_stocks, toss_get_sector, or toss_get_sector_etfs, and no note that sectorId must first be obtained from toss_get_sector. Adequate but no explicit routing guidance.

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