Level history
get_level_historyHow the SPX dealer-positioning levels MOVED across recent finished sessions: the zero-gamma flip, call wall and put wall day by day, each session's change from the one before, and summary statistics for the window (flip range, net drift, mean daily movement, how often price closed above the flip). Use when: the question is about a trend or a window — has the flip been climbing, how far does it travel in a week — instead of calling get_levels once per day. Not for: one day (get_levels / get_session) or anything inside a session (get_gex_profile). ES: pass symbol ES (or MES) for the same series in E-mini prices, each session moved by its own ES basis. Limits: finished sessions only, max 40 per call; days absent from the archive are reported in missing, never interpolated. Measurements only — no buy/sell signals, no forecast.
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": "get_level_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of an explicit window, YYYY-MM-DD (inclusive). Defaults to the newest finished session. | |
| days | No | How many of the most recent finished sessions to read (default 20, max 40). Ignored when `from` is given. | |
| from | No | Start of an explicit window, YYYY-MM-DD (inclusive). Overrides `days`. | |
| symbol | No | SPX (default), or ES / MES: each session's levels and close moved by that session's ES basis at its close. Sessions without a measured basis are left out and listed in no_basis; with fewer than two measured, the answer is SPX's and says so. | |
| contract | No | Optional dated contract for a future symbol. Default is the front contract; in the two weeks before a roll the next one is measured too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Trading day, YYYY-MM-DD | |
| from | Yes | Trading day, YYYY-MM-DD | |
| note | No | Present when a future was asked and its basis is not measured for the day | |
| basis | No | Present when an ES/MES (or NQ/MNQ, RTY/M2K) symbol was asked: the futures basis every price here was moved by; null when the day has no measured basis and the answer is the index's | |
| symbol | No | What the prices are in: SPX, or ES / MES when asked and the day's basis is measured | |
| missing | Yes | Days in the requested window with no payload in the archive; the window is reported over what was actually read | |
| summary | Yes | One sentence carrying this answer's numbers, its trading day and its source, written to be quoted verbatim to a reader rather than paraphrased. | |
| movement | Yes | How the level set travelled across the window. Descriptive statistics, not a forecast. | |
| no_basis | No | ES only: sessions in the window with no measured basis, left out of the ES series rather than shown at SPX prices | |
| sessions | Yes | One entry per finished session, NEWEST FIRST, same order as list_sessions | |
| data_as_of | Yes | The time this answer's data is true as of, ISO 8601 with the ET offset: a finished session's close (13:00 on an early close), the minute a ladder was read at, or the source's own build stamp. Null when the source states none. | |
| server_version | Yes | Version of the FirmTape MCP server that produced this answer | |
| requested_symbol | No | Present when a future was asked but the day has no measured basis, so the answer is SPX's |