Skip to main content
Glama
meteoroh

tossinvest-mcp

by meteoroh

Get KRW/USD exchange rate

tossinvest_get_exchange_rate
Read-onlyIdempotent

Get the current or historical KRW/USD exchange rate to convert holdings and order figures between the two currencies.

Instructions

Get the KRW <-> USD exchange rate, refreshed once a minute.

Use this to convert between the KRW and USD figures that holdings and orders report separately.

Args:

  • base_currency ('KRW' | 'USD'): the currency being priced.

  • quote_currency ('KRW' | 'USD'): the currency it is priced in. E.g. base='USD', quote='KRW' gives won per dollar.

  • date_time (string, optional): ISO 8601 instant for a historical rate. Omit for the current rate.

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

Returns { baseCurrency, quoteCurrency, rate, midRate, basisPoint, rateChangeType, validFrom, validUntil }. rateChangeType is UP, EQUAL or DOWN. validFrom/validUntil bound the ~1-minute window this quote applies to.

This is an indicative display rate — the rate actually applied when an order settles can differ.

Errors: 404 exchange-rate-not-found when no rate exists for the requested instant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_timeNoHistorical instant (ISO 8601). Omit for the current rate.
base_currencyYesBase currency — the one being priced.
quote_currencyYesQuote currency — the one it is priced in.
response_formatNoOutput format: 'markdown' for a compact human-readable summary, 'json' for the complete raw payload.markdown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateNoApplied rate
midRateNoDecimal value as a string
validFromNo
basisPointNoDecimal value as a string
validUntilNo
baseCurrencyNoKRW or USD
quoteCurrencyNoKRW or USD
rateChangeTypeNoUP, EQUAL or DOWN

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 declare readOnly, openWorld, idempotent, and non-destructive behavior. The description adds valuable behavioral context beyond that: the rate refreshes once a minute, validFrom/validUntil bound the quote window, the rate is indicative and may differ from the settled order rate, and a 404 error is possible. No contradiction exists.

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 yet information-dense. It is front-loaded with the core purpose, then covers usage, parameters, return fields, caveats, and errors without redundancy. Every sentence adds value.

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 four-parameter read tool with an output schema, this description is exceptionally complete. It explains the return field semantics, the time-window behavior, the indicative-rate caveat, and error conditions. Nothing an agent needs to call 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 schema already documents parameters well. The description adds useful semantic value beyond the schema, especially the example 'base='USD', quote='KRW' gives won per dollar' and the clarification that date_time is optional and omitted for the current rate.

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 specific verb and resource: 'Get the KRW <-> USD exchange rate, refreshed once a minute.' It clearly identifies the operation and the unique data it returns, distinguishing it from the many market-data and order sibling tools.

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 advises when to use the tool: 'Use this to convert between the KRW and USD figures that holdings and orders report separately.' This gives clear context and prevents confusion with other quote/price tools, even though no alternative tool is named.

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