Skip to main content
Glama

Greek ladder

option_greeks_ladder

Compute a first-to-third order Greek ladder from an options chain snapshot using each contract's implied volatility, skipping and counting contracts without usable volatility.

Instructions

Compute the full first to third order Greek ladder (delta, gamma, vega, theta, rho, lambda, vanna, vomma, charm, veta, speed, zomma, color, ultima, dual delta, dual gamma) from a chain snapshot, using each contract's own implied volatility. Contracts without a usable volatility are skipped and counted, never defaulted. Requires the analytics engine. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "option_greeks_ladder"
  }
}

Input Schema

NameRequiredDescriptionDefault
bandNoKeep strikes within this fraction of spot. 0 keeps all
typeNo
snapshotNoSnapshot path. Omit for the most recent one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Adds behavior well beyond the annotations: contracts lacking usable volatility are skipped and counted, never defaulted, and results may carry a degraded flag plus an artifact path. That is meaningful disclosure about edge-case handling and partial results for a tool whose annotations only cover safety hints. It does not explain computational cost or failure modes when the engine is unavailable.

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 action and the Greek list, followed by behavioral caveats and the reporting directive; every sentence carries content. The long parenthetical Greek enumeration is justified since it is the tool's contract, though it is dense.

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 no output schema, the description usefully discloses skip/count behavior, the degraded flag, and an artifact path, which an agent needs to report results correctly. It stops short of describing result shape or how many contracts the ladder covers, but covers the essentials for a three-optional-parameter computation tool.

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 67%, and the schema already documents band and snapshot semantics. The description restates the snapshot concept ('from a chain snapshot') and implied-volatility sourcing but adds no new per-parameter detail such as how band interacts with skipping or what 'type' filters.

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?

States a specific verb and resource — computing a first-to-third-order Greek ladder — and enumerates every Greek returned, so the agent knows this is a full-analytics computation rather than a single-price query like the option_price sibling. Scope ('from a chain snapshot', 'using each contract's own implied volatility') further pins down what it does.

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 clear preconditions ('Requires the analytics engine') and a reporting rule (state the degraded flag and reason, cite the artifact path). It does not explicitly say when to prefer this over siblings such as option_lean or option_price, but the enumerated Greek set makes the comparative purpose inferable.

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