Skip to main content
Glama

simulate_trade_impact

Simulate a hypothetical trade to estimate its effect on portfolio risk metrics such as margin, Greeks, and VaR before execution.

Instructions

Simulate the impact of a hypothetical trade on portfolio risk metrics (margin, Greeks, VaR).

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": {
      "conId": "<conId>",
      "side": "<side>",
      "quantity": "<quantity>"
    },
    "name": "simulate_trade_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes
conIdYesContract ID for hypothetical trade
symbolNo
accountNoAccount ID
secTypeNo
currencyNo
exchangeNo
quantityYes
limitPriceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does convey the key trait that this is a simulation with no real order submitted, but it says nothing about whether live market data is used, permission or account requirements, latency, or rate limits.

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?

A single tight sentence with the resource and the metric categories front-loaded, and no filler. It is arguably too terse for a 9-parameter tool, but nothing in the text is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with no annotations, no output schema, and sparse schema documentation, this description is under-specified. An agent cannot tell which return metrics to expect beyond three named categories, nor how the optional contract-identity fields interact.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 9 parameters and only 22% schema description coverage, the description is expected to compensate, and it adds no parameter meaning at all. It does not explain how symbol/secType/currency/exchange relate to conId, what 'account' scopes, or how limitPrice affects the simulation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Simulate'), a specific input class ('hypothetical trade'), and a specific output class ('portfolio risk metrics (margin, Greeks, VaR)'). That is enough to distinguish it from execution tools like bracket_order and from point calculations like greeks_calculate, though no sibling is named explicitly.

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 word 'hypothetical' implies pre-trade what-if analysis rather than order placement, which is useful implied context. However, there is no explicit statement of when to prefer this over greeks_calculate or buying_power, and no exclusions or prerequisites are given.

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

Deploy Server

Other Tools