Skip to main content
Glama
drmartell

thetadata-mcp

by drmartell

option_history_trade_greeks_second_order

Fetches second-order Greeks for historical option trades, requiring an expiration and limited to one month of data.

Instructions

[PROFESSIONAL] Second-order greeks at each trade. Max 1 month, requires expiration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoThe date to fetch data for. If present, this overrides start_date and end_date.
rightNoThe right (call or put) of the contract.both
strikeNoThe strike price of the contract in dollars (ie `100.00` for `$100.00`), or `*` for all strikes.*
symbolYesThe stock or index symbol, or underlying symbol for options.
max_dteNoIf specified, only contracts with a full calendar day 'Days to Expiration' (DTE) less than or equal to this number will be returned.
versionNoUsed to adjust Greeks calculation methodology. "1" uses a fixed .15 DTE for 0DTE; "latest" uses real TTE (down to a minimum of 1 hour)latest
end_dateNoThe end date (inclusive).
end_timeNoThe end time (inclusive) in the specified day.16:00:00
rate_typeNoThe interest rate type to be used in a Greeks calculation.sofr
expirationYesThe expiration of the contract in `YYYY-MM-DD` or `YYYYMMDD` format, or `*` for all expirations.
rate_valueNoThe interest rate, as a percent, to be used in a Greeks calculation.
start_dateNoThe start date (inclusive).
start_timeNoThe start time (inclusive) in the specified day.09:30:00
strike_rangeNoUsed to specify a filter to limit the number of contracts returned relative to the underlying's spot price. Will return the specified number of strikes above and below the spot price, as well as the at-the-money strike.
annual_dividendNoThe annualized expected dividend amount to be used in Greeks calculations.
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only adds the 'Max 1 month' constraint. It does not disclose return format, pagination behavior, calculation methodology nuances, or how 'second-order greeks' are computed. This is a significant transparency gap for a data-returning tool with no output schema.

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 description is extremely concise, with two short phrases that convey the core purpose and key constraints. It is front-loaded and wastes no words, though it is arguably too sparse given the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool with 15 parameters, no output schema, and many sibling variants. The description only mentions a date-range limit and required expiration, leaving unclear the exact nature of second-order greeks, how results are structured, and how this tool compares to first/third-order variants. It is incomplete for the tool's complexity.

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 description coverage is 100%, so the baseline is 3. The description adds a 'Max 1 month' constraint that applies to date parameters, which is useful context beyond the schema. However, it does not explain any parameter semantics beyond that, relying on the schema's own descriptions.

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 description clearly states the tool provides 'Second-order greeks at each trade', identifying the specific resource (trade-level second-order greeks) and operation. However, it does not explicitly differentiate from closely named siblings like option_history_greeks_second_order or option_history_trade_greeks_first_order/third_order, so it lacks strong sibling differentiation.

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 gives practical constraints: 'Max 1 month, requires expiration.' This implies when the tool is usable and what inputs are needed. However, it does not explicitly state when to prefer this over alternative greeks-history tools, nor does it provide exclusions or comparison guidance.

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/drmartell/thetadata-mcp'

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