Skip to main content
Glama

get_portfolio_summary

Aggregates cross-chain crypto portfolios across Ethereum, Arbitrum, Polygon, and Base, including balances, DeFi positions, and staking assets, with TRON support and USD valuations.

Instructions

One-shot cross-chain portfolio aggregation for one or more wallets. Fans out across Ethereum/Arbitrum/Polygon/Base (unless chains narrows it) and assembles: native ETH/MATIC balances, top ERC-20 holdings, Aave V3 and Compound V3 lending positions, Uniswap V3 LP positions, and Lido/EigenLayer staking — each valued in USD via DefiLlama. Pass tronAddress (base58, prefix T) alongside a single wallet to fold TRX + TRC-20 balances plus TRON staking into the same totals; breakdown.tron holds the TRON slice, tronUsd the subtotal, and tronStakingUsd the staking portion. Returns a totalUsd, a breakdown by category and by chain, and the raw per-protocol position arrays. Default tool for 'what's in my portfolio?' / 'total value' questions; prefer it over calling each per-protocol reader separately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
walletNoSingle wallet address. Provide this OR `wallets` (not both). Use `wallets` for multi-wallet aggregated reports.
walletsNoMultiple wallet addresses to aggregate into one combined portfolio view. Mutually exclusive with `wallet`.
chainsNoSubset of supported chains to scan (ethereum, arbitrum, polygon, base). Omit to scan all supported chains.
tronAddressNoTRON mainnet address. When provided alongside a single `wallet`, TRX + TRC-20 balances and TRON staking are folded into the same portfolio total (`breakdown.tron`, `tronUsd`, `tronStakingUsd`). Multi-wallet mode + tronAddress is ambiguous and throws — call once per EVM wallet in that case.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's scope (cross-chain aggregation, specific protocols covered), data sources (DefiLlama for pricing), and important behavioral constraints (multi-wallet + tronAddress throws an error, default chain scanning behavior). However, it doesn't mention rate limits, authentication requirements, or error handling patterns.

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 appropriately sized and front-loaded with the core functionality. Every sentence adds value, though it could be slightly more structured with clearer separation between input guidance and output explanation. The TRON-specific details are necessary but make the description somewhat dense.

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?

Given the tool's complexity (cross-chain portfolio aggregation with multiple protocols) and lack of annotations/output schema, the description does an excellent job explaining what the tool does, when to use it, and key behavioral aspects. It comprehensively covers the output structure (totalUsd, breakdown, raw arrays) and input semantics. The main gap is lack of explicit error handling or performance characteristics.

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 has 100% description coverage, so the baseline is 3. The description adds significant value by explaining the relationship between wallet and wallets parameters ('Provide this OR wallets (not both)'), clarifying the chains parameter behavior ('unless chains narrows it'), and providing crucial context about tronAddress usage alongside single wallet mode and the resulting output structure.

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 tool's purpose with specific verbs ('aggregation', 'fans out', 'assembles') and resources (multiple chains, wallet addresses, various DeFi positions). It distinguishes itself from sibling tools by being a comprehensive portfolio aggregator rather than individual protocol readers like get_compound_positions or get_lp_positions.

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?

The description provides explicit guidance on when to use this tool ('Default tool for "what's in my portfolio?" / "total value" questions') and when to prefer alternatives ('prefer it over calling each per-protocol reader separately'). It also clarifies usage scenarios for single vs. multi-wallet modes and TRON integration.

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/szhygulin/vaultpilot-mcp'

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