Skip to main content
Glama
meteoroh

tossinvest-mcp

by meteoroh

Get current prices

tossinvest_get_prices
Read-onlyIdempotent

Fetch the latest traded price for up to 200 Korean (KRX) or US stocks in a single call. Returns price, currency, and timestamp for each symbol.

Instructions

Get the latest traded price for one or more Korean (KRX) or US stocks.

This is the cheapest way to answer "what is X trading at". Up to 200 symbols in one call, so batch rather than looping.

Args:

  • symbols (string): Comma-separated symbols, max 200, no spaces. KRX = 6 digits ('005930'), US = ticker ('AAPL').

  • response_format ('markdown' | 'json'): default 'markdown'.

Returns { count, prices: [{ symbol, lastPrice, currency, timestamp }] }. lastPrice is a decimal string in the symbol's own currency (KRW for KRX, USD for US). timestamp is null when the symbol has not traded yet today.

Examples:

  • "How much is Samsung Electronics?" -> symbols='005930'

  • "Compare Apple and Microsoft" -> symbols='AAPL,MSFT'

  • Don't use for indices (KOSPI/KOSDAQ) or bond yields — use tossinvest_get_market_indicator_prices.

Errors: 404 stock-not-found when a symbol does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolsYesComma-separated stock symbols, up to 200 (e.g. '005930,000660' or 'AAPL,MSFT'). No spaces.
response_formatNoOutput format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
pricesYes
truncatedNo
truncation_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive, and the description adds meaningful behavioral detail beyond that: cost context ('cheapest way'), batching behavior, the exact return shape, the decimal-string currency behavior, null timestamps for untraded symbols, and the 404 stock-not-found error. No contradiction exists between the description and annotations.

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 well-structured and front-loaded with the core purpose, followed by usage guidance, parameter details, return shape, examples, exclusions, and error behavior. Every section earns its place; the examples are illustrative rather than redundant, and nothing is verbose or irrelevant.

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?

For a read-only price lookup tool, the description covers all essential operational context: symbol formats, batching limits, response format options, return structure, currency/timestamp semantics, error handling, and when not to use it. Given the rich annotations and full schema coverage, nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds useful semantic detail: it clarifies KRX symbols are 6 digits ('005930') while US symbols are tickers ('AAPL'), reinforces max 200 symbols, and states the response_format default. This goes slightly beyond the schema, warranting a 4 rather than a 3.

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 opens with a specific verb and resource: 'Get the latest traded price for one or more Korean (KRX) or US stocks.' It also differentiates itself from siblings by explicitly stating it is for current prices, not indices or bond yields, and points to tossinvest_get_market_indicator_prices for those. Examples map natural language queries to concrete symbols, reinforcing what the tool does.

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?

It explicitly tells the agent when to use this tool: 'This is the cheapest way to answer "what is X trading at"' and advises batching up to 200 symbols rather than looping. It also gives a clear exclusion: 'Don't use for indices (KOSPI/KOSDAQ) or bond yields — use tossinvest_get_market_indicator_prices.' This is direct when/when-not guidance.

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