Skip to main content
Glama

Moneda

get_total_wealth

Read-only

Aggregate wealth across the user's main account + every live vault. Returns per-leg breakdown (wallet + Morpho + YO for main; wallet-only for vaults) plus per-currency totals (USDC, EURC, CHFAU, CADD, MXNB) and combined totalUsd/totalEur grand totals. USDC/EURC are cross-converted using the on-chain Aerodrome rate; CHFAU, CADD and MXNB keep their own columns but are also folded into totalUsd/totalEur using their fiat rates (MXNB via its Aerodrome pool). MXNB includes the Juno MXNB Prime Morpho vault. stocksUsd is the value of stocks and ETFs in the brokerage account at the latest delayed quote, and cryptoUsd the value of crypto held in the main account and every vault at the current reference price (both 6-decimal USD; null means it could not be priced, not zero). The app's Total wealth adds both on top of the currency totals; the app prices crypto at what selling now would return, so its figure can differ slightly. stockPositions and cryptoPositions list each held asset (symbol, quantity in whole units, valueUsd, costUsd, realizedUsd): use them for 'how much crypto do I hold', 'what is my bitcoin worth' (cbBTC) or 'what stocks do I own'. costUsd is what the user paid for the position, so valueUsd minus costUsd is how much they are up or down; null means the cost is not on record (for example tokens received from outside), so do not report a gain or loss for it. realizedUsd is the profit or loss the user already locked in by selling part of that position (negative for a loss), separate from the unrealized figure: quote it for 'how much have I made selling X'; null means it is not on record, so say so rather than zero. closedStockPositions lists stocks and ETFs the user has sold all of, each with realizedUsd (what selling it made or lost): use it for 'how did my Tesla trade end up' or 'what have I made on stocks I sold'. closedCryptoPositions is the same for crypto the user bought in the app and has fully sold; a token they moved in or out some other way is left out, so absence does not mean no profit or loss. Both are history, not holdings, and are in no total. totalWealthUsd is everything combined (currencies + stocks + crypto) in 6-decimal USD, null when any part could not be valued: quote it for 'what is my total balance' instead of adding legs yourself. otherCryptoPositions lists any other listed tokens in the account at a reference price (valueUsd may be null); they are shown in the app but NOT counted in cryptoUsd or totalWealthUsd, so mention them separately.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_total_wealth"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, so the description carries the real burden and does so thoroughly: null-vs-zero semantics for valueUsd/costUsd/realizedUsd, why totals can be null, why the app's figure can differ (live sell price), and the explicit exclusion of otherCryptoPositions from totals. These are non-obvious behavioral traits an agent would otherwise get wrong.

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?

It is long, but it is front-loaded (scope first, then per-field meaning) and, with no output schema, nearly every sentence documents a field or a caveat that would otherwise be invisible. A few clauses restate the same point ('use them for how much crypto do I hold' alongside the field explanation) and there is no paragraph or bullet structure in a very dense block, which keeps it from a 5.

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, no parameters, and a highly composite return object, the description supplies exactly what is missing: field-by-field meaning, inclusion/exclusion rules, null handling, and which field answers which question. An agent can answer wealth questions from this text alone without guessing at totals.

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?

There are zero input parameters, so there is no parameter semantics to document and the baseline of 4 applies. The description instead spends its budget on output semantics, which is the appropriate trade-off here.

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 opening sentence names a specific verb and scope: aggregate wealth across the main account plus every live vault, with a stated per-leg breakdown. It is distinguishable from balance/summary siblings because it explicitly enumerates the components (wallet, Morpho, YO, currencies, stocks, crypto) that it rolls up.

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?

Usage is pinned to concrete user questions throughout ('how much crypto do I hold', 'what is my total balance', 'how did my Tesla trade end up'), and it warns against doing arithmetic manually. It never names a sibling tool (e.g. get_balance, get_financial_summary_data) or states when to prefer those instead, so it stops short of the 5 bar.

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