Skip to main content
Glama

Crypto, web, finance and app data tools

Option Pricer & Greeks

option_price

Black-Scholes price and greeks (delta, gamma, vega, theta, rho) of a European call or put, probability in the money and breakeven; or the implied volatility from a market price. For stocks, FX or crypto.

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": {
      "spot": "<spot>",
      "strike": "<strike>",
      "days": "<days>"
    },
    "name": "option_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYes
kindNocall
spotYes
strikeYes
rate_pctNo
market_priceNo
volatility_pctNo
dividend_yield_pctNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

No annotations exist, so the description carries full burden, and it omits critical behavior: which inputs trigger pricing vs IV inversion, what happens if both or neither of market_price/volatility_pct are supplied, and the model's assumptions (European exercise, continuous constant vol/dividend). It only discloses the pricing model name and option style.

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?

One dense sentence with no filler, front-loading the primary output (price and greeks) before the alternate mode. It is slightly run-on but every clause conveys substantive scope.

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

Completeness3/5

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

An output schema exists so return values need not be explained, and the model/asset scope is clear. However, for an 8-parameter computation with zero schema documentation and no annotations, the mode-selection logic and parameter units are left for the agent to guess.

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 0% across 8 parameters whose schema entries are bare titles ('spot', 'rate_pct', 'days'). The description adds only that market_price relates to IV, leaving units (days vs years, percentage inputs), the 'kind' enum values, and the role of dividend_yield_pct unaddressed.

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 the exact computation (Black-Scholes price plus delta/gamma/vega/theta/rho, probability ITM, breakeven) and the second mode (implied volatility from a market price), plus the covered asset classes. An agent can tell this apart from sibling market-listing tools like crypto_options without inspecting the schema.

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 'or the implied volatility from a market price' clause implies two usage modes but never says which input selects which mode (market_price vs volatility_pct). No exclusions or comparison to alternatives are given, though the asset-class scope (stocks, FX, crypto) is stated.

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