Skip to main content
Glama
vosesoftware

ModelRisk MCP

Official
by vosesoftware

create_aggregate

Build a frequency-severity aggregate loss distribution using FFT, Panjer recursion, or Monte Carlo sampling. Optionally output an analytic object for direct mean and percentile queries without running simulations.

Instructions

ModelRisk: Build a frequency-severity aggregate using the chosen method — 'FFT' (Fast Fourier Transform) or 'Panjer' (Panjer recursion) for the fast analytic methods, or 'MC' for Monte Carlo. frequency_object_cell and severity_object_cell are references to distribution-object cells (built with VoseObject). FFT and Panjer support as_object=True, which writes the ...Object form whose mean and percentiles can be read directly with compute_distribution / get_tail_risk — the aggregate loss distribution WITHOUT running a simulation. Method-specific options: density (FFT), intervals / max_p (Panjer), min_limit / max_limit / distribution_shift (MC). For plain MC sampling, create_aggregate_mc is the dedicated shortcut.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_pNoPanjer only: cumulative-probability cap.
sheetYes
methodNoAggregation engine: 'FFT', 'Panjer', or 'MC'.FFT
densityNoFFT only: density discretisation flag.
dry_runNo
workbookYes
as_objectNoWrite the analytic ...Object form (FFT/Panjer only) instead of a per-iteration sample. Lets you read the aggregate distribution without simulating.
intervalsNoPanjer only: number of discretisation intervals.
max_limitNoMC only: per-severity upper limit.
min_limitNoMC only: per-severity lower limit.
target_cellYes
distribution_shiftNoMC only: severity shift.
severity_object_cellYes
frequency_object_cellYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cellYes
formulaYes
writtenYes
previous_formulaNo
Behavior4/5

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

With no annotations, the description fully discloses that the tool builds an aggregate distribution, can write an Object form to avoid simulation, and requires frequency/severity distribution-object cells as prerequisites. It does not mention side effects or permissions, but the core behavior is transparent.

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 description is well-structured, starting with the main purpose, then explaining methods and options. While slightly verbose with technical details, every sentence adds value and is front-loaded with the core action.

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?

Given the tool's complexity (14 parameters, multiple methods, output schema present), the description covers methods, method-specific options, and the alternative sibling tool. It does not detail return format (handled by output schema) or error conditions, but overall sufficiently complete.

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 description coverage is 57%, and the description adds significant context by grouping parameters by method (e.g., density for FFT, intervals/max_p for Panjer, min_limit/max_limit/distribution_shift for MC) and explaining the purpose of as_object, clarifying meaning beyond the schema definitions.

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 clearly states the verb 'Build' and the resource 'frequency-severity aggregate', specifies the three methods (FFT, Panjer, MC), and explicitly differentiates from the sibling tool create_aggregate_mc by mentioning it as a dedicated shortcut for plain MC sampling.

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

Usage Guidelines5/5

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

Provides explicit guidance on when to use FFT/Panjer vs MC, explains the benefit of as_object=True for analytic methods, and advises that for plain MC sampling the agent should use create_aggregate_mc instead, offering a clear alternative.

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/vosesoftware/modelrisk-mcp'

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