Skip to main content
Glama
nangchang

toss-invest

by nangchang

호가 조회

toss_get_orderbook
Read-onlyIdempotent

Retrieve current bid/ask order book for a stock symbol, returning prices and volumes. Supports KRX six-digit codes and US tickers.

Instructions

특정 종목의 현재 호가(매수/매도 잔량) 정보를 조회합니다.

Args:

  • symbol (string, 필수): 종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL)

Returns:

  • timestamp: 호가 기준 시간 (ISO 8601)

  • currency: 통화 코드 (KRW/USD)

  • asks[]: 매도 호가 목록 (price, volume)

  • bids[]: 매수 호가 목록 (price, volume)

예시: 삼성전자(005930) 호가 조회, 애플(AAPL) 호가 조회

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL)
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds return structure (timestamp, currency, asks[], bids[]) and symbol format requirements (KRX numeric vs US ticker), which go beyond annotation metadata.

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?

The description is compact and well-structured: a one-line purpose, then clear Args/Returns sections, and examples. Every sentence adds necessary information with no redundancy.

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 only one parameter and no output schema, the description fully covers purpose, parameter format, return fields, and examples. It is self-contained for an agent to understand and invoke the tool correctly.

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?

The schema description covers the symbol parameter 100%, and the description repeats the same explanation. No additional meaning is added beyond what the schema already provides, so the baseline of 3 applies.

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 clearly states the tool queries current orderbook (bid/ask depth) for a specific symbol, using a specific verb '조회' and resource '호가'. This distinguishes it from sibling tools like toss_get_prices and toss_get_trades.

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?

The description provides context for market data retrieval but does not explicitly mention alternatives or when not to use this tool. Usage is implied by the examples, but there is no direct comparison to sibling tools such as toss_get_candles or toss_get_trades.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nangchang/stock-toss-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server