Skip to main content
Glama

Simulation

option_simulate

Fit a Bayesian GARCH(1,1)-t model to realised returns, simulate forward paths, and return convergence diagnostics, predictive fan, VaR/ES, and option profit probabilities versus implied.

Instructions

Fit a Bayesian GARCH(1,1)-t model to the underlying's realised returns by MCMC and simulate forward. Returns the posterior with convergence diagnostics, the predictive fan, value at risk and expected shortfall, and each saved structure's probability of profit under realised volatility next to the implied figure. Check converged before quoting any quantile. Before quoting any number from this result, state the degraded flag and its reason when the result carries one, and cite the artifact path it names.

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

Input Schema

NameRequiredDescriptionDefault
drawsNo
pathsNo
periodNoHistory to fit, e.g. 2y
symbolYes
horizonNoBusiness days forward

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses genuinely useful behavior: results carry convergence diagnostics that must be checked, and results may carry a degraded flag plus an artifact path that must be surfaced. That is real operational context an agent could not get from readOnlyHint=false / openWorldHint=true / idempotentHint=false. It stops short of stating cost or typical runtime for an MCMC fit, which matters for a non-idempotent compute call.

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 action, then outputs, then the quoting cautions — a sensible order with no filler. The final sentence is a procedural instruction rather than a tool definition, but it is short and operationally relevant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description does a decent job naming what comes back, so return-value comprehension is adequate. The gap is on the input side: five parameters at 40% coverage with no description-level explanation of the sampling controls, for a compute-heavy stochastic tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, so the description needs to compensate and does not: draws, paths and symbol are never mentioned, and nothing explains the scale or effect of draws/paths on the fit. Only 'period' and 'horizon' are documented, and that documentation sits in the schema, not the description.

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 — fit a Bayesian GARCH(1,1)-t by MCMC and simulate forward — and enumerates the returned artifacts (posterior, convergence diagnostics, predictive fan, VaR/ES, probability of profit). It does not, however, contrast itself with the plausibly confusable sibling option_forward_test, leaving the boundary implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance given is about post-result handling ('check converged before quoting any quantile', 'state the degraded flag and cite the artifact path'), not about when to choose this tool over option_forward_test, option_backtest or option_strategy_compare. Usage is implied by the purpose rather than stated as a selection rule.

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