Skip to main content
Glama

Portfelli ajalugu

get_portfolio_history
Read-onlyIdempotent

Tagasta portfelli turuväärtus ja soetusmaksumus ajas valitud vahemikus ning perioodi tootlus (rahavoogudega kaalutud). Kasuta küsimustele „kuidas portfell sel aastal läks", „mis oli portfelli väärtus aasta alguses".

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

Input Schema

NameRequiredDescriptionDefault
rangeNoAjavahemik: 1m, 3m, 6m, ytd (aasta algusest), 1y, all (kogu ajalugu). Vaikimisi 1y.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds that the return figure is cash-flow weighted and that two value series are returned, which is useful context, but says nothing about time-series granularity, data staleness, or what happens with an empty portfolio.

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?

Two sentences with no filler: the first states what is returned, the second routes usage via example questions. Front-loading is correct and nothing is redundant.

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?

With one optional parameter and no output schema, the description carries the burden of explaining return content, and it does name the three returned quantities. It leaves the shape of the time series (points, dates, currency) unstated, which is the main residual gap.

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?

Schema coverage is 100% and the enum values are already documented, including the default of 1y. The description reinforces the range as a selectable period but contributes no additional syntax or semantics beyond the schema, so it does not exceed the baseline by much.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it returns portfolio market value and acquisition cost over time plus a cash-flow-weighted period return. That is materially more precise than the tool name alone, though it never distinguishes itself from sibling tools like get_portfolio or get_portfolio_returns.

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?

Two concrete example questions ("how did the portfolio do this year", "what was the value at the start of the year") make the intended trigger unambiguous. It stops short of naming an alternative tool or an explicit when-not-to-use condition, so it stays below a 5.

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