Skip to main content
Glama

Get Volatility Forecast

get_volatility_forecast
Read-only

Conditional volatility forecasts: EWMA (RiskMetrics, λ=0.94), HAR-RV (Corsi), and GARCH(1,1) fitted by maximum likelihood with Gaussian or Student-t innovations. Returns fitted params (omega/alpha/beta/dof), persistence, long-run vol, half-life, and a multi-horizon (1/5/21-day) forecast. Also returns realized_models when the archive covers the symbol: HAR-RV on 5-minute data, HAR-IV, HARQ, Realized GARCH and HEAVY at 1/5/21 sessions as of the last completed session, beside 30-day implied vol. Alpha tier. Use to forecast next-day/forward volatility or gauge vol mean-reversion. Pass dist='gaussian' or 'student_t' (default student_t).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "get_volatility_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
distNoGARCH innovation distribution: 'student_t' (default, fat-tailed) or 'gaussian'
apiKeyNoFlashAlpha API key. Omit when calling via /mcp-oauth (OAuth flow); required on /mcp.
symbolYesStock/ETF ticker

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, it discloses the model families, the fitted outputs returned, conditional behavior (realized_models only when the archive covers the symbol, aligned to last completed session), and a tier gate. These are non-obvious access and coverage behaviors an agent would otherwise discover only by failing.

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 name-defining content leads, followed by returned fields, then the usage instruction, with no filler sentences. It is dense with model acronyms and the one-line "Alpha tier." fragment relies on prior context, but 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 no output schema, the description carries the return-value burden and does so thoroughly (params, persistence, long-run vol, half-life, 1/5/21-day horizons, realized models). For a numerically heavy forecasting tool it omits only interpretation details such as units/quoting convention and failure modes.

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 coverage is 100%, so all three parameters are already documented, and the description largely restates dist='gaussian'/'student_t' with the default. The default is confirmed verbally, but no extra meaning (e.g., when to prefer Gaussian, or what apiKey omission triggers beyond the schema note) is added.

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 the specific methods (EWMA/RiskMetrics λ=0.94, HAR-RV/Corsi, GARCH(1,1) via MLE) and the resource (conditional volatility forecasts), so an agent knows exactly what this produces. It does not name or contrast any sibling such as get_volatility or get_advanced_volatility, so an agent cannot be fully certain which of those also emits forecasts versus spot levels.

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?

"Use to forecast next-day/forward volatility or gauge vol mean-reversion" gives a clear triggering context, and "Alpha tier" signals a prerequisite for access. It stops short of explicit exclusions or naming an alternative for agents that want current/historical vol instead of a forecast.

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