Skip to main content
Glama
tedorigawa001

TradingView-MCP

get_futures_flow_context

Combine a futures chart with CFTC COT positioning, volume z-scores, and open-interest quadrant analysis; detect roll anomalies to assess market participation context for a symbol.

Instructions

Combine one exact TradingView CME/COMEX/CBOT/NYMEX continuous-futures daily chart with delayed CFTC COT positioning, trailing volume z-scores, daily Open Interest (OI) 4-quadrant analysis, and contract roll anomaly detection. This is a market-participation proxy, not realtime institutional order flow, and it never changes the chart.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNoPoint-in-time cutoff for locally first-seen CME Daily Bulletin OI. Supported only with open_interest_provider: cme_daily_bulletin; omit for the latest locally observed CME version.
countNoMost recent loaded daily futures bars to inspect. Default: 1000
cot_weeksNoRecent delayed CFTC observations to include. Default: 2
target_symbolYesSupported spot target mapped to 6E, 6J, 6B, 6A, 6C, 6S, 6N, ES, NQ, YM, GC, SI, CL
volume_lookbackNoPrior bars used for volume mean and z-score. Current bar is excluded. Default: 20
observation_limitNoMaximum recent normalized observations returned. Default: 20
open_interest_dataNoCaller-supplied daily Open Interest observations (time ISO/epoch, openInterest value)
futures_chart_indexYes
open_interest_scopeNoRequired with caller-supplied OI or an explicitly named OI study, and rejected without either; keeps front-month and all-months data separate
minimum_observationsNoMinimum normalized daily observations. Default: 20
open_interest_providerNoDaily OI source. Default chart reads a bound TradingView study; cme_daily_bulletin uses only locally first-seen official GC totals and is supported for XAUUSD.
open_interest_study_idNoRead daily OI from this on-chart study instead of the official Open Interest study, e.g. an aggregated all-months OI indicator
roll_anomaly_thresholdNoDaily Open Interest change ratio threshold for contract roll anomaly detection. Default: 0.20 (20%)
elevated_volume_z_scoreNoAbsolute z-score threshold for elevated/subdued participation. Default: 1.5
expected_futures_symbolYesExact continuous futures symbol required by the fixed mapping
open_interest_plot_titleNoPlot title or id carrying open interest on open_interest_study_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.10

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden. It explicitly states that CFTC data is delayed, the result is a proxy rather than realtime order flow, and 'it never changes the chart,' which addresses the main side-effect concern. It does not describe return shape, COT freshness details, or any non-chart side effects, so it stops short of full transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences contain no filler: the first packs the exact resource and the four data components, and the second adds the decisive caveats about being a proxy and never changing the chart. Every part contributes to selection or safe invocation.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter tool with no output schema and no annotations, the description gives a strong conceptual overview but leaves the return contract unstated — an agent does not know what the combined context looks like, such as normalized observations, OI quadrants, or roll flags. The rich parameter schema mitigates input ambiguity, but output semantics and sibling routing remain gaps.

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 description coverage is 94%, so the schema already documents most parameters and their defaults, constraints, and provider-specific behavior. The description adds high-level conceptual framing for groups of parameters — trailing volume z-scores, OI quadrant analysis, roll anomaly detection — but no parameter-level details beyond what the schema provides. Baseline 3 is appropriate.

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?

The description states a specific action and resource: it combines one exact TradingView CME/COMEX/CBOT/NYMEX continuous-futures daily chart with delayed CFTC COT, volume z-scores, daily OI four-quadrant analysis, and roll-anomaly detection. It also labels itself a 'market-participation proxy, not realtime institutional order flow,' which helps an agent distinguish it from execution/order-flow and other context siblings. The composition is distinctive enough that the tool is not easily confused with watchlist, journal, or price-action tools.

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

Usage Guidelines3/5

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

The description communicates a clear context of use — futures market-participation context combining COT, OI, and volume — and gives one exclusion: it is not realtime institutional order flow. However, it never explicitly says 'use when X' or names an alternative sibling for other cases, so routing among the many related context tools is left to inference.

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

Install Server

Other Tools