Skip to main content
Glama

My portfolio value

get_my_portfolio
Read-only

Total value and holdings of the user's agent wallet. Use for "how am I doing". Counts the AGENT's wallets only (scope: agent_wallets): Copy Trading and manual wallets are left out (excluded_wallets); never add them back. Quote summary.hero_usd, the agent's equity; summary.wallets breaks it down (do not re-add it), holdings.items is every position, trading_balances.items the funding balances. USDC is your cash; SOL and every other token are positions. Per-token detail and the affordability check: get_my_balances. interview_due: true = onboarding was skipped: go back to get_my_trading_profile and the 5-question interview (onboarding FIRST) before acting on these numbers.

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

Input Schema

NameRequiredDescriptionDefault
refreshNotrue only right after an outside deposit that is not showing; slow.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / refresh / title
      Removed value: -"Refresh"
    • removedInput schema / title
      Removed value: -"get_my_portfolioArguments"
  2. Changed1 schema field changed
    • addedInput schema / properties / refresh / description
      Added value: +"true only right after an outside deposit that is not showing; slow."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds real behavior beyond them: which wallets are counted and which are excluded, how the summary fields relate (do not re-add `summary.wallets`), how USDC differs from positions, and an onboarding gate that blocks acting on the numbers. That is substantive context an agent cannot get from the annotations.

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 with purpose and use case, then scope, then field-reading rules, then sibling routing. Dense but every sentence carries a distinct instruction; the backticked field names keep it compact. Slightly crammed toward the end with the onboarding aside.

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?

Covers everything needed to call and interpret it: scope, exclusions, how to read the summary/holdings/balances sections, the cash-vs-position distinction, and the onboarding precondition. With an output schema present it correctly avoids re-documenting return shapes and instead supplies interpretation rules.

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 single `refresh` parameter has 100% schema description coverage, including its own when-to-use caveat, so the schema carries the load. The description adds nothing about `refresh`, which is acceptable at this coverage level but earns no bonus.

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 resource and scope: total value plus holdings of the user's agent wallet, with the exact wallet scope named (`scope: agent_wallets`). It distinguishes itself from `get_my_balances` (per-token detail, affordability) and from wallet-listing siblings, so an agent can pick it without opening the 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 ("Use for 'how am I doing'"), explicit exclusions (Copy Trading and manual wallets are left out and must never be added back), and names the alternative for the adjacent need (`get_my_balances`). It also routes to `get_my_trading_profile` when `interview_due: true`, with the ordering constraint stated.

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