Skip to main content
Glama

Balance

quick_balance
Read-only

Free. Your prepaid balance, today's spend and your daily cap, in US cents.

Returns: {ok, balance_cents (can be fractional, e.g. 512.5), balance_usd (string, e.g. "$5.12": the balance FLOORED to a whole cent, never rounded up, so it is what you can safely say you can spend), daily_spent_cents, daily_cap_cents}

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": "quick_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, so the description adds real value: it discloses that the call is free (a billing behavior) and explains the flooring rule for balance_usd, which is a meaningful semantic caveat an agent could otherwise get wrong. It does not cover error cases or how a fractional balance_cents should be interpreted against the cap.

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?

It is front-loaded with the key facts ('Free.' then what you get) and the return block is itemized rather than prose, so it scans quickly. The parenthetical explanation of the flooring rule is long but earns its place; the informal pseudo-shape notation ({ok, ...}) is slightly less crisp than a plain field list.

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?

There is no output schema, so the description carries the full burden of describing return values, and it does so thoroughly, including types, units, an example, and the rounding quirk. For a zero-parameter tool with a single readOnlyHint annotation, nothing essential 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 tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description instead spends its space on return-field semantics, which is the right trade-off.

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 resource (prepaid balance) and enumerates exactly what is returned: balance, today's spend, and daily cap, plus the currency unit (US cents). It is unambiguous and no sibling in the catalog overlaps with it, though it never explicitly positions itself against other tools.

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 leading 'Free.' signals there is no cost to calling it, which implies it can be called liberally, but there is no explicit guidance such as 'call before generating to confirm funds' or any exclusions. Usage must be inferred from the nature of the tool.

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