calculate_xva

XVA / CVA Calculator — OpenChainGraph compute node (risk_parameter). Runs deterministically in-browser; zero PII, zero egress. Exports an AP2 artifact with execution_hash for chain provenance. Consumes upstream artifacts from: qfa-01-options-greeks. Output feeds: ptg-01-ap2-prompt-template-genera...

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

What calculate_xva does on Ainumbers Mcp Apps

AI agents call calculate_xva 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 calculate_xva needs a policy

The tool performs deterministic financial calculations (XVA/CVA) locally in-browser with no egress, no PII, and no side effects. It reads upstream artifacts and produces computed output artifacts but does not move money, execute trades, or modify external state. The 'Exports an AP2 artifact' is a local computation output, not a financial transaction.

From the tool's definition Runs deterministically in-browser; zero PII, zero egress. Read-only, no auth, zero PII.

Questions about calculate_xva

What does the calculate_xva tool do? +

XVA / CVA Calculator — OpenChainGraph compute node (risk_parameter). Runs deterministically in-browser; zero PII, zero egress. Exports an AP2 artifact with execution_hash for chain provenance. Consumes upstream artifacts from: qfa-01-options-greeks. Output feeds: ptg-01-ap2-prompt-template-generator. Open at: https://ainumbers.co/chaingraph/qfa-04-xva-cva-calculator.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 calculate_xva accept? +

calculate_xva 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 calculate_xva? +

Register the Ainumbers Mcp Apps MCP server in PolicyLayer and add a rule for calculate_xva: 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 calculate_xva? +

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

Can I rate-limit calculate_xva? +

Yes. Add a rate_limit block to the calculate_xva 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 calculate_xva completely? +

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

calculate_xva 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.