Skip to main content
Glama

x420_chain_balance

Read-onlyIdempotent

Multichain wallet balance: Native balance plus up to 10 ERC-20 balances (symbol, decimals, formatted) for one address on base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia, at the latest block. Source: publicnode JSON-RPC. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.002 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: native{symbol, balance}, tokens[]{symbol, decimals, balance}, block.

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": "x420_chain_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNocomma-separated ERC-20 contract addresses, up to 10 (optional)
addressYes0x wallet address
networkNoone of base, ethereum, arbitrum, optimism, polygon, avalanche, bsc, base-sepolia (default base)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

The description discloses critical behavior beyond the annotations: the hosted tool does not pay and does not return the deliverable, it validates input and returns payment instructions, and the caller must perform the x402 Payment-Required and Payment-Signature flow. It also gives the price, source, supported networks, local-server alternative, and exact paid deliverable shape.

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?

The description is front-loaded with the purpose and then covers payment behavior, price, and deliverable, which are necessary for this payment-gated hosted tool. It is somewhat long and includes a boilerplate legal disclaimer that does not help an agent invoke the tool.

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?

Given the tool's complexity as a paid x402 hosted endpoint with no output schema, the description is complete: it covers supported networks, token limits, latest-block semantics, payment steps, price, local alternative, and the JSON deliverable shape returned after payment.

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 coverage is 100%, so the input schema already documents address, tokens, and network. The description repeats the network list and token limit while adding little parameter-specific syntax or format guidance beyond what the schema provides.

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 specifies a clear verb and resource: retrieving native plus up to 10 ERC-20 balances for one address across named chains at the latest block. It does not explicitly differentiate itself from the similarly named sibling x420_chain_wallet-balance, so it stops short of the sibling-differentiation bar for a 5.

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?

Usage is implied by the purpose: use this tool to get multichain wallet balances. The description explains the hosted payment flow and mentions running x420-mcp locally, but it does not state when to choose this over sibling tools such as x420_chain_wallet-balance or x420_chain_token-snapshot.

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