Skip to main content
Glama

Syntrix Labs Beam Analysis

Options Pricing and Greeks

options_pricing_analysis
Read-onlyIdempotent

Price a European option with Black-Scholes-Merton and an American option with the Bjerksund-Stensland approximation from caller-supplied inputs; no live market data is used. Inputs: S underlying price and K strike in USD per share, T years to expiry (above 0, at most 10), r risk-free rate and q continuous dividend yield as decimals (0.05 means 5%), sigma annual volatility as a decimal (0.0001 to 5), type call or put. Give premium and terminal together for the long position's payoff at that expiration price, its breakeven and its maximum loss. Returns both prices, the early-exercise premium, European Greeks (theta per calendar day; vega and rho per percentage point) and the inputs used. For live quotes use options_market_data; to grade a trade use options_trade_score. Unknown fields are rejected. Educational analysis, not investment advice or an executable quote.

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": {
      "S": "<S>",
      "K": "<K>",
      "T": "<T>",
      "r": "<r>",
      "sigma": "<sigma>",
      "type": "<type>",
      "q": "<q>"
    },
    "name": "options_pricing_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
KYesStrike USD/share
SYesUnderlying USD/share
TYesYears to expiry
qYesContinuous dividend yield decimal
rYesAnnual risk-free rate decimal
typeYes
sigmaYesAnnual volatility decimal
premiumNoPaid premium USD/share; required for payoff and breakeven
terminalNoHypothetical expiration price USD/share; required with premium

Output Schema

NameRequiredDescriptionDefault
unitsYesUnits of the results.
inputsYesThe inputs used.
sourceYesAlways Strikewise.
disclaimerYesEducational use statement.
data_sourceYescaller_supplied: no live market data is used.
european_greeksYesEuropean Greeks: theta per calendar day; vega and rho per percentage point.
pricing_source_blobYesGit blob of the Strikewise pricing source the results come from.
long_max_loss_usd_per_shareNoLong position maximum loss, the premium, USD per share (premium and terminal given).
european_price_usd_per_shareYesBlack-Scholes-Merton European price, USD per share.
long_breakeven_usd_per_shareNoLong position breakeven at expiration, USD per share (premium and terminal given).
american_approximation_usd_per_shareYesBjerksund-Stensland American approximation, USD per share.
early_exercise_premium_usd_per_shareYesAmerican minus European price, never below 0, USD per share.
long_expiration_payoff_usd_per_shareNoLong position payoff at the hypothetical terminal price, USD per share (premium and terminal given).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "american_approximation_usd_per_share": {
      +      "description": "Bjerksund-Stensland American approximation, USD per share.",
      +      "type": "number"
      +    },
      +    "data_source": {
      +      "description": "caller_supplied: no live market data is used.",
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "description": "Educational use statement.",
      +      "type": "string"
      +    },
      +    "early_exercise_premium_usd_per_share": {
      +      "description": "American minus European price, never below 0, USD per share.",
      +      "type": "number"
      +    },
      +    "european_greeks": {
      +      "description": "European Greeks: theta per calendar day; vega and rho per percentage point.",
      +      "properties": {
      +        "delta": {
      +          "description": "Delta.",
      +          "type": "number"
      +        },
      +        "gamma": {
      +          "description": "Gamma.",
      +          "type": "number"
      +        },
      +        "rho": {
      +          "description": "Rho per percentage point.",
      +          "type": "number"
      +        },
      +        "theta": {
      +          "description": "Theta per calendar day.",
      +          "type": "number"
      +        },
      +        "vega": {
      +          "description": "Vega per percentage point.",
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "delta",
      +        "gamma",
      +        "theta",
      +        "vega",
      +        "rho"
      +      ],
      +      "type": "object"
      +    },
      +    "european_price_usd_per_share": {
      +      "description": "Black-Scholes-Merton European price, USD per share.",
      +      "type": "number"
      +    },
      +    "inputs": {
      +      "description": "The inputs used.",
      +      "type": "object"
      +    },
      +    "long_breakeven_usd_per_share": {
      +      "description": "Long position breakeven at expiration, USD per share (premium and terminal given).",
      +      "type": "number"
      +    },
      +    "long_expiration_payoff_usd_per_share": {
      +      "description": "Long position payoff at the hypothetical terminal price, USD per share (premium and terminal given).",
      +      "type": "number"
      +    },
      +    "long_max_loss_usd_per_share": {
      +      "description": "Long position maximum loss, the premium, USD per share (premium and terminal given).",
      +      "type": "number"
      +    },
      +    "pricing_source_blob": {
      +      "description": "Git blob of the Strikewise pricing source the results come from.",
      +      "type": "string"
      +    },
      +    "source": {
      +      "description": "Always Strikewise.",
      +      "type": "string"
      +    },
      +    "units": {
      +      "description": "Units of the results.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "source",
      +    "pricing_source_blob",
      +    "data_source",
      +    "european_price_usd_per_share",
      +    "american_approximation_usd_per_share",
      +    "european_greeks",
      +    "early_exercise_premium_usd_per_share",
      +    "disclaimer",
      +    "units",
      +    "inputs"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds substantial context on top: the models used, that no live data is fetched, unit conventions (theta per calendar day, vega and rho per percentage point), and that unknown fields are rejected. It also discloses the return composition (both prices, early-exercise premium, Greeks, inputs echoed).

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 action and model choice, then input conventions, then outputs, then sibling routing — a sound ordering with no filler sentences. It is dense to the point of being slightly run-on, particularly the payoff/breakeven/max-loss sentence, which costs a point.

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

Completeness5/5

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

For a nine-parameter quantitative tool with seven required inputs, the description covers model choice, units, bounds, optional-parameter coupling, return contents, and tool alternatives. An output schema exists, so the brief return summary is sufficient rather than redundant.

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

Parameters5/5

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

Goes beyond the 89%-covered schema by fixing conventions the schema leaves ambiguous: '0.05 means 5%' for r and q, USD per share for S and K, and the conditional coupling of premium and terminal ('give premium and terminal together' for payoff, breakeven, max loss). It also restates the T>0 and ≤10 and sigma 0.0001–5 bounds, reinforcing schema limits.

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?

States a specific verb+resource pair: prices a European option via Black-Scholes-Merton and an American option via the Bjerksund-Stensland approximation, from caller-supplied inputs only. This is immediately distinguishable from the sibling pricing-adjacent tools and leaves no ambiguity about what is computed.

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

Usage Guidelines5/5

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

Explicitly routes the agent away: 'For live quotes use options_market_data; to grade a trade use options_trade_score,' and declares the scope limit 'no live market data is used.' It also flags the output as educational analysis rather than an executable quote, which is a real usage constraint.

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