Skip to main content
Glama

wallet_portfolio

Read-onlyIdempotent

Fetches a wallet's native balance and major ERC-20 holdings with live USD prices across Ethereum, Base, Arbitrum, Optimism and Polygon in one call, using an address or ENS name.

Instructions

[Trading Data API] What a wallet holds: native balance plus major ERC-20 tokens (stablecoins, wrapped assets, large caps) across Ethereum, Base, Arbitrum, Optimism and Polygon, with live USD prices, per-chain and total value. Address or ENS name. Reads the chain directly; tokens outside the curated list are not shown (the response states this).

Example: /v1/wallet-portfolio?address=vitalik.eth&chain=all

Use when you want what a wallet holds in one call: native balance plus major ERC-20 tokens across supported chains. Not for one specific token (use chain_token_balance) or counterparty risk (use wallet_check).

Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).

Input Schema

NameRequiredDescriptionDefault
chainNoOptional. all (default), ethereum, base, arbitrum, optimism or polygon.
addressYesRequired. 0x address or ENS name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.2

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations it discloses two behaviors an agent cannot infer: tokens outside the curated list are silently excluded (though stated in the response), and the paywall path where a missing key yields HTTP 402 carrying a decoded price quote rather than an error. That 402-is-not-a-failure note is genuinely useful for agent error handling; it stops short of describing pagination or response shape in detail, which the paid-access framing partly excuses.

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 what the tool returns, followed by an example, usage routing, and behavior notes. Slightly redundant in restating 'what a wallet holds in one call' from the opening, but every other sentence carries distinct 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?

With only two flat parameters and no output schema, the description covers the return contents (native + major tokens, USD prices, per-chain and total), the supported chain set, the curation limitation, and the payment requirement. An agent can call it and interpret failures correctly without further information.

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% with only two parameters, so the schema already documents address/ENS and the chain choices. The description largely repeats those (the five chain names and 'Address or ENS name' duplicate the schema), adding only a concrete example URL as marginal value, 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?

The opening states a specific resource and scope: native balance plus major ERC-20 tokens across five named chains, with live USD prices and per-chain/total value. It also bounds the result set (curated token list) so an agent knows exactly what 'portfolio' means here, distinguishing it from single-balance and risk siblings.

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?

It gives an explicit use case ('one call' snapshot of holdings) and two explicit exclusions with named alternatives: chain_token_balance for a single token and wallet_check for counterparty risk. Nothing about tool selection is left to inference.

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

Deploy Server

Other Tools