Skip to main content
Glama
brvm-mcp

brvm-mcp

by DylaneTrader

performance_risque

Compute a stock’s return, volatility, Sharpe/Sortino, historical VaR/CVaR, max drawdown, beta, and liquidity over a chosen period to assess performance and risk.

Instructions

Performance et risque d'une action sur une période : rendement, volatilité, Sharpe, Sortino, VaR et CVaR historiques à 95 % sur un jour, perte maximale, bêta face à un indice, liquidité.

taux_sans_risque est annuel en décimal (0.06 pour 6 %). Sans debut, les 3 dernières années.

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": {
      "ticker": "<ticker>"
    },
    "name": "performance_risque"
  }
}

Input Schema

NameRequiredDescriptionDefault
finNo
debutNo
tickerYes
referenceNoBRVMC
taux_sans_risqueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description usefully discloses behavioral facts: all risk measures are historical, VaR/CVaR at 95% on a 1-day horizon, and the default lookback is 3 years when `debut` is omitted. It does not state that the tool is a read-only computation, whether it is costly/slow, or how results are structured, so it stops short of full disclosure.

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?

Two sentences, front-loaded with the purpose and outputs, then a compact note on the risk-free rate convention and the default period. The metric enumeration is long but each item defines an actual computed output, so it earns its place; only minor tightness could be gained.

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?

For a 5-parameter analytical tool with no output schema and no annotations, the description covers the purpose, metric set and two parameter conventions. It leaves the meaning of `reference`, the format of `fin`, and any indication of return shape or computation cost unaddressed, which is a real shortfall at this complexity.

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 description coverage is 0%, so the description must compensate and only partly does: it explains `taux_sans_risque` is annual and decimal (0.06 for 6%) and that omitting `debut` defaults to 3 years. It says nothing about `fin` (format/end-of-period behaviour) or `reference`, whose default "BRVMC" is an opaque index ticker central to the bêta computation — a significant undocumented gap.

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 names the specific object ("performance et risque d'une action"), the time scope ("sur une période") and enumerates exactly which metrics are computed (rendement, volatilité, Sharpe, Sortino, VaR/CVaR 95% 1-day, perte maximale, bêta, liquidité). That enumeration clearly separates it from siblings such as cours, fondamentaux or indice without needing to name them.

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?

Usage is only implied: the metric list tells an agent this is the tool for risk/return analysis of a single stock. There is no explicit statement of when to prefer it over a sibling (e.g. comparer or correlations) and no prerequisites or exclusions given. Only the default window ("Sans `debut`, les 3 dernières années") is clarified.

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