Skip to main content
Glama

risk_var-parametric

Read-onlyIdempotent

Compute parametric Value-at-Risk and Conditional VaR from historical returns using normal or Student-t distributions. Returns VaR, CVaR, and distribution parameters at specified confidence levels.

Instructions

Parametric Value-at-Risk and Conditional VaR.

Use when computing Value-at-Risk and Conditional VaR using parametric methods. Provide returns and confidence level. Returns: VaR, CVaR, and distribution parameters under normal or Student-t assumptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
returnsYesArray of historical returns
portfolio_valueNoOptional portfolio value for dollar VaR
confidence_levelsNoConfidence levels for VaR calculation
holding_period_daysNoVaR holding period in days
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds that it uses normal or Student-t assumptions, but does not explain required sample size (min 10 returns) or other behavioral constraints. Some value added but not substantial.

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?

Three concise sentences, front-loaded with purpose, usage, and output. No extra words.

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?

The tool has full schema and annotations, but no output schema. The description covers main outputs (VaR, CVaR, distribution parameters) but misses details on distribution assumption selection and optional parameters like portfolio_value and holding_period_days. A more complete description would explain these.

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 covers all 4 parameters with descriptions (100% coverage). The description does not add new information about parameters; it only mentions 'returns and confidence level' which are already in schema. Baseline set to 3.

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?

The description explicitly states it computes parametric VaR and CVaR, and specifies inputs and outputs. It distinguishes itself from sibling risk tools like risk_montecarlo, risk_stress-test by focusing on parametric methods.

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?

The description says 'Use when computing Value-at-Risk and Conditional VaR using parametric methods.' This provides clear context for when to use, but does not explicitly mention when not to use or name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/QuantOracledev/quantoracle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server