Skip to main content
Glama

Summarise risk

describe_portfolio_risk
Read-onlyIdempotent

How risky a strategy is, measured from what it holds today, as figures with no widget.

For comparing strategies or checking a level against a target.
``open_dashboard(portfolio_id, tab='risk')`` shows the same pane.

These are the risk model's view of today's holdings, not statistics of the track
record. Volatility is annualised and forward-looking. "Bad month" is the 1%
expected shortfall: the average of the worst outcomes, not a floor. The 0-10 risk
level is Analyzera's own scale, comparable only with other levels from this
platform; it is not the PRIIPs SRI, nor the risk tilt in
``describe_portfolio_fundamentals``. None of it is a suitability judgement.

``breakdown`` adds each part's share of the volatility, largest first: by holding,
by group, or by 'source' (market, countries and currencies, industries, style
factors, and what is specific to the holdings). 'factor' splits the style factors
into each one by name (valuation, momentum, size and the rest), beside the other
sources' totals.

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

Input Schema

NameRequiredDescriptionDefault
holdingsNoIn place of portfolio_id: asset ids and weights, measured as of the latest date and not stored. describe_holdings also takes names, ISINs and amounts.
breakdownNo
portfolio_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare a safe read, but the description goes well beyond them: it defines volatility as annualised and forward-looking, defines "bad month" as 1% expected shortfall (average of worst outcomes, not a floor), and warns the 0-10 level is a proprietary scale comparable only within this platform and is not the PRIIPs SRI nor a suitability judgement. That is exactly the interpretive context an agent needs to avoid misusing the numbers.

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 the core statement and the sibling routing, then the caveats, then the parameter detail — a sensible order. It is long for a three-parameter tool, but nearly every sentence disambiguates a concept an agent could otherwise misreport (shortfall, proprietary scale, factor vs source).

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 no output schema, the description does describe the return shape at a high level (figures, plus per-part volatility shares when `breakdown` is set), and it covers the conceptual semantics thoroughly. It could be slightly more explicit about what the base figures are (volatility figure, risk level, bad month) and about the portfolio_id/holdings exclusivity, which is only implied.

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 only 33%, so the description must carry weight, and it does for `breakdown`: it explains that contributions are ordered largest-first and enumerates holding, group, 'source' (market, countries/currencies, industries, style factors, specific) and 'factor' (named style factors beside other sources' totals). The `holdings` parameter is covered by the schema, but `portfolio_id` is never mentioned in either place, and 'group' is not mapped explicitly to the schema's asset_class/country/sector/industry enum values.

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 precise verb+resource: measures how risky a strategy is from its current holdings, returned as figures without a widget. It explicitly contrasts itself with `open_dashboard(..., tab='risk')` and with the risk tilt in `describe_portfolio_fundamentals`, so an agent can separate it from those siblings without opening a schema.

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?

"For comparing strategies or checking a level against a target" gives a clear usage context, and it names `open_dashboard` as the visual alternative for the same data. It stops short of explicit when-not-to-use conditions (e.g. historical track-record analysis), but the historical-vs-forward-looking caveat effectively covers that.

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