Skip to main content
Glama
nangchang

toss-invest

by nangchang

판매 가능 수량 조회

toss_get_sellable_quantity
Read-onlyIdempotent

Determine how many shares of a stock you can sell in a specific account. Provide account sequence and stock symbol (KRX or US ticker) to retrieve the current sellable quantity.

Instructions

특정 계좌에서 특정 종목의 판매 가능 수량을 조회합니다.

Args:

  • accountSeq (number, 필수): 계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값

  • symbol (string, 필수): 종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL)

Returns:

  • sellableQuantity: 판매 가능 수량 (decimal string). KR: 정수, US: 소수점 포함 가능

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes종목 심볼. KRX: 6자리 숫자 (예: 005930), US: 영문 티커 (예: AAPL)
accountSeqYes계좌 시퀀스. toss_get_accounts 응답의 accountSeq 값
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds valuable behavioral detail about the return value: sellableQuantity is a decimal string, with KR being integer and US potentially fractional. This goes beyond the annotations' capability.

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 highly concise, using a single-purpose summary sentence followed by clearly formatted Args and Returns sections. Every sentence contributes necessary information, with no unnecessary elaboration.

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

Completeness4/5

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

For a simple 2-parameter read tool with no output schema, the description provides return format and parameter provenance, which is largely sufficient. It could mention edge cases like pending orders affecting sellable quantity, but the current level of detail is adequate for correct invocation.

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%, with both accountSeq and symbol fully described in the schema. The description's Args section merely repeats the schema text and adds 'required' markers already present in the required array, providing no new semantic meaning.

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 clearly states the tool retrieves sellable quantity for a specific account and symbol, using a specific verb ('조회합니다'). It distinguishes itself from sibling read tools by explicitly targeting '판매 가능 수량' (sellable quantity) as the resource.

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?

The description implies usage context by specifying that accountSeq comes from toss_get_accounts and by detailing symbol formats. However, it does not explicitly compare with alternatives like get_holdings or explain when to prefer this tool, leaving usage guidance implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nangchang/stock-toss-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server