compute_portfolio_var

Portfolio Covariance & VaR Engine — OpenChainGraph compute node (risk_control). Runs deterministically in-browser; zero PII, zero egress. Exports an AP2 artifact with execution_hash for chain provenance. Consumes upstream artifacts from: sim-03-basel-rwa-scenario-modeler. Output feeds: qfa-03-str...

Server Ainumbers Mcp Apps postoaklabs/ainumbers-mcp-apps
Category Read
Risk class Low
Parameters 40 required

What compute_portfolio_var does on Ainumbers Mcp Apps

AI agents call compute_portfolio_var to retrieve information from Ainumbers Mcp Apps without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
compute string Compute mode (v0.4 Compute Binding). "auto" (default) = server for gpu:false nodes with registered kernels; "server" = force server-side; "browser" = always ret
parent_hashes array execution_hash values from upstream ChainGraph AP2 artifacts to chain from (sets chain.parent_hashes in the export).
parent_tool_ids array tool_id values matching parent_hashes, in the same order.
policy_parameters object Input parameters for this tool's decision function. For gpu:false nodes with a registered kernel, these are computed server-side when compute is "auto" or "serv

Parameters from the server's own tool schema.

Why compute_portfolio_var needs a policy

The tool performs deterministic financial risk computation (portfolio covariance and Value-at-Risk calculation) locally in-browser with no external data egress. It produces an AP2 artifact/report but does not move money, execute trades, delete data, or trigger external side effects. The 'Read-only' server-level declaration and 'zero egress' language confirm this is a compute/read operation.

From the tool's definition 'Runs deterministically in-browser; zero PII, zero egress' and 'Read-only, no auth, zero PII' from server description; tool computes/calculates VaR and exports an artifact with execution_hash

Questions about compute_portfolio_var

What does the compute_portfolio_var tool do? +

Portfolio Covariance & VaR Engine — OpenChainGraph compute node (risk_control). Runs deterministically in-browser; zero PII, zero egress. Exports an AP2 artifact with execution_hash for chain provenance. Consumes upstream artifacts from: sim-03-basel-rwa-scenario-modeler. Output feeds: qfa-03-stress-test-engine, rca-01-frtb-ima-pre-validator, ptg-01-ap2-prompt-template-generator. Open at: https://ainumbers.co/chaingraph/qfa-02-portfolio-var-engine.html. It is categorised as a Read tool in the Ainumbers Mcp Apps MCP Server, which means it retrieves data without modifying state.

What parameters does compute_portfolio_var accept? +

compute_portfolio_var accepts 4 parameters: compute, parent_hashes, parent_tool_ids, policy_parameters. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on compute_portfolio_var? +

Register the Ainumbers Mcp Apps MCP server in PolicyLayer and add a rule for compute_portfolio_var: 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 Ainumbers Mcp Apps. Nothing to install.

What risk level is compute_portfolio_var? +

compute_portfolio_var is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit compute_portfolio_var? +

Yes. Add a rate_limit block to the compute_portfolio_var 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.

How do I block compute_portfolio_var completely? +

Set action: deny in the PolicyLayer policy for compute_portfolio_var. 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.

What MCP server provides compute_portfolio_var? +

compute_portfolio_var is provided by the Ainumbers Mcp Apps MCP server (postoaklabs/ainumbers-mcp-apps). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.