Skip to main content
Glama

Agent Data Tools: Prices and DeFi

wallet_portfolio

USD value of a wallet on Base, Ethereum, Arbitrum or Optimism: native ETH plus major tokens (USDC and WETH everywhere, the common Base tokens on Base) and up to 20 tokens you add, each priced from its deepest Uniswap v3 pool, read live from the chain. Returns holdings, total and anything that could not be priced. Not a full token inventory. Use to check what a wallet is worth before trading, lending or paying. Costs $0.005 in USDC on Base per successful call, paid with x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoNetwork: base (default), eth, arb or op
tokensNoOptional extra comma-separated 0x token addresses (up to 20)
addressYes0x wallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Discloses behavior well beyond the annotations: it is a live on-chain read, pricing comes from each token's deepest Uniswap v3 pool, the return includes holdings, a total and anything that could not be priced, and the call costs $0.005 USDC on Base via x402. The paid-call mechanic usefully explains the readOnlyHint=false / idempotentHint=false annotations rather than contradicting them. Minor gap: no explicit note on rate limits or failure/refund behavior for failed calls.

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 resource and value proposition, and each sentence adds information (scope, exclusions, usage, price). The parenthetical token list is slightly dense and run-on, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 still covers the return shape ('holdings, total and anything that could not be priced'), chain coverage, token coverage limits and the payment requirement, which is enough for an agent to call it correctly. Coverage of pricing staleness/rounding is the only material omission.

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 enum values and the comma-separated token list; baseline 3 applies. The description adds useful context on the token parameter (up to 20 addresses, only the common tokens are included by default) but no syntax detail beyond the schema.

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?

Names the specific resource (wallet USD value) and enumerates scope precisely: four chains, native ETH plus named major tokens, up to 20 user-added tokens, priced from deepest Uniswap v3 pools. It explicitly rules out the adjacent resource ('Not a full token inventory') and is clearly distinguishable from sibling token-balance and plain balance tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit use context ('check what a wallet is worth before trading, lending or paying') and an implicit negative condition ('Not a full token inventory'), which steers agents toward wallet-audit/token-balance when coverage is needed. It does not name those alternatives outright, so it falls short of a full when/when-not statement.

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