Skip to main content
Glama

ScorpTech x402 Tools

Evm Balance

evm_balance
Read-onlyIdempotent

Use this when you need a wallet's ETH and major ERC-20 balances on one chain (for all 6 chains with USD totals in one call, see wallet_portfolio). Native ETH and ERC-20 token balances for an address on Ethereum, Base or Arbitrum via public RPC. Defaults to major tokens (USDC, USDT, WETH, DAI/ARB) or pass up to 20 token contracts. Read-only. Returns JSON with: address, chain, chainId, blockNumber, native, tokens, warnings, source. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-balance

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

Input Schema

NameRequiredDescriptionDefault
chainNochain; default "eth"
tokensNoERC-20 contract addresses (JSON array or comma-separated). Omit for the chain default token set. (comma-separated)
addressYes0x EVM address (EIP-55 checksum validated if mixed case)
include_zeroNoInclude tokens with zero balance; default true
include_defaultsNoAlso include the default token set when tokens are given; default true

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds substantial context beyond them: public RPC source, default token set, the 20-contract cap, the return fields (address, chain, chainId, blockNumber, native, tokens, warnings, source), and the $0.005 USDC x402 price per successful call. It stops short of describing failure modes or rate limits beyond pricing.

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?

Front-loaded with the usage decision and the sibling alternative, then scope, then return shape and pricing — every sentence carries information. It is dense (endpoint URL, price, return field list in one block) but no sentence is filler.

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?

With no output schema, the description supplies the return field list itself, plus pricing/payment method and an HTTPS fallback endpoint. For a 5-parameter read-only query tool, an agent has everything needed to decide and call correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning: it enumerates the default token set (USDC, USDT, WETH, DAI/ARB) which the schema only calls 'the chain default token set', and it imposes a 20-token cap that appears nowhere in the schema. Chain values are left to the enum.

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+resource+scope: native ETH and ERC-20 balances for an address on one chain (Ethereum, Base or Arbitrum). It explicitly separates itself from the sibling wallet_portfolio, which covers all 6 chains with USD totals, so an agent can route 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 when-to-use clause and names the alternative (wallet_portfolio) plus the condition that selects it (all 6 chains with USD totals in one call). The remaining usage choices are also spelled out: omit tokens for the chain default set, or pass up to 20 contracts.

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