Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by clauzewitz

list_market_stocks

Read-onlyIdempotent

Retrieve full stock lists by exchange, including symbols, Korean names, types, and ISINs, and filter by name or symbol to find stock codes. Results are cached daily (KST).

Instructions

거래소별 전체 종목 목록(심볼, 한글 이름, 유형, ISIN)을 조회한다.

종목명으로 종목코드를 찾을 때 query 와 함께 쓴다. 마켓당 수천 건이므로 query 없이 부르면 응답이 크다. 하루 1회 갱신 데이터라 당일(KST) 동안 캐싱한다.

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": "list_market_stocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo종목명·심볼에 이 문자열이 들어간 것만 돌려준다 (대소문자 무시). 종목코드를 찾을 때 쓴다
marketYes거래소
statusNoACTIVE
common_shareNotrue=보통주만, false=우선주만, 생략하면 전체
security_typeNo종목 유형. 생략하면 전체

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the safety profile is covered. The description adds genuinely non-derivable behavior: data is refreshed once daily and cached for the same KST day, and unfiltered calls return thousands of rows. It does not say whether that large result is paginated, truncated, or hard-limited, which is the one remaining operational unknown.

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 sentences, front-loaded with the resource and returned fields, then usage, then caching/response-size caveats. Every sentence carries information; the only mild slack is that the payload-size warning and the query guidance overlap slightly.

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?

Five parameters with one required, no output schema — the description compensates by naming the returned fields, which is exactly what an agent needs here. The caching note and size warning round out the operational picture; only pagination/limit behavior remains unspecified for a tool that can return thousands of rows.

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 coverage is 80%, so `query`, `common_share`, and `security_type` are already described in the schema itself. The description reinforces the `query` search-intent and implies per-exchange scoping via `market`, but adds no syntax, matching, or default-behavior detail beyond what the schema states; baseline 3 applies.

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 (retrieve the full per-exchange stock list) and enumerates the returned fields (symbol, Korean name, type, ISIN), which makes it clearly a bulk-listing tool rather than a single-stock lookup. It stops short of naming a sibling such as get_stock_info or get_sector_stocks to draw the boundary explicitly.

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

Usage Guidelines4/5

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

Gives a concrete usage pattern (combine with `query` when searching for a stock code by name) and a clear warning that calling without `query` returns a large payload. It never names an alternative tool or states when *not* to use this one versus get_stock_info, so the routing guidance is implicit rather than explicit.

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