Skip to main content
Glama

Option plots

option_plots

Generate PNG charts from an option chain to visualize open interest, volume, implied volatility, positioning, and Greeks directly in the conversation.

Instructions

Fetch or read an option chain and return opaque PNG charts as image content in this tool result. Use this when the user asks to see, show, draw, chart, or plot option data. It displays the images in the conversation; do not start the localhost dashboard instead. The market image includes positioning when the analytics engine is available, plus open interest, volume, and implied volatility. A second image shows delta, gamma, theta, and vega. Before quoting any number from this result, state the degraded flag and its reason when the result carries one, and cite the artifact path it names.

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": {
      "symbol": "<symbol>"
    },
    "name": "option_plots"
  }
}

Input Schema

NameRequiredDescriptionDefault
bandNoFraction around spot; 0 shows all
rateNo
expiryNoYYYY-MM-DD. Omit for nearest
symbolYesUnderlying ticker, e.g. SPY
snapshotNoExisting chain artifact path
data_sourceNo
source_dataNoInline JSON object or contract-row list
source_pathNoUploaded CSV or JSON chain
source_textNoInline CSV or JSON text
source_formatNo
dividend_yieldNo
rights_confirmedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, it discloses the content of both images, the conditional positioning layer ('when the analytics engine is available'), and the presence of a degraded flag plus a named artifact path. The implicit artifact writes align with readOnlyHint=false, so there is no contradiction, but persistence behavior and whether images are cached or regenerated on each call remain unstated.

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 structure is front-loaded correctly — purpose first, then trigger, then output contents, then citation protocol — and each sentence carries operational weight. It is dense but not padded; the tool-describing and instruction sentences could be split for readability but nothing is redundant.

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?

Output content is well described, which compensates for the absent output schema. However, for a 12-parameter tool with five data-source inputs (snapshot, source_path, source_data, source_text, source_format), the description never explains which source to supply or how band/rate/expiry affect the chart, leaving significant call-shaping decisions undocumented.

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?

The description adds nothing about any of the 12 inputs; every bit of parameter meaning comes from the schema. Coverage sits at 58%, so roughly a third of the parameters (rate, data_source, dividend_yield, rights_confirmed) are unexplained in either place, which is a real gap even though a baseline of 3 is defensible at this coverage level.

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 gives a specific verb and resource ('Fetch or read an option chain') plus the exact return medium ('opaque PNG charts as image content in this tool result'). That return-medium clause is what separates it from data-returning siblings such as option_chain_snapshot or option_greeks_ladder, so an agent can pick it without opening a 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?

It states the trigger explicitly with a list of user intents ('see, show, draw, chart, or plot option data') and an exclusion ('do not start the localhost dashboard instead'). What it lacks is routing against the actual sibling tools — nothing tells the agent when to prefer option_positioning or option_greeks_ladder over this charting call.

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