Skip to main content
Glama

pyeconomics

Black-Scholes-Merton options

derivatives_black_scholes_merton
Read-onlyIdempotent

Price, Greeks and implied volatility of European calls and puts on an asset with a continuous dividend yield. Runs Black-Scholes-Merton options (derivatives.black_scholes_merton, version 1) on the given inputs and returns its canonical result: the validated inputs, the outputs, the warnings and the manifest. The required calculation field selects one of: implied_volatility, price. Every number carries its unit in the input schema; rates are decimals.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

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 declare readOnly, idempotent, non-destructive, closed-world behavior, but the description adds that the response includes validated inputs, outputs, warnings and a manifest. That is real added context about result shape and validation behavior beyond the structured hints.

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?

The purpose is front-loaded in the first sentence and the unit note is a valuable closer. The middle sentence about running the model and returning its 'canonical result' is somewhat boilerplate-heavy but still carries information about the response envelope.

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 an output schema present and full schema descriptions, the description only needs to frame purpose, model selection and unit conventions, all of which it covers. The absence of a when-to-use-this-vs-binomial-tree statement is the remaining gap.

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 the baseline is 3; the description earns an extra point by stating the unit convention explicitly ('Every number carries its unit in the input schema; rates are decimals'), which prevents the common error of passing 5 instead of 0.05 for rates and yields.

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?

The first sentence names a specific verb set (price, Greeks, implied volatility) and a precise resource (European calls and puts with a continuous dividend yield), which is enough for an agent to identify the calculation. It does not explicitly contrast itself with the sibling derivatives_binomial_tree, so it stops short of a 5.

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 description states that the 'calculation' field selects between implied_volatility and price, which tells an agent how to route within the tool. It never states when to prefer this model over the binomial-tree sibling or what prerequisites apply, so external guidance is still needed.

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.