Skip to main content
Glama
crypto-mcp

crypto-mcp

by igoforth

Get Wallet Balance

get_balance

Query wallet balances on Ethereum or Polygon, returning native and ERC-20 token holdings by wallet address; specify a token symbol/address or retrieve all common tokens.

Instructions

Get wallet balance. Omit token for native only, use 'all' for native + common ERC-20s, or specify a token symbol/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
chainNoBlockchain to querypolygon
tokenNoToken to query: omit for native only, 'all' for native + common tokens, or specific token (USDC.e, USDC, USDT, DAI, WETH, WMATIC, or 0x address)
rpcUrlNoOptional custom RPC URL (defaults to publicnode.com for the selected chain)
addressYesWallet address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and mostly doesn't. It implies a read via 'Get' but never states what happens for an unknown token, whether 'all' fans out into multiple RPC calls, what the returned balance format/decimals are, or any failure modes — notable gaps given no output schema.

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 tight sentences with the core purpose front-loaded and the mode rules immediately after. Minimal waste, though the second sentence duplicates schema content rather than adding value.

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?

Parameters are fully documented in the schema and the tool is simple, so the definition is close to sufficient. The main shortfall is the absence of any return-shape description (single balance vs. a map when 'all' is used), which matters since there is no output schema.

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 address, chain, token, and rpcUrl including the token mode options. The description's token sentence largely restates the schema's own token description rather than adding new meaning, so it lands at the baseline.

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 wallet balance'), which is clearly distinct from the sibling tools dealing with transfers and transaction counts. It stops short of explicitly naming or contrasting those siblings, but the resource is unambiguous.

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?

Gives explicit conditional guidance for the token parameter (omit, 'all', or specific), which is genuinely useful for invocation. However, it offers no guidance on when to choose this tool over the sibling transfer/count tools, and no exclusions or prerequisites.

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