Skip to main content
Glama

chain_portfolio

Read-only

Multi-chain wallet portfolio in USD — One call values any EVM wallet across Ethereum, Base, Arbitrum, Optimism and Polygon: native coin plus each chain's major tokens (USDC, USDT, DAI, WETH, WBTC/cbBTC, LINK, chain token) read live on-chain, priced with Chainlink feeds (ETH, BTC, LINK, POL) and stablecoins at $1. Returns total USD, per-chain breakdown sorted by value, largest positions, unpriced tokens and any chain that failed. address= required; chains= optional comma list to limit chains. Price: $0.008 USDC (Base, via x402).

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": "chain_portfolio"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, it discloses the pricing model (Chainlink feeds for ETH, BTC, LINK, POL; stablecoins at $1), the return shape (total USD, per-chain breakdown sorted by value, largest positions, unpriced tokens, failed chains), and the cost/auth path ($0.008 USDC on Base via x402). Those are exactly the behavioral details an agent needs before spending money on a call.

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 dense but front-loaded with the core value proposition, then pricing sources, return shape, and parameters. It is somewhat long for one paragraph, but nearly every clause adds decision-relevant information such as cost and failure handling.

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 carries the return-value burden and does so by enumerating total USD, per-chain breakdown, largest positions, unpriced tokens, and failed chains. The remaining gap is the exact response format, but for a one-parameter read tool this is close to complete.

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?

The schema documents address at 100% coverage but does not include chains at all; the description supplies it as an optional comma-separated list to limit chains, which is real meaning beyond the schema. It does not clarify the address format or chain-value spelling, leaving modest gaps.

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?

The description states a specific verb and resource: it values an EVM wallet across five named chains in USD, including native coin and major tokens. That scope implicitly separates it from a raw-balance tool like chain_balances, but no sibling is named explicitly, so it stops short of a 5.

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?

It says address is required and chains is an optional comma list to limit chains, which covers basic invocation. It gives no when-to-use versus alternatives, no when-not-to-use, and no prerequisites beyond the implied payment.

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