Skip to main content
Glama

Open portfolio

open_portfolio
Read-onlyIdempotent

Open the portfolio as an interactive view beside the conversation: token balances and DeFi positions of every wallet address you track, with filters and per-holding history the user can explore. Use it when the user asks to open, show or explore their portfolio; use get_portfolio_value for a quick figure. Returns the same data as get_portfolio_value. In hosts without a side panel the view renders inline. Across every tracked wallet, each wallet is read from its latest stored portfolio sample (the Sentio API samples tracked wallets hourly): such an entry says source: "sample" and gives its time as asOf. A wallet without a recent sample, and any Sui wallet (its stored history covers fewer protocols), is scanned live (source: "live"). For one wallet's current state, ask for it by address. An aggregate answers within about 40 s: a wallet it could not re-read in time is answered from its last live read of the past 15 minutes when there is one (asOf says when), and otherwise comes back with pending: true, partial: true and no figures, and the total is marked partial. Its scan keeps running, so asking again in a minute usually returns it — do not report a pending wallet as empty. The Sentio portfolio API answers within about 25 s: when it stops a scan before reading everything, or a chain or protocol read fails (for example the wallet token-balance provider), the result (and each affected entry) carries partial: true and missing lists the chains and protocols not read. Its values are then incomplete and can be too low or too high (an unread position is left out; a debt left unpriced overstates a net value) — say so, and retry later or ask for fewer chains rather than reporting them as complete.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
partialNo
addressesYes
defiValueYes
totalValueYes
walletValueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, but the description adds substantial operational context: hourly Sentio sampling with `source: "sample"` and `asOf`, live scanning for stale or Sui wallets, roughly 40 s aggregate reads, a 15-minute fallback for wallets that cannot be re-read, `pending`/`partial` flags, and a 25 s API cutoff producing `missing` lists. It even warns that partial values may be too low or too high (unread position omitted, unpriced debt overstating net value), which is exactly the kind of caveat annotations cannot convey.

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?

Front-loaded correctly: purpose, then when-to-use/alternative, then the behavioral caveats. It is long and dense — the sampling rules, the 40 s aggregate path, and the 25 s Sentio path are described in overlapping prose — but for a no-parameter tool whose only real risk is misreporting partial data, most sentences carry load.

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?

An output schema exists, so return-value explanation is not strictly required, yet the description still documents the `source`, `asOf`, `pending`, and `partial`/`missing` fields that an agent must interpret to avoid reporting empty or incomplete portfolios. The only real gap is the "ask for it by address" sentence, which introduces an input this tool does not accept and leaves the agent unsure where single-wallet queries belong.

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?

The schema has zero parameters (baseline 4), and indeed the description defines no inputs. However, the line 'For one wallet's current state, ask for it by address' implies an address argument that the schema explicitly forbids (no properties, additionalProperties: false), which is confusing about whether this tool or a sibling should be called. It may be intended as routing advice, but as written it is ambiguous, so the baseline is reduced.

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 (open) and a concrete artifact (an interactive portfolio view with token balances and DeFi positions across tracked wallets), then explicitly contrasts itself with get_portfolio_value ('for a quick figure'). An agent can distinguish this from the sibling without opening either schema.

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?

Gives an explicit trigger ('when the user asks to open, show or explore their portfolio') and an explicit alternative with its own selection condition ('use get_portfolio_value for a quick figure'). It also advises on host fallback (inline rendering without a side panel) and on retry behavior after a pending result, leaving little to inference.

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.