Skip to main content
Glama

Beggar Bot

wallet_portfolio_api

Wallet portfolio and wallet balance API: give a Base wallet address, get native ETH plus token balances of 24 top Base tokens (USDC, USDT, DAI, WETH, cbBTC, AERO, VIRTUAL) and any extra tokens you list, each priced in USD on-chain, with total portfolio value (total_value_usd), the top holdings sorted by value, and account type. Base default (not a multi-chain scan). Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC 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": "wallet_portfolio_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase (default) or ethereum (needs tokens)
tokensNooptional extra token addresses (comma, ≤20)
addressYeswallet address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description has to carry the full burden, and it discloses a lot: a paid x402 call costing $0.02 USDC, settlement only on a 2xx response, and input errors never charged. It also lists the concrete response fields (total_value_usd, top holdings sorted by value, account type). It does not mention rate limits or how partial token failures are handled, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Everything is packed into one front-loaded paragraph that leads with the capability, then the output shape, then the chain scope, then payment terms. No sentence is filler, and the payment disclosure is placed after the functional content where it belongs.

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 no output schema and no annotations, the description still explains the return payload (priced balances, total value, sorted top holdings, account type) and the billing behavior. The only real gap is sibling differentiation, which is a routing concern rather than a completeness one for calling this tool correctly.

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?

Schema coverage is 100%, so a baseline of 3 applies, but the description adds real meaning: it clarifies that tokens are additive extras on top of the 24 built-in Base tokens, and that selecting the ethereum chain requires supplying tokens. That interpretation goes beyond the terse schema strings.

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 names a specific verb and resource: it takes a Base wallet address and returns native ETH plus token balances for 24 top Base tokens, each priced in USD, plus total portfolio value and account type. It also states a scope boundary ('Base default, not a multi-chain scan'). It does not, however, distinguish this tool from the close siblings wallet_portfolio, wallet_portfolio_api2, and wallet_balance_api.

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 by telling the caller to supply a Base wallet address and by noting that chain=ethereum 'needs tokens'. It does not say when to choose this tool over wallet_portfolio, wallet_portfolio_api2, or wallet_balance_api, and it gives no explicit when-not guidance beyond the Base-default note.

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.