Skip to main content
Glama
MoralisWeb3

Moralis MCP Server

Official
by MoralisWeb3

evm_getwallettokenbalancesprice

Fetch wallet token balances with USD prices, metadata, and filtering options for ERC20 and native tokens on supported blockchains.

Instructions

Fetch ERC20 and native token balances for a given wallet address, including their USD prices. Each token returned includes on-chain metadata, as well as off-chain metadata, logos, spam status and more. Additional options to exclude spam tokens, low-liquidity tokens and inactive tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoThe chain to queryeth
addressYesThe address from which token balances will be checked
to_blockNoThe block number up to which the balances will be checked.
token_addressesNoThe addresses to get balances for (optional)
exclude_spamNoExclude spam tokens from the result
exclude_unverified_contractsNoExclude unverified contracts from the result
cursorNoThe cursor returned in the previous response (used for getting the next page).
limitNoThe desired page size of the result.
exclude_nativeNoExclude native balance from the result
max_token_inactivityNoExclude tokens inactive for more than the given amount of days
min_pair_side_liquidity_usdNoExclude tokens with liquidity less than the specified amount in USD. This parameter refers to the liquidity on a single side of the pair.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions behavioral aspects like returning metadata, logos, spam status, and filtering options, which is helpful. However, it lacks details on rate limits, error conditions, pagination behavior (implied by 'cursor' parameter but not explained), or performance characteristics, leaving gaps for a tool with 11 parameters.

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 core purpose and key features in the first sentence, followed by additional options. It uses two sentences efficiently with no redundant information, though it could be slightly more structured by explicitly grouping related filtering options.

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?

Given the complexity (11 parameters, no annotations, no output schema), the description is moderately complete. It covers the main purpose and filtering features but lacks details on output format, error handling, or pagination behavior. For a tool with this many parameters and no structured output schema, more contextual information would be beneficial.

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 11 parameters thoroughly. The description adds marginal value by mentioning filtering options like excluding spam, low-liquidity, and inactive tokens, which map to parameters like 'exclude_spam' and 'min_pair_side_liquidity_usd', but does not provide additional semantic context beyond what the schema offers.

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?

The description clearly states the specific action ('Fetch'), resource ('ERC20 and native token balances for a given wallet address'), and includes key features like USD prices and metadata. It effectively distinguishes this from sibling tools like 'evm_getnativebalancesforaddresses' (native only) or 'evm_getfilteredtokens' (general token filtering) by emphasizing comprehensive wallet balance retrieval with pricing.

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 implies usage for retrieving wallet balances with pricing and filtering options, but does not explicitly state when to use this tool versus alternatives like 'evm_getwalletnetworth' (net worth focus) or 'evm_getwalletstats' (statistical overview). It mentions filtering capabilities but lacks clear guidance on scenarios where this tool is preferred over others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MoralisWeb3/moralis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server