Skip to main content
Glama

Options Profit Calculator

Probability of profit

probability_of_profit
Read-only

Probability of profit, breakevens, max profit and max loss for an options position, calculated by optionsprofitcalculator.com (any mix of up to 8 call/put legs and 1 stock leg). This tool has no market data: give the current stock price and the price of every option leg (from the user or another source). Implied volatility is worked out from each price. Probability is at the earliest expiry, from a lognormal model using 30-day implied volatility. calculatorUrl opens the position in the calculator on optionsprofitcalculator.com.

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": {
      "underlyingPrice": "<underlyingPrice>",
      "legs": "<legs>"
    },
    "name": "probability_of_profit"
  }
}

Input Schema

NameRequiredDescriptionDefault
iv30No30-day implied volatility, whole percent, used for the probability. Omit to use the average implied volatility of the option legs.
legsYes
symbolNoTicker symbol, e.g. AAPL
underlyingPriceYesCurrent stock price

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / iv30 / description
      Previous value: -"30-day implied volatility, whole percent. Omit to use the latest."New value: +"30-day implied volatility, whole percent, used for the probability. Omit to use the average implied volatility of the option legs."
    • changedInput schema / properties / legs / items / properties / price / description
      Previous value: -"Price per share paid or received. Omit to use the current mid price."New value: +"Price per share paid or received. Required for call and put legs. For a stock leg, omit to use underlyingPrice."
    • changedInput schema / properties / underlyingPrice / description
      Previous value: -"Current stock price. Omit to use the latest quote."New value: +"Current stock price"
    • changedInput schema / required
      Previous value: -[
      -  "legs"
      -]New value: +[
      +  "underlyingPrice",
      +  "legs"
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, it discloses real behavioral traits: no live market data, IV derived from supplied prices, probability computed at the earliest expiry using a lognormal model with 30-day IV, and a calculatorUrl in the result. The model and the earliest-expiry limitation are exactly the caveats an agent needs. It stops short of noting failure modes (e.g., missing price for a call/put leg) or whether the IV approximation degrades for long-dated positions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with what gets returned, then the data prerequisite, then the model caveat, then the URL. No filler and nothing repeated from structured fields without added meaning.

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

Completeness4/5

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

With no output schema, the description usefully enumerates the return fields (probability, breakevens, max profit/loss, calculatorUrl) and the modeling assumptions. What is missing is handling of edge cases and a pointer to a sibling when the user lacks prices, which matters for an open-world calculation tool.

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

Parameters3/5

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

The schema already documents underlyingPrice, symbol, iv30 defaulting to average leg IV, and per-leg price/strike/expiry/quantity. The description adds only the leg-count ceiling (8 option + 1 stock, matching maxItems 9) and reinforces that prices must be supplied rather than fetched. With 75% schema coverage, the description compensates only marginally.

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

Purpose5/5

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

The description names the computed outputs (probability of profit, breakevens, max profit and max loss) for a specific resource (an options position) and states the computation source and size limit (up to 8 option legs plus 1 stock leg). An agent can tell this is a valuation/analytics tool rather than a lookup or listing tool.

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

Usage Guidelines4/5

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

It gives the key precondition explicitly: "This tool has no market data: give the current stock price and the price of every option leg (from the user or another source)." That tells the agent when and how the tool is usable, but it does not contrast with siblings such as calculate_position or state when this tool is the wrong choice.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources