Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by scjang01

Toss Get Buying Power

toss_get_buying_power
Read-only

Retrieve available buying power for a Toss Securities account by currency (KRW or USD) to confirm funds before placing an order.

Instructions

Get available buying power for an account. currency is required: KRW for Korean stocks, USD for US stocks.

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": {
      "accountSeq": "<accountSeq>",
      "currency": "<currency>"
    },
    "name": "toss_get_buying_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
currencyYesCurrency code: KRW (Korean stocks) or USD (US stocks)
accountSeqYesCall toss_get_accounts first; ask the user if the intended account is unclear.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.2
    • changedInput schema / properties / accountSeq / description
      Previous value: -"When accountSeq is required, call toss_get_accounts first. Select the user's intended account; if multiple accounts are ambiguous, ask the user."New value: +"Call toss_get_accounts first; ask the user if the intended account is unclear."
  2. Changed3 schema fields changedv0.3.0
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / accountSeq / description
      Previous value: -"Toss accountSeq. If omitted, TOSSINVEST_ACCOUNT is used."New value: +"When accountSeq is required, call toss_get_accounts first. Select the user's intended account; if multiple accounts are ambiguous, ask the user."
    • changedInput schema / required
      Previous value: -[
      -  "currency"
      -]New value: +[
      +  "accountSeq",
      +  "currency"
      +]
  3. Changed3 schema fields changedv0.2.0
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency code: KRW (Korean stocks) or USD (US stocks)",
      +  "enum": [
      +    "KRW",
      +    "USD"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / symbol
      Removed value: -{
      -  "pattern": "^[A-Za-z0-9.-]+$",
      -  "type": "string"
      -}
    • addedInput schema / required
      Added value: +[
      +  "currency"
      +]
  4. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered by structured data. The description adds only the currency-to-market mapping, with no information on what 'buying power' includes (cash, margin, pending orders) or the shape of the response.

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 short, front-loaded sentences with no wasted wording. The second sentence largely duplicates the schema's enum description, which is the only minor redundancy.

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 simple two-parameter read tool with full annotation coverage, the definition is minimally sufficient. However, 'buying power' is left undefined (whether it accounts for pending orders or margin), and with no output schema the description could have clarified what the returned figure represents.

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 description coverage is 100%, including an enum with per-value descriptions for currency and a note on accountSeq telling the caller to use toss_get_accounts first. The description's currency mapping restates what the enum description already says, so it adds no meaning beyond the schema.

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 verb and resource: 'Get available buying power for an account.' This is clearly distinct from siblings such as toss_get_sellable_quantity or toss_get_holdings, but the description does not explicitly name or contrast those alternatives.

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?

Provides a concrete rule for choosing the currency value (KRW for Korean stocks, USD for US stocks), which implies when the tool applies per market. It gives no guidance on when to prefer this over related tools like sellable quantity, and no prerequisites beyond the currency requirement.

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