Skip to main content
Glama

Beggar Bot

wallet_portfolio

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

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 well: it discloses cost ($0.02 USDC via x402), that payment settles only after a 2xx response, and that input errors are never charged — behavior an agent could not infer from schema. Gaps remain on auth/payment prerequisites and rate limits, keeping it below 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.

Conciseness3/5

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

Content is front-loaded and every sentence carries information (scope, outputs, payment terms). However, the core sentence is an overlong run-on with an embedded token list, and the opening 'Wallet portfolio and wallet balance API' restates the name rather than adding meaning.

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?

No output schema exists, so the description must describe returns — it does, naming per-token USD pricing, total_value_usd, top holdings sorted by value, and account type. Payment and failure semantics are covered; only auth prerequisites and error/empty-wallet behavior are left implicit.

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 baseline is 3. The description reinforces that `chain` defaults to Base and that `tokens` are optional extra token addresses, but adds no format or validation detail beyond the schema's own wording.

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?

States a specific verb and resource: given a wallet address, return native ETH plus balances of 24 top Base tokens and any listed extras, each priced in USD, plus total_value_usd and account type. It also scopes itself explicitly ('Base default, not a multi-chain scan'), so an agent can distinguish it from generic balance or multi-chain scan siblings.

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?

Clear context for when this applies: single Base-wallet portfolio valuation, with the note that Base is the default and a multi-chain scan is not performed. It does not name or route to alternatives (e.g. a plain balance tool) or state exclusions beyond the chain scope, so it stops short of full when/when-not guidance.

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.