canli-mcp / Quant finance

Scenario stress test

Apply named scenarios (a return shock per position, or a market shock passed through each position's beta) to a portfolio and report the P&L of each scenario and the worst position.

The tool is stress_test in canli-mcp 0.22.0, free and MIT-licensed, with no account and no API key. It comes from canli-quant-mcp, which canli-mcp includes, and it is also its own server.

Arguments

As the server declares them
ArgumentRequiredType
positionsyesnumber[]
namesnostring[]
betasnonumber[]
scenariosyes{name,shocks,market_shock}[]

How a model reaches it

Ask in plain words. The model finds stress_test with canli-mcp's find_tool, reads its arguments with describe_tool if it needs to, and runs it with run_tool. The call has this shape, with your values in place of the angle brackets:

{
  "name": "stress_test",
  "arguments": {
    "positions": "<number[]>",
    "scenarios": "<{name,shocks,market_shock}[]>"
  }
}

Words that find it

Besides its name, title and description, find_tool matches a question to stress_test on these words: stress, test, scenario, analysis, shock, what, if, crash, market, drop, beta, pnl.

More

Nothing here is investment advice.