Skip to main content
Glama

get_balance

Retrieve the native token balance (such as ETH or MATIC) for a wallet address or ENS name, enabling AI agents to check on-chain funds across EVM networks.

Instructions

Get the native token balance (ETH, MATIC, etc.) for an address

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_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesThe wallet address or ENS name (e.g., '0x1234...' or 'vitalik.eth') to check the balance for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a non-mutating read but never says so, and it does not disclose which network/chain the balance is read from, whether the chain is configured globally, or what happens for an address on an unsupported chain — a meaningful gap for a blockchain tool with zero annotation coverage.

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?

A single front-loaded sentence with no filler. The parenthetical example is the only elaboration and it directly aids interpretation.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool this is nearly adequate, but with no annotations and no output schema the description should at least state the read-only nature and how the network is determined. The chain-selection question is left entirely unanswered.

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% and there is only one parameter, so the schema already documents the address/ENS argument. The description adds nothing about address formats or ENS resolution beyond what the schema states, so the baseline 3 applies.

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 ('Get the native token balance') and qualifies it with '(ETH, MATIC, etc.)', which implicitly separates it from the ERC20/token siblings. It does not name a sibling outright, so an agent must infer the boundary rather than read it.

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 word 'native' implies this is for gas tokens rather than ERC20 contracts, which is a useful but implicit cue. There is no explicit when-to-use or when-not-to-use statement, and no pointer to get_erc20_balance or get_token_balance for contract tokens.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.