Skip to main content
Glama

Beggar Bot

wallet_portfolio_api2

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_api2"
  }
}

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 carries the full burden and does so well: it discloses the $0.02 USDC x402 payment, that settlement occurs only after a 2xx response, and that input errors are never charged. It omits rate limits and behavior on partial or failed token lookups, 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.

Conciseness4/5

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

A single dense paragraph that front-loads what the tool does and what it returns, with pricing and scope pushed to the end. Every clause carries information, though the run-on construction of the return-value list makes it slightly harder to scan than it could be.

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 3 parameters, no output schema and no annotations, the description covers purpose, returned fields (total_value_usd, top holdings, account type), chain behavior and payment terms. A caller has enough to invoke it correctly, though the exact response shape and failure modes remain unspecified.

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 the baseline is 3; the description earns more by explaining that chain defaults to base and that ethereum mode requires tokens, and by clarifying that tokens are extra addresses beyond the built-in 24-token list. It still doesn't mention the ≤20 limit or comma format here, though the schema does.

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 gives a concrete verb and resource: take a Base wallet address and return native ETH plus balances of 24 top Base tokens, each priced in USD, with total portfolio value and top holdings. Scope is explicit ('Base default (not a multi-chain scan)'), which separates it from multi-chain scans. It doesn't name which sibling (wallet_portfolio, wallet_portfolio_api, wallet_token_balances) to prefer, so it falls just short of 5.

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?

It states the operating context clearly: Base is the default, ethereum requires the tokens parameter, and extra tokens must be listed explicitly. The only negative guidance is 'not a multi-chain scan' – no sibling tool is named as an alternative for other use cases, so it stops short of explicit alternatives.

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.