Skip to main content
Glama
xerktech

mcp-financex

by xerktech

analyze_options_strategy

Calculate max profit, loss, break-even, and Greeks for multi-leg options strategies like spreads and straddles, and visualize risk/reward with a profit/loss chart.

Instructions

Analyze an options strategy to calculate max profit, max loss, break-even points, Greeks, and generate a profit/loss chart. Supports complex multi-leg strategies like spreads, straddles, iron condors, and butterflies. Helps visualize risk/reward before entering a trade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
legsYesStrategy legs (options positions)
symbolYesStock ticker symbol
strategyYesStrategy type
expirationDateYesExpiration date in YYYY-MM-DD format
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states outputs (max profit, loss, break-even, Greeks, chart) but does not disclose data source (live vs. cached), freshness, or any side effects. It implies calculation and visualization but lacks detail on behavior like whether it uses market data or limitations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three clear sentences: first defines function and outputs, second lists supported strategy complexity, third states use case. No extraneous words, efficient and well-structured.

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?

For an options analysis tool with 100% schema coverage and no output schema, the description adequately covers purpose, outputs, and supported strategies. Lacks mention of chart format or data source, but overall sufficient for an agent to understand when to use it.

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

Parameters3/5

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

Schema coverage is 100% with parameter descriptions. The tool description adds context about supporting multi-leg strategies and that premium can be optional (already in schema). The description provides marginal additional clarity but does not significantly extend beyond schema definitions.

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?

The description clearly states the tool analyzes options strategies to calculate specific metrics (max profit, loss, break-even, Greeks) and generate a chart. It lists supported multi-leg strategies (spreads, straddles, iron condors, butterflies), distinguishing it from siblings like 'calculate_greeks' (only Greeks) or 'get_options_chain' (raw data).

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 mentions it helps visualize risk/reward before entering a trade, which implies appropriate usage context. However, it does not explicitly state when not to use it or reference alternative tools (e.g., calculate_greeks for just Greeks, get_options_chain for raw data). No exclusions or prerequisites are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xerktech/mcp-financex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server