Skip to main content
Glama
longbridge

longbridge

Official

Option Quote

option_quote
Read-onlyIdempotent

Retrieve quotes and Greeks for up to 500 option contracts, using valid option symbols from option_chain_info_by_date, each quote includes price, volume, open interest, and risk metrics.

Instructions

Get option quotes (max 500 symbols). Symbols must be option contract symbols (e.g. "AAPL230317P160000.US"), NOT plain stock symbols — obtain valid ones from the symbol field of each option_chain_info_by_date contract. Returns last_done, prev_close, open, high, low, volume, turnover, implied_volatility, delta, gamma, theta, vega, rho, open_interest per symbol. Greeks are normalized: theta is the per-day value (one day's time decay), vega is the price change per 1% change in implied volatility, and rho is the price change per 1% change in the risk-free interest rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_jqNoOptional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response.
symbolsYesOption contract symbols, e.g. ["AAPL230317P160000.US"]. These are NOT plain stock symbols — get valid ones from the `symbol` field of each `option_chain_info_by_date` contract (after listing expiry dates with `option_chain_expiry_date_list`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.12.0
    • addedInput schema / properties / _jq / description
      Added value: +"Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response."
    • changedInput schema / properties / symbols / description
      Previous value: -"Option contract symbols, e.g. [\"AAPL230317P160000.US\"]. These are NOT\nplain stock symbols — get valid ones from `option_chain_info_by_date`'s\nper-strike `call.symbol`/`put.symbol` fields (after listing expiry\ndates with `option_chain_expiry_date_list`)."New value: +"Option contract symbols, e.g. [\"AAPL230317P160000.US\"]. These are NOT\nplain stock symbols — get valid ones from the `symbol` field of each\n`option_chain_info_by_date` contract (after listing expiry dates with\n`option_chain_expiry_date_list`)."
  2. Changed2 schema fields changedv0.10.6
    • addedInput schema / properties / _jq
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / symbols / description
      Previous value: -"Security symbols, e.g. [\"700.HK\", \"AAPL.US\"]"New value: +"Option contract symbols, e.g. [\"AAPL230317P160000.US\"]. These are NOT\nplain stock symbols — get valid ones from `option_chain_info_by_date`'s\nper-strike `call.symbol`/`put.symbol` fields (after listing expiry\ndates with `option_chain_expiry_date_list`)."
  3. Changed1 schema field changedv0.7.1
    • removedInput schema / title
      Removed value: -"SymbolsParam"
  4. Addedv0.4.5
  5. Removedv0.4.0
  6. Addedv0.3.2
  7. Removedv0.3.1
  8. First observedv0.1.12

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, and destructiveHint=false, and the description contradicts none of them. Beyond the annotations, it discloses the 500-symbol cap and, importantly, the Greek normalization semantics: theta is per-day, vega is per 1% IV change, and rho is per 1% risk-free rate change. This prevents an agent from misinterpreting returned values.

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 a dense but well-ordered paragraph: purpose and cap first, then symbol sourcing, then output fields, then Greek normalization. Every sentence carries load-bearing information with no filler; the normalization detail is placed at the end where it complements the field list rather than obscuring the invocation guidance.

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 present, the description shoulders the return-value burden and discharges it by listing all 14 per-symbol fields plus Greek normalization semantics. It covers input sourcing, the symbol cap, and the contract-symbol distinction. Only the response container shape and error behavior are left unspecified, which is minor for a read-only quote tool.

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 description coverage is 100%, with the symbols parameter already documenting the contract-symbol constraint and the sourcing workflow from option_chain_info_by_date. The description adds value beyond the schema with the 500-symbol limit and a concrete contract format example ('AAPL230317P160000.US'). The _jq parameter is standard boilerplate needing no elaboration.

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 opens with a specific verb and resource ('Get option quotes') plus a concrete invocation boundary (max 500 symbols). It then enumerates the full set of returned fields (last_done, prev_close, Greeks, open_interest, etc.) and mandates option contract symbol format, distinguishing it from stock-quote siblings like quote and from option_volume/option_volume_daily.

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?

The description gives an explicit sourcing workflow: valid symbols come from the symbol field of option_chain_info_by_date contracts, and it warns against passing plain stock symbols — implicitly excluding the quote tool for equity lookups. It does not name sibling alternatives or state explicit when-not-to-use conditions, which keeps it at a 4 rather than a 5.

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

Deploy Server

Other Tools