Skip to main content
Glama

Get Credit Balance

beatra.wallet.get
Read-onlyIdempotent

Read the current Beatra credit balance for this account, including the next expiring batch. Also returns how many unfinished creations this account can keep at a time. This call is read-only and does not charge. It does not top up, change the wallet, or estimate a generation; use beatra.models.list for prices. On insufficient_balance, relay that error's message instead of calling this tool as a substitute. After the user says they have topped up, call this tool once before retrying: the balance_credits in an earlier refusal is the balance at that moment, not the current one.

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": "beatra.wallet.get"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNo
topup_urlNo
next_expiry_atNo
balance_creditsNo
expiring_creditsNo
next_expiry_creditsNo
non_expiring_creditsNo
concurrent_task_limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint, so the safety profile is covered; the description goes further by confirming "does not charge" and adding non-obvious semantics: a balance_credits value in a prior refusal is a stale snapshot, not the current balance. That staleness and error-handling guidance is exactly the kind of context structured fields cannot express.

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?

Returns and negative scope are front-loaded, followed by read-only reassurance and the error path. Every sentence carries a distinct instruction or constraint (no charging, no top-up, price lookup elsewhere, stale-balance caveat), with no restatement of the name or title.

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?

An output schema exists, so return structure need not be spelled out, yet the description still names the two salient returned values. For a zero-parameter read with full annotation coverage, nothing an agent needs to call it correctly or interpret a failure 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 meaning to add and the baseline of 4 applies. The description does not need to compensate for any schema gap here.

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?

States a specific verb and resource ("Read the current Beatra credit balance for this account") and then enumerates exactly what comes back: the next expiring batch and the cap on unfinished creations. It also draws negative boundaries ("does not top up, change the wallet, or estimate a generation"), so the agent can separate this read from mutation and pricing siblings without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance ("After the user says they have topped up, call this tool once before retrying"), an explicit alternative for a related need ("use beatra.models.list for prices"), and an explicit substitution prohibition on insufficient_balance. It even bounds call frequency ("once") rather than leaving retry behavior to inference.

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