Skip to main content
Glama

Risk summary

risk
Read-onlyIdempotent

Read the portfolio's risk picture in selectable pieces instead of the whole context. include (default ['metrics']) ⊆ metrics, drawdown, correlations, diversification, benchmarks, fxAttribution, fingerprint. metrics = volatility, Sharpe, Sortino, max and current drawdown, best and worst day, plus the note on what the per-holding risk figures mean. drawdown = the max drawdown's peak, trough, recovery and length, and the current one. correlations = the strongest pairs, strongest absolute correlation first, with the effective number of independent bets. diversification = the 0-100 score, its grade, the sub-scores and the card's own takeaways. benchmarks = one row per selected benchmark with its own return and the portfolio's beta and correlation to it. fxAttribution = how much of the return came from the currencies rather than from the assets. fingerprint = the Portfolio Fingerprint card: six axes (value, growth, past, health, income, diversification) scored 0-6 by fixed pass/fail checks, each with its measured value, threshold and coverage, plus the card's one-line verdict. range (all | 1y, default all) applies to the ratio metrics only — 1y gives the trailing-year volatility, Sharpe and Sortino plus the rolling 12-month envelope, while drawdowns, correlations and diversification are always whole-history. UNITS: volatility, maxDrawdown, currentDrawdown, correlation and the daily returns bestDay.ret and worstDay.ret are FRACTIONS (0.18 = 18%); a field ending in Pct is a percent. Statistics of the user's own history; never investment advice.

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

Input Schema

NameRequiredDescriptionDefault
rangeNo
includeNo
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds real value beyond them: explicit unit conventions (fractions vs. percent-suffixed fields), the fact that diversification is a 0-100 score, and 'never investment advice.' It says nothing about dashboardId resolution, idempotencyKey, or expectedRevision, which are unexplained behaviorally.

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?

The opening sentence front-loads the purpose and the remainder is dense with non-redundant content — each include value earns its clause. It is a single run-on paragraph however, and the units note could be set apart for faster scanning rather than buried mid-block.

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 carries the full burden of describing return values and does so per include option, including axis definitions and scoring for fingerprint. The remaining gap is the unaddressed dashboardId/idempotencyKey/expectedRevision parameters, which matter for correct invocation on a read-only tool.

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 20%, so the description must compensate, and it does for the two substantive parameters: every include enum value is defined with its returned fields, and range is explained along with which metrics it does and does not affect. idempotencyKey and expectedRevision receive no explanation in either schema or description, which keeps this from a 5.

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?

Specific verb+resource: 'Read the portfolio's risk picture in selectable pieces instead of the whole context,' followed by a full enumeration of the selectable pieces. It is unambiguous what the tool returns. It does not name a sibling or state which non-risk tool to use instead, so it stops short of 5.

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?

Strong guidance on parameter selection: include defaults to ['metrics'], and the range option is explicitly scoped to ratio metrics only while drawdowns/correlations/diversification stay whole-history. What is missing is tool-level guidance — when to call risk versus allocation, get_core, or tax_free_summary — so there are no explicit exclusions.

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.