Level set
get_levelsOnly the dealer-positioning level set for one finished SPX session: zero-gamma flip, call wall, put wall, plus where the session closed relative to them. A strict subset of get_session. Use when: the levels are the whole question and the rest of the session would be noise. Not for: OHLC, flip crossings, net-gamma percentile or ATM IV (get_session); more than one day (get_level_history); gamma by strike (get_gex_profile). ES: pass symbol ES (or MES) for ES gamma levels, the SPX levels moved by the day's ES basis (future minus index from put-call parity; no CME data); NQ levels come from get_symbol_gamma. Limits: finished sessions only, one day per call.
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": {
"day": "<day>"
},
"name": "get_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | A finished trading day, YYYY-MM-DD. Weekends, holidays and days before coverage return an error — call list_sessions to see which days exist. | |
| symbol | No | SPX (default), or ES / MES for the E-mini: the SPX book moved by the day's ES basis (future minus index from put-call parity). A day without a measured basis answers with SPX index levels 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 |
|---|---|---|---|
| day | 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 | |
| close | Yes | Session close | |
| levels | Yes | Dealer-positioning levels in SPX index points (in ES points when `symbol` is ES or MES); null when the session did not produce one | |
| replay | Yes | Free minute-by-minute replay of the session on FirmTape | |
| symbol | No | What the prices are in: SPX, or ES / MES when asked and the day's basis is measured | |
| 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. | |
| 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 | |
| close_minus_flip | Yes | Close minus zero-gamma flip, index points; positive = closed above the flip | |
| requested_symbol | No | Present when a future was asked but the day has no measured basis, so the answer is SPX's |