Skip to main content
Glama
tossinvest-mcp

tossinvest-mcp

by scjang01

Toss Get Holdings

toss_get_holdings
Read-only

Retrieves account holdings and current valuation, optionally filtered by symbol. Use it to review positions or check portfolio value.

Instructions

Get account holdings and valuation; optionally filter by symbol.

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>"
    },
    "name": "toss_get_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolNo
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."
    • addedInput schema / required
      Added value: +[
      +  "accountSeq"
      +]
  3. First observedv0.1.0

TDQS

A3.6/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 that results include valuation as well as positions, which is useful, but says nothing about pagination, aggregation level, or freshness of prices used in valuation.

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?

A single compact sentence with the primary action front-loaded and the optional filter trailing. Nothing is wasted, though a slightly more informative clause about the returned holdings could be added at little cost.

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 simple two-parameter read-only tool with an annotated safety profile and no output schema, the definition covers what is needed: the resource, the required account context (reinforced by the schema text), and the optional filter. Additional return-value documentation is not required here.

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 50%: accountSeq already carries a strong description telling the caller to resolve it via toss_get_accounts, while symbol has only a regex pattern and no prose. The description contributes the meaning of symbol as an optional narrowing filter, which partially compensates for the undocumented parameter but adds no format or matching details.

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?

The description names a specific verb+resource pair ("Get account holdings and valuation") and notes an optional symbol filter, which is enough to distinguish it from related account tools such as toss_get_accounts or toss_get_sellable_quantity. It stops short of explicitly contrasting itself with those siblings.

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?

Usage is implied: query holdings for an account, optionally narrowed to one symbol. There is no explicit guidance on when to prefer this over toss_get_accounts (account list) or toss_get_sellable_quantity, though the resource name makes the intent reasonably inferable.

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