Skip to main content
Glama
Johnhyeon

StockLens

by Johnhyeon

get_multi_stocks

Read-onlyIdempotent

Fetch current price, change rate, and volume for up to 30 stock codes in one bulk request. Compare screening results without repeated individual lookups.

Instructions

벌크조회 — 여러 종목의 기본 정보(가격/등락률/거래량)를 한 번에 가져옵니다. "이 종목들 현재가 보여줘", "리스트 종목 시세 한번에" 같은 질문에 사용합니다. 개별 get_price를 여러 번 호출하는 것보다 훨씬 토큰 효율적입니다. 스크리닝 결과 N개 종목을 비교 분석할 때 필수 도구.

Args: codes: 종목코드 리스트 (최대 30개, 예: ["005930", "000660", "005380"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful constraints: max 30 codes, and token efficiency. It doesn't describe error handling or partial-result behavior, but given the annotations, this is adequate.

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?

The description is slightly verbose but every sentence earns its place: purpose, usage examples, efficiency note, and parameter details. It is front-loaded with the core function and uses a clean Args block. Could be tightened, but it is well-structured.

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?

An output schema exists, so return format is covered. The description covers when to use, the parameter meaning, and a constraint. It doesn't explicitly state this is for Korean stocks, but that is implied by the code format and the sibling get_us_multi_price. Missing minor edge cases, but overall sufficient.

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

Parameters5/5

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

The schema has 0% coverage for the parameter description, but the description explicitly defines 'codes' as a list of Korean stock codes, sets a maximum of 30, and gives concrete examples (e.g., ['005930', ...]). This fully compensates for the schema gap.

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 states a clear verb ('fetches basic info for multiple stocks at once') and specifies the exact data fields (price, change rate, volume). It also differentiates itself from the sibling get_price by explicitly framing itself as the bulk alternative, so an agent can immediately tell it apart.

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

Usage Guidelines5/5

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

The description provides explicit usage examples ('Show me current prices for these stocks'), names the alternative (get_price) and the condition for choosing this tool (multiple vs individual calls), and even highlights token efficiency. It also calls out a specific scenario (comparing N screening results). This is complete guidance.

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