Skip to main content
Glama

EVM native balance

evm_native_balance
Read-onlyIdempotent

Use when you need the native coin balance (ETH or POL) of an address on Base, Ethereum, Arbitrum, Polygon or Optimism: wei and a decimal amount from a public node, with the block number and as_of. Returns the paid x402 request for your input (GET /evm/native-balance, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Native coin on one chain only; for stablecoins or several chains use wallet_balance. First call each day returns the data itself, free; later calls return the paid request.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain to read; the coin is ETH, or POL on polygon; default basebase
addressYesAccount whose native coin balance is read (0x + 40 hex)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x address (40 hex)"New value: +"Account whose native coin balance is read (0x + 40 hex)"
    • changedInput schema / properties / chain / description
      Previous value: -"Chain; default base"New value: +"Chain to read; the coin is ETH, or POL on polygon; default base"
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the payment model ($0.001 per call via x402/MPP), the endpoint path, that invalid input is rejected before any charge, and the non-obvious free-first-call-per-day behavior where later calls return the paid request rather than data. These are exactly the traits an agent could not infer from structured fields.

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 trigger and return shape are front-loaded, and the payment explanation is compact. There is mild redundancy between 'Returns the paid x402 request' and 'Call that URL with an x402 or MPP client to get the data', but every sentence still carries usable information.

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?

For a two-parameter read tool with no output schema, the description supplies return fields, cost, payment flow, validation behavior, and the free-tier quirk — everything needed to call it and interpret the response. Nothing material is left for the agent to guess.

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 both parameters are already documented, including the chain enum and the ETH/POL coin mapping. The description repeats the chain list and the single-chain constraint but adds no format or defaulting detail beyond the schema, so baseline 3 applies.

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 and resource ('native coin balance ... of an address') plus the exact supported chains and return fields (wei, decimal amount, block number, as_of). It is clearly distinguishable from evm_erc20_balance and wallet_balance without opening either schema.

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?

Opens with an explicit 'Use when' trigger and names the exclusion condition with a concrete alternative: 'Native coin on one chain only; for stablecoins or several chains use wallet_balance.' The when-not and the routing target are both spelled out.

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