Skip to main content
Glama

Options profit calculator

profit_calculator
Read-onlyIdempotent

Price any options trade with up to eight legs: maximum profit and loss, breakevens, net credit or debit, the model's chance of profit at expiration and the expected move. Pass a strategy name (for example iron_condor or bull_put_spread) to build standard legs from the stock price, or pass the legs yourself with strikes and prices. Ask it for the max loss on a spread, the breakeven on a straddle, or the chance a condor finishes profitable. Returns a link that opens the same trade in the Optionscanner calculator.

Input Schema

NameRequiredDescriptionDefault
daysYesDays to expiration.
legsNoThe legs of the trade, up to eight. Each has a side (buy or sell), a type (call, put or stock), a strike for options, a quantity, and optionally the price per share paid or received; a missing price is estimated from the implied volatility.
spotYesStock price in dollars.
iv_pctYesImplied volatility, percent per year (30 means 30 percent).
rate_pctNoInterest rate the model uses, percent per year. Default 4.
strategyNoA standard structure built from the stock price: long_call, long_put, covered_call, cash_secured_put, bull_call_spread, bear_put_spread, bull_put_spread, bear_call_spread, iron_condor, long_straddle, long_strangle. Omit when passing legs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description adds genuine value by disclosing exactly what is computed — max profit/loss, breakevens, net credit/debit, chance of profit, expected move — and that the return is a link into the Optionscanner calculator.

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?

Front-loaded with the core capability and output list, then input modes, then example queries, then the return artifact. Three dense sentences with no filler, though the output enumeration and example list make it longer than strictly minimal.

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 carries the return-value burden and does so by listing computed metrics and the resulting link. Inputs and outputs are both covered; only explicit sibling routing and the up-to-eight-leg edge behavior remain unaddressed.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description goes beyond the schema by clarifying the strategy-vs-legs mechanism: a strategy name builds standard legs from the stock price, whereas legs are passed manually with strikes and prices, reinforcing their mutual exclusivity.

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 and resource ('Price any options trade with up to eight legs') and enumerates the computed outputs. The 'any ... up to eight legs' framing implicitly distinguishes it as the general-purpose pricer versus the single-strategy siblings, but no sibling is named, so differentiation stays inferential.

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?

Offers concrete usage examples ('max loss on a spread', 'breakeven on a straddle') and two input modes (strategy name vs explicit legs). However, it never says when to prefer this over siblings like credit_spread, debit_spread, probability_of_profit or expected_move, leaving the routing decision to inference.

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