Skip to main content
Glama

QuantGeeks GEX

Expiration map

quantgeeks_get_expiration_map
Read-onlyIdempotent

Requires a QuantGeeks plan; not available without signing in (the call asks the user to sign in) or with a free account (the call says it needs a plan). Forward expirations side by side for swing setups: the next few listed expirations, each with its primary and two major nodes, its total size in the strike window, and how its primary moved since the prior close, plus the summed book for everything within 35 days. The horizon is 35 calendar days. expirations is a count (default 5, at most 8) or a list of dates; center, or from_strike and to_strike, set the strike window (default 15 strikes each side of spot, at most 40); date reads a past session's close. size is QuantGeeks GEX (flow-based) by default; measure 'vex' returns VEX (vanna exposure) instead; size_oi is open-interest-based GEX, for comparison (GEX only). Sizes compare within one expiration. For one expiration's full ladder use quantgeeks_get_gex_ladder; for the same-day nodes over time, quantgeeks_get_node_history.

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": "quantgeeks_get_expiration_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSession date, YYYY-MM-DD (US Eastern): that session's close. Default: the latest session.
centerNoStrike the window is centered on (default: spot).
symbolYesTicker, e.g. SPX (maps to its 0DTE option root SPXW), SPY, QQQ, VIX.
measureNo'gex' (default): QuantGeeks GEX (gamma exposure); 'vex': VEX (vanna exposure). Every number and node in the answer is in the measure it says.
strikesNoStrikes on each side of the center (default 15, at most 40).
to_strikeNoHighest strike of the window.
expirationsNoA count of the next listed expirations (default 5, at most 8) or a list of YYYY-MM-DD dates within 35 days.
from_strikeNoLowest strike of the window.

Output Schema

NameRequiredDescriptionDefault
dateYes
spotNo
as_ofYes
notesNo
staleNo
accessYes
noticeYes
sourceYes
symbolYes
accountNo
horizonNo
measureNo
messageNo
previewYes
pro_planNo
aggregateNo
truncatedNo
expirationsNo
stale_age_sNo
measure_noteNo
oi_layer_noteNo
truncated_moreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / stale
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / stale_age_s
      Added value: +{
      +  "type": "number"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, so the description is free to add the context that actually matters here: subscription gating, the 35-day horizon cutoff, default window sizing, and the constraint that sizes only compare within a single expiration. That last point is a non-obvious analytical caveat the agent could not infer from the 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?

Dense but front-loaded: the eligibility gate comes first, then the payload shape, then the parameter notes, then the sibling routing. Some sentences restate schema defaults verbatim (expirations count, strikes per side), which is the only real waste.

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?

An output schema exists, so return formatting need not be explained, and the description still covers auth, horizon, units and sibling alternatives adequately for an 8-parameter read tool. The stale `size`/`size_oi` mentions keep it from being fully coherent with the schema it ships with.

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%, so defaults and bounds are already documented and the description's repetition of them adds little. More importantly, it references `size` and `size_oi` parameters that do not exist in the input schema, which could send the agent looking for arguments that are not accepted; only `measure` exists.

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 resource and shape: 'Forward expirations side by side for swing setups' with nodes, size, delta-since-prior-close and a summed 35-day book. It also names the scope limit (35 calendar days) and explicitly contrasts with the two sibling tools for adjacent jobs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use quantgeeks_get_gex_ladder for one expiration's full ladder and quantgeeks_get_node_history for same-day nodes over time. It also front-loads a hard eligibility condition (QuantGeeks plan, sign-in required) so the call is not attempted under the wrong account state.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources