Skip to main content
Glama

Get My Wallet Balance

get_my_wallet_balance
Read-only

Read-only lookup - never moves funds or has side effects. Requires authentication: returns only the caller's spendable wallet balance at their active school (wallets are scoped per school, so a balance at one school does not apply elsewhere), in cents and formatted. Live value reflecting orders and refunds up to the current moment - recheck before assuming funds are still available. Call before pay_lunch_order_draft or register_for_event to confirm the user can cover the charge; not needed for read-only lookups.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
currencyNoISO currency code (CAD, USD, or MXN)
topUpUrlNoRegional Paxaver wallet top-up page - hand this URL to the user when funds are low. Topping up happens on the Paxaver site, never through this tool
balanceCentsNoSpendable balance in cents
balanceFormattedNoBalance formatted with the currency symbol

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / topUpUrl
      Added value: +{
      +  "description": "Regional Paxaver wallet top-up page - hand this URL to the user when funds are low. Topping up happens on the Paxaver site, never through this tool",
      +  "type": "string"
      +}
  2. Added
  3. Removed
  4. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint/openWorldHint, so the safety profile is covered; the description re-states it but adds genuinely new context: authentication requirement, per-school wallet scoping, live value reflecting orders/refunds, and a staleness warning. Only deduction is that the opening restates annotation-provided safety hints.

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?

Front-loaded with the read-only safety statement, then auth, scoping, currency, freshness, and usage routing in roughly priority order. Dense and every sentence carries information, though the read-only assertion partially duplicates the annotations.

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 values need not be enumerated, yet the description still notes cents/formatting and liveness. Auth needs, scoping caveats, and the pre-payment use case are all covered for a zero-parameter tool.

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?

Zero parameters, so the schema-based baseline is 4; there is nothing for the description to clarify. It does note the response is in cents and formatted, which is return-value context rather than parameter semantics.

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+resource (get wallet balance) with tight scope: 'returns only the caller's spendable wallet balance at their active school'. The per-school scoping clause distinguishes it from sibling list tools like list_my_wallet_transactions and from generic balance reads.

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?

Explicitly tells the agent when to call it ('Call before pay_lunch_order_draft or register_for_event to confirm the user can cover the charge') and when not to ('not needed for read-only lookups'). Alternatives and the selecting condition are both named.

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