Skip to main content
Glama

finance_option_price

Read-only

Option price, greeks and implied volatility — Black-Scholes-Merton option pricer with dividend yield: call and put value, delta, gamma, vega, theta, rho, breakeven, intrinsic/time value, risk-neutral probability ITM, 1-sd expected move and put-call parity. Pass price= with type=call|put to solve implied volatility instead of vol=. style=american uses a 300-step binomial tree. Params: spot, strike, days (or expiry=YYYY-MM-DD), vol (annual %), optional rate (% default 4), div (%), type (call|put|both), price, style. Offline. Price: $0.003 USDC (Base, via 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>",
      "vol": "<vol>"
    },
    "name": "finance_option_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
volYes25
daysYes30
spotYes100
strikeYes105

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=true and destructiveHint=false; the description adds context annotations cannot carry: it runs offline, costs $0.003 USDC via x402 on Base, and uses a specific 300-step lattice for American style. Minor tension: the 'Offline' claim sits awkwardly against openWorldHint=true and a paid network call, but this is a disclosure nuance rather than a contradiction of the safety profile.

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-loads the capability and outputs, then the mode rules, then a compact parameter list, then environment/cost. Dense but every clause carries information; the trailing parameter enumeration partially repeats the opening but serves as a quick reference.

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?

With no output schema, the description lists the returned quantities, covers both pricing modes (vol given vs IV solving), the American pricing method, dividend handling, and the payment/offline context. That is enough for an agent to invoke correctly and interpret results without further documentation.

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 nominally 100% but the schema 'descriptions' are only placeholder values ('25', '30', '100', '105'), so the prose does the real semantic work: vol is annual %, rate is % with default 4, div is %, type is call|put|both, days can be replaced by expiry=YYYY-MM-DD. It also reveals parameters (rate, div, type, price, style, expiry) that are absent from the schema, which is useful but creates a schema/description mismatch an agent must reconcile.

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?

Opens with a specific verb+resource ('Black-Scholes-Merton option pricer with dividend yield') and enumerates the concrete outputs (call/put value, delta, gamma, vega, theta, rho, breakeven, ITM probability, put-call parity). An agent can immediately distinguish this from generic pricing tools like finance_break_even or finance_dcf without inspecting 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 an explicit mode-switch rule: pass price= with type=call|put to solve implied volatility instead of vol=, and style=american switches to a 300-step binomial tree. It does not name a sibling or state when-not-to-use, so it stops short of full alternative routing, but the internal branch conditions are unambiguous.

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