portfolio_risk_decompose
Decompose current-position tail risk and explicit portfolio stresses.
This record as markdown: /tools/emerzon-mt-data-mcp/portfolio-risk-decompose.md
What portfolio_risk_decompose does on MetaTrader5 MCP Server
AI agents call portfolio_risk_decompose to retrieve information from MetaTrader5 MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why portfolio_risk_decompose is rated Low
This tool analyzes and breaks down risk metrics for a portfolio—a purely analytical/read operation. It retrieves or computes descriptive statistics about existing positions (tail risk, stress scenarios) without creating trades, modifying positions, executing market orders, or deleting data.
From the tool's definition Tool performs decomposition and analysis of tail risk and portfolio stresses on current positions. The verbs 'decompose' and the focus on analysis/description indicate retrieval and analysis of existing portfolio data without modification, execution of…
Attacks that exploit this kind of access
The rule that runs portfolio_risk_decompose safely
PolicyLayer is an MCP gateway: it sits between your AI agents and MetaTrader5 MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For portfolio_risk_decompose, this is the rule to start with:
portfolio_risk_decompose is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect MetaTrader5 MCP Server, apply this rule, and every portfolio_risk_decompose call is checked against it from then on.
Questions about portfolio_risk_decompose
Decompose current-position tail risk and explicit portfolio stresses. It is categorised as a Read tool in the MetaTrader5 MCP Server MCP Server, which means it retrieves data without modifying state.
Register the MetaTrader5 MCP Server MCP server in PolicyLayer and add a rule for portfolio_risk_decompose: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MetaTrader5 MCP Server. Nothing to install.
portfolio_risk_decompose is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the portfolio_risk_decompose rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for portfolio_risk_decompose. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
portfolio_risk_decompose is provided by the MetaTrader5 MCP Server MCP server (emerzon/mt-data-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on MetaTrader5 MCP Server, and thousands of servers like it.
This server
Across the catalogue