Skip to main content
Glama

finance options price

finance_options_price
Read-only

Option pricing and Greeks: Black-Scholes-Merton value of a European call or put from spot, strike, days to expiry, volatility, rate and dividend yield, with delta, gamma, vega, theta per day and rho, intrinsic and time value, breakeven and the probability of finishing in the money. Give a market price instead of a volatility and it solves the implied volatility. $0.002. Costs $0.002 USDC per call (x402).

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": "finance_options_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYesdays to expiry (or years=)
rateNorisk-free % per year
spotYes
typeNocall (default) or put
priceNomarket price, to solve implied volatility instead
strikeYes
volatilityNoannual %, e.g. 45
dividend_yieldNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real behavioral context beyond that: the pricing model used, the exact set of computed outputs, theta expressed per day, and the fact that each call costs $0.002 USDC via x402 — a material constraint for an agent deciding whether to invoke it.

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 computation and the outputs list, so the agent gets the essentials immediately. The only waste is the redundant cost statement — '$0.002' followed by 'Costs $0.002 USDC per call (x402)' — which restates the same fact twice.

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?

There is no output schema, so the description must describe return values, and it does so thoroughly: delta, gamma, vega, theta per day, rho, intrinsic and time value, breakeven, and probability of finishing in the money. Combined with the implied-volatility mode and the payment requirement, an agent has everything needed to call it correctly.

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 63%, and the description compensates by walking through the input set in plain terms: spot, strike, days to expiry, volatility, rate, dividend yield, call/put, and price-for-implied-vol. It also clarifies the mutually exclusive volatility-vs-price path, which the schema only weakly signals.

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?

Names a specific verb and resource: computes a Black-Scholes-Merton value for a European call or put, plus a named list of Greeks and derived quantities. That is clearly distinguishable from sibling finance tools like finance_amortization or finance_npv without opening any schema.

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?

Gives a clear conditional mode: supply a market price instead of a volatility and the tool solves implied volatility. That tells the agent which input path to take, though there is no explicit statement of when not to use it or which sibling to prefer for related finance tasks.

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