Skip to main content
Glama
wealthAPI-eu

wealthapi-mcp

Official
by wealthAPI-eu

get_realized_gains

Get yearly realized gains broken down by trading, dividends, interest, and other, including gross, net, and tax refunds, to answer 'what did I realize this year?' and tax questions.

Instructions

Get realized gains per year, split into trading, dividend, interest and other gains (gross and net, plus tax refunds). Use this for 'what did I realize this year?' and tax questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdsYesDepot ID(s) to include
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the output structure (per year, gross/net, tax refunds), which is useful, but it doesn't mention any side effects, permissions, data lag, or other behavioral caveats. As a read-only 'get' operation, the behavior is implied, yet the description adds limited context beyond what the name suggests.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is two sentences, front-loaded with the main verb and resource, and every clause adds value. It efficiently conveys the output scope and usage intent without unnecessary detail.

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?

The tool is simple with one parameter, and the description adequately covers its functionality and return categories. It doesn't explain the exact response format, but no output schema is provided, and the description gives a good high-level view. It could mention the requirement of accountIds, but that's already in the schema. Overall, it's complete for the tool's simplicity.

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%, with the only parameter 'accountIds' described as 'Depot ID(s) to include.' The description adds no additional parameter semantics, but the schema fully documents the parameter. Baseline 3 is appropriate since the schema handles the burden.

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 description clearly states the tool's purpose with a specific verb and resource: 'Get realized gains per year' and details the breakdown into categories (trading, dividend, interest, other). This distinguishes it from sibling tools like get_dividend_history or get_portfolio_performance, which focus on different financial metrics.

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?

The description provides concrete use cases: 'what did I realize this year?' and 'tax questions.' This implies when to use the tool, but it doesn't explicitly mention alternatives or when not to use it. The guidance is clear but lacks exclusionary criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wealthAPI-eu/wealthapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server