Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by scjang01

Toss Get Candles

toss_get_candles
Read-only

Fetch 1-minute or daily OHLCV candles for Korean and US stocks, with configurable count and timezone-aware pagination.

Instructions

KR/US stock 1-minute or daily OHLCV. count defaults to 20 (max 200); set it on the first call. Pass nextBefore as before (ISO 8601 with timezone).

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": {
      "symbol": "<symbol>",
      "interval": "<interval>"
    },
    "name": "toss_get_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
beforeNo
symbolYes
adjustedNo
intervalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • removedInput schema / properties / before / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  2. Changed2 schema fields changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / before / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
  3. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish read-only, non-destructive, open-world behavior, so the safety profile is covered. The description adds real value with the count default (20) and ceiling (200) plus the pagination cursor instruction. However, it omits what happens on invalid symbols, response ordering (newest-first?), and any rate-limit or historical-depth limits, and the 'nextBefore' reference is left unexplained.

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?

Two dense sentences, front-loaded with the resource definition before parameter details, with no filler. The final clause 'Pass nextBefore as before' is the one piece that costs more confusion than it saves, since the schema property is named 'before'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter, paginated, unannotated-beyond-safety data tool with no output schema, the description covers the core calling mechanics but leaves the response shape unspecified. An agent still does not know the ordering of returned candles, whether 'nextBefore' is a response field, or the default for 'adjusted'.

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 0%, so the description carries the burden and partially discharges it: count (default 20, max 200), before (ISO 8601 with timezone), and the 1m/1d interval are all addressed. Two gaps remain — 'symbol' is only implicitly specified and 'adjusted' is never mentioned at all, which matters for candle data where split/dividend adjustment changes values. The 'nextBefore' token does not match any schema property name, creating avoidable ambiguity about which field to pass.

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 resource and scope: 'KR/US stock 1-minute or daily OHLCV', which tells an agent exactly what data comes back and for which markets. It does not explicitly distinguish itself from close siblings such as toss_get_market_indicator_candles or toss_get_prices, but the OHLCV framing is specific enough to be actionable.

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

Usage Guidelines2/5

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

There is no statement of when to reach for this tool versus toss_get_prices, toss_get_market_indicator_candles, or toss_get_trades, and no stated prerequisites. The only procedural hint is 'set it on the first call', which addresses pagination but not tool selection.

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