Skip to main content
Glama

Get balance

get_balance
Read-onlyIdempotent

Read the user's balance in every currency (in full, with their total in the main currency) and what this slot can still spend today. When the user asks for their balance, give every currency that holds money and the total; spendable is the most you can pay today, every payment still needs their approval.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYes
totalYes
balancesYes
currencyYes
spendableYes
main_currencyYes
remaining_todayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context: the result spans all currencies with a total in the main currency, and 'spendable' is a ceiling that does not authorize payment without approval. It does not mention pagination, freshness/staleness of balances, or failure modes, keeping it off a 5.

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 with the return content front-loaded and the presentation rule second; nothing is padded. The first sentence is somewhat run-on with nested parentheticals ('in full, with their total in the main currency'), which costs a little readability.

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 zero-argument read tool with full annotation coverage and an output schema, this definition covers everything an agent needs: what is returned, how to report it, and the crucial caveat that spendable funds still require approval. Return-value detail is rightfully left to the output schema.

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 tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline is 4. No parameter text is needed or wasted.

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 ('Read') and a precisely scoped resource ('the user's balance in every currency... and what this slot can still spend today'). That is well beyond a tautology of the name. It stops short of a 5 because it does not contrast itself with the closest-sounding sibling, get_spending_rules, which an agent might weigh when asked about spendable amounts.

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?

Gives a clear trigger ('When the user asks for their balance') and instructs how to present it: list every currency that holds money plus the total, and treat 'spendable' as today's payment ceiling. It offers no explicit when-not guidance or named alternatives, so the agent must infer that approval/payment flows belong to siblings like request_approval or execute_payment.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources