Skip to main content
Glama

Get futures roll calendar

get_futures_rolls
Read-onlyIdempotent

Answers 'when does ES roll next - and what back-adjustment did the roll add?' Give a root (ES, CL, GC and more) or ALL for every market; optionally start and end. Returns the roll calendar for all 139 futures markets since 2007: for each front-month contract its first and last date as front month, expiry, the next contract, the roll date, trading days before expiry, and the back-adjustment added to its prices in the continuous series. The current front month carries an estimated next roll date.

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": {
      "root": "<root>"
    },
    "name": "get_futures_rolls"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
rootYesFutures root, e.g. ES, CL, GC, or ALL.
startNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real context beyond them: coverage back to 2007, 139 markets, the ALL fallback for scope, and the caveat that the current front month's next roll date is only an estimate — a meaningful reliability disclosure.

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 question it answers, then scope, then the return payload. Both sentences are dense with information, though the second is long and chains many field names, and the parenthetical root examples are slightly redundant with the schema.

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, the description correctly enumerates every returned field, so an agent knows what it will get. Only the two date parameters' semantics are underspecified, which is a modest gap for an otherwise simple three-parameter read tool.

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 only 33%, so the description must carry more weight. It clarifies root's accepted values (ES, CL, GC, ALL) well beyond the schema, but leaves start and end as bare untyped strings with no explanation of format, whether they filter by front-month date, expiry, or roll date, or how they interact.

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 (returns the roll calendar) and enumerates exactly what each entry contains: first/last front-month dates, expiry, next contract, roll date, trading days before expiry, back-adjustment. It also frames the user question it answers ('when does ES roll next'), which lets an agent match this to a roll-timing intent rather than confusing it with get_futures.

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?

Gives clear invocation guidance: supply a single root (ES, CL, GC and more) or ALL for every market, with optional start and end. It establishes the primary calling context but omits explicit when-not guidance or a named alternative (e.g. get_futures for prices vs this for roll dates), leaving the sibling boundary to inference.

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.