Skip to main content
Glama

implied_volatility_calculate

Calculate implied volatility from an option's current price and underlying price via the IB API, helping traders assess option pricing and volatility expectations.

Instructions

Calculate implied volatility from option price using IB API.

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>",
      "optionPrice": "<optionPrice>",
      "underPrice": "<underPrice>"
    },
    "name": "implied_volatility_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
conIdYesOption contract ID
symbolNo
secTypeNo
currencyNo
exchangeNo
underPriceYesUnderlying price
optionPriceYesCurrent option price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not reveal which pricing model is used, whether live market data permissions are required, what happens when inputs are inconsistent (e.g., stale underPrice), or what the response looks like. Only the fact that it delegates to the IB API is disclosed.

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 front-loaded sentence with no filler, but it is arguably too terse for the tool's complexity, so the brevity cuts both ways.

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 7-parameter computational tool with no annotations, no output schema, and low schema coverage, one sentence is insufficient. Missing are required fields beyond the three marked required, the pricing model, and how results are returned.

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?

Schema description coverage is only 43% with 7 parameters. The description adds no parameter meaning at all, leaving symbol, secType, currency, and exchange undocumented in both schema and description. Only implicit mention of option price and underlying price is conveyed by the phrase 'from option price.'

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?

The description names a specific verb and resource: calculate implied volatility from an option price. 'Using IB API' adds little, but the core operation and its inverse relationship to option_price_calculate are inferable. It does not explicitly name the sibling it complements, so 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, prerequisites, or alternatives are given. The agent must guess that this is the reverse of option_price_calculate and that market data subscriptions may be needed.

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