Skip to main content
Glama

Wallet balances

get_wallet_balances
Read-only

EGLD and fungible ESDT balances of an address (api.multiversx.com) with decimals and USD value when a price is known. Same source build_swap_tx uses for its balance warnings. Cached 10 s.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "get_wallet_balances"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesBech32 address (erd1…)
networkNoMultiversX network (default mainnet; devnet only if configured)mainnet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the description discloses several behaviors the agent would otherwise have to discover: the upstream host (api.multiversx.com), that results are enriched with decimals and USD value when a price is known, and a 10-second cache TTL, which is essential for reasoning about staleness. These details materially change how an agent should interpret the returned numbers.

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?

Three short, front-loaded sentences with zero filler: what is returned, where it comes from, and the cache constraint. The telegraphic register ('Cached 10 s.') is dense but unambiguous for an agent reader.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 compensates by explaining the return payload (balances with decimals, optional USD value). Both parameters are fully documented in the schema. It does not describe the result's structure (for example, a token list) or error behavior for malformed addresses, which is the only remaining gap for such a simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: the schema documents the Bech32 address format (len 62) and the mainnet/devnet enum with its default and configuration caveat. The description adds no parameter-level detail beyond that, so the schema carries the load and a baseline 3 is appropriate.

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 uses a specific verb and resource: 'EGLD and fungible ESDT balances of an address,' and narrows the scope with the 'fungible' qualifier, which excludes NFTs. It also positions the tool relative to build_swap_tx. It does not, however, explicitly distinguish when to call this tool versus list_tokens or get_quote, so an agent must infer that distinction.

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?

There is no explicit 'use this when…' or 'do not use for…' guidance. The line 'Same source build_swap_tx uses for its balance warnings' implies a usage context (checking balances before building swaps), but the agent has to infer that connection, and no alternatives are 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