Skip to main content
Glama

GammaRips Options Intelligence

Contract Liquidity

get_liquidity
Read-onlyIdempotent
FRESH (entry-day) liquidity — the read the pool's session-frozen
`recommended_oi`/`recommended_volume` cannot give you (the overnight sweep
only becomes OI the next morning). Two modes, chosen by whether you pass a
single `contract`:

  * `contract` given — ONE contract's snapshot: open interest, session
    volume, last trade, day range, underlying price, greeks. Cache-first
    (the engine re-reads the pool every ~10 min in market hours); pass
    live=true to force a fresh upstream fetch or read a contract NOT in
    today's pool.
  * `contract` omitted — the WHOLE current pool (or your `contracts`
    shortlist, max 60) in ONE call — the batch companion for the ~10:00 ET
    decision window. Most-recent read per contract with explicit `as_of`.

Deliberately serves NO bid/ask/mid/spread (not available on the current
data plan — absent, not NULL). Judge fill risk from open_interest (updates
once each morning), day_volume (live session), last_trade recency, and the
day range.

Args:
    contract: OCC ticker for the single-contract mode (verbatim from the
        pool's `recommended_contract`). Omit for the whole-pool batch.
    scan_date: pool date YYYY-MM-DD (batch mode; default: latest pool).
    contracts: optional shortlist filter for the batch mode (max 60).
    live: single-contract mode — force a fresh upstream fetch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
liveNo
contractNo
contractsNo
scan_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: it discloses cache-first semantics with a ~10 minute re-read cadence, the live=true escape hatch, the max-60 contract cap, and — critically — that bid/ask/mid/spread are deliberately absent (not NULL) due to the data plan. It also tells the agent which fields to use as fill-risk proxies.

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 core differentiator and organized into scannable mode bullets, with every clause carrying information. It is slightly verbose in its framing (e.g. the parenthetical about the overnight sweep) but nothing is padding.

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

Completeness5/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-value explanation is not needed, and the description still supplies the missing field-level interpretation (what open_interest/day_volume/last_trade mean for fill risk) plus the data-availability caveat. Complete for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: `contract` is an OCC ticker taken verbatim from the pool's recommended_contract, `scan_date` is a YYYY-MM-DD pool date defaulting to latest, `contracts` is an optional batch shortlist capped at 60, and `live` only applies in single-contract mode.

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+resource (fresh entry-day liquidity read) and immediately distinguishes it from the pool's session-frozen recommended_oi/recommended_volume, which is the sibling data source an agent would otherwise reach for. The two operating modes are named explicitly, so the tool's scope is unambiguous.

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 says when to use each mode: pass `contract` for a single snapshot, omit it for the whole-pool batch, and use `live=true` to force an upstream fetch or to read a contract not in today's pool. It also names the intended decision window (~10:00 ET), giving the agent a concrete trigger.

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.