Skip to main content
Glama

Get Balance

get_balance
Read-onlyIdempotent

Get the authenticated customer's current prepaid account balance and billing standing. Returns balance (current funds), credit (allowed negative balance / credit line), available_balance (balance + credit), debt (outstanding amount owed, 0 when none), is_debtor (whether the account is in debt), currency and last_activity (timestamp of the last balance change). All amounts are in USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety bar is covered. The description goes well beyond them by defining the semantics of each returned value (credit as allowed negative balance, available_balance as balance + credit, debt, is_debtor, last_activity) and noting the USD denomination. That is real behavioral context an agent would otherwise have to discover.

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 sentences, front-loaded with the purpose before the field enumeration. The second sentence is dense but every clause defines a distinct returned field, which is warranted given there is no output schema. Slightly list-like but no waste.

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?

With no output schema, the description carries the full burden of documenting the response, and it does so field by field, including units and edge conditions (debt 0 when none). Combined with annotations covering the safety profile, nothing an agent needs to call and interpret this tool 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 the baseline of 4 applies. The description correctly adds no parameter guidance because none is needed, and instead spends its words on output 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?

States a specific verb and resource with scope: 'Get the authenticated customer's current prepaid account balance and billing standing.' An agent immediately knows what it retrieves. It does not, however, differentiate itself from potentially overlapping siblings such as current_account, get_dashboard, or get_invoice.

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 phrase 'authenticated customer's' implies the context in which it applies, but there is no explicit when-to-use or when-not-to-use guidance, and no routing to alternatives like current_account or get_dashboard. Usage is inferable for a zero-parameter read, but nothing is spelled out.

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