Skip to main content
Glama

Agent Margin Router

Wallet Balance

wallet_balance
Read-only

Native + stablecoin balances (ETH, USDC, USDT, DAI, WETH) of any EVM wallet with USD valuation, read directly from public RPC nodes on Base, Ethereum, Arbitrum, Optimism or Polygon. No API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNobase | ethereum | arbitrum | optimism | polygon (default base).
tokensNoToken symbols, default all known (USDC, USDT, DAI, WETH).
walletNoYour EVM wallet address (0x...). Unlocks the free tier (3 calls per wallet).
addressYesEVM address (0x + 40 hex chars).
api_keyNoOptional AMR enterprise API key.
x_paymentNoOptional signed x402 payment payload (base64 JSON) for USDC/USDT on Base.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description goes well beyond them: it discloses the data source (public RPC nodes), that no API key is required, the per-call payment rail (x402 with USDC/USDT on Base), and a free-tier cap. These are meaningful behavioral facts an agent needs, though it says nothing about rate limits or failure/partial-chain behavior.

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 dense, front-loaded sentences with no filler; the core capability leads and the payment details follow. Slightly more text than strictly necessary, but every clause is informational rather than redundant.

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?

For a read-only query with no output schema, the description adequately conveys what comes back (balances plus USD valuation), the supported chains/tokens, and the cost model. It is close to complete; the main omission is any pagination or partial-result/error behavior.

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%, so the schema already documents all six parameters including chain options and token symbols. The description corroborates the chains and tokens but adds no syntax or format detail beyond what the schema provides, so the baseline of 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?

States a specific verb+resource ('Native + stablecoin balances ... of any EVM wallet with USD valuation') and enumerates the exact tokens and chains covered, so the agent knows precisely what the tool returns. It does not explicitly distinguish itself from siblings like token_price or gas_fees, so it falls just short of the top mark in the absence of sibling differentiation.

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 description supplies the payment/free-tier mechanics ('3 free calls per wallet', pay with USDC/USDT on Base via x402), which implies when the tool is economical to call, but it never states when to prefer this over token_price or how it relates to the other balance/price siblings. Usage is implied rather than guided.

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.