Skip to main content
Glama
iuk-ink

Binance MCP Server

by iuk-ink

risk_var

Calculate Value at Risk (VaR) and Conditional VaR (CVaR) for cryptocurrency portfolios using historical simulation, accounting for fat-tailed return distributions. Specify confidence level to assess tail risk.

Instructions

VaR(风险价值)+ CVaR(条件风险价值):历史模拟法,非参数分布,适合加密货币的肥尾特征。VaR(95%) = 只有 5% 概率的日亏损超过此值;CVaR = 最差 5% 情况的平均亏损

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
returnsYes收益率序列(日收益率)/ Daily return series
confidenceNo置信水平(0.5-0.999,默认 0.95)
Behavior3/5

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

With no annotations, the description carries full burden. It explains VaR and CVaR meaning but does not specify return format (e.g., object with two fields) or edge cases like insufficient data. The description provides adequate but incomplete behavioral context.

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 a single, front-loaded sentence that efficiently conveys key information. It could be slightly more concise by removing the parenthetical translations, but overall it is well-structured.

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 complex statistical tool, the description covers method and interpretation but lacks output schema and does not specify return structure (e.g., whether both VaR and CVaR are returned). This gap reduces completeness.

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 coverage is 100% with descriptions. The description adds value by explaining the concept behind the confidence parameter (e.g., VaR(95%)) and the non-parametric method applied to returns, going beyond 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 tool computes VaR and CVaR using historical simulation, a non-parametric method suitable for fat-tailed crypto returns. It distinguishes itself from sibling risk tools like risk_drawdown and risk_sharpe by specifying the methodology and interpretation.

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?

The description implies usage for crypto due to fat-tail suitability but lacks explicit guidance on when to use this tool over alternatives like risk_drawdown or risk_sharpe. It does not provide criteria for appropriate use cases or exclusions.

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/iuk-ink/binance-mcp-server'

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