Skip to main content
Glama
INo-xious

stockbit-mcp

by INo-xious

cash_balance

Read-only

Get cash balance and buying power from your Stockbit trading account. Use buying power to judge order affordability, since Indonesian retail limits often exceed the cash balance.

Instructions

Cash in the trading account, and the buying power that is not the same number. cashIdr is the balance. buyingPowerIdr is what an order can actually spend, which on an Indonesian retail account is routinely LARGER than the cash balance because of the trading limit. Use buying power to judge affordability; quoting cash where buying power was meant understates what the user can do, and the reverse overstates it. settlement breaks the balance into T+0/T+1/T+2 buckets when the balance/cash/info endpoint answered. Its absence with settlementUnavailable set means that second request failed, not that the account has no unsettled cash. Requires the trading session (stockbit-auth trading-login). IN PAPER MODE this reads a LOCAL LEDGER, not the brokerage, so NO trading session and NO PIN are needed however the line above reads — do not send the user to a terminal. The result says "PAPER ACCOUNT"; say so rather than reporting these figures as the user's actual account. PENDING VERIFICATION: this endpoint has not been observed live.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already mark the tool read-only and non-destructive, and the description adds substantial behavioral context: the cash-vs-buying-power distinction, settlement endpoint failure semantics, the trading-session requirement, paper-mode local-ledger behavior, and the explicit warning that the endpoint is pending verification. This is far beyond what annotations provide.

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?

Despite its length, every sentence earns its place: core distinction, field meaning, settlement edge case, authentication, paper-mode exception, and verification status. The structure front-loads the main purpose and then layers caveats, making the complexity navigable.

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?

This is complete for a zero-parameter read tool: no invocation arguments are needed, and the description explains the meaning of results, failure conditions, authentication requirements, paper-mode behavior, and reliability status. Nothing an agent needs to call or interpret this tool 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?

The input schema has zero parameters, so there is no parameter documentation burden. The description still enriches understanding of the returned fields (`cashIdr`, `buyingPowerIdr`, `settlement`), which is useful even though it is not parameter-level semantics.

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 clearly identifies the tool as returning the trading account's cash balance and buying power, and it distinguishes the two concepts with `cashIdr` vs `buyingPowerIdr`. It lacks an explicit verb like 'retrieves' or 'reads', but the resource and meaning are unmistakable.

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

Usage Guidelines4/5

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

It gives concrete application guidance: use buying power to judge affordability, treat settlement absence with `settlementUnavailable` as a failed second request, and in paper mode read the local ledger rather than requiring a session. It does not name sibling tools as alternatives, but it states clear preconditions and exclusions.

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/INo-xious/stockbit-mcp'

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