Skip to main content
Glama

COT-Reports

COT index for one market

get_cot_index
Read-onlyIdempotent

The COT index (0–100: where the current net position sits between its lowest and highest of the lookback window) for large speculators and commercials, from the Legacy report. Without an account: the 26- and 52-week windows; a free account, COT Premium and a Data API key: every window. Both CFTC variants (Futures Only and Futures & Options Combined) with COT Premium and Data API keys; without an account and with a free account, each report's default variant.

Input Schema

NameRequiredDescriptionDefault
marketYesA CFTC code (e.g. 099741), a ticker (e.g. 6E, GC) or a market name.
variantNoCFTC variant: futonly = Futures Only, combined = Futures & Options Combined. Default: the report's own (Legacy: futonly; Disaggregated, TFF: combined; Supplemental is published combined only).
lookback_weeksNoLookback window in weeks: 26, 52, 156 or 260. Default: 156 (3 years) — 52 without an account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent/closed-world annotations by disclosing authentication-dependent gating: which lookback windows and which CFTC variants are available anonymously versus with a key. The disclosure is dense and somewhat ambiguous ('a free account, COT Premium and a Data API key: every window' reads as if all three tiers grant everything), which slightly undercuts its usefulness, and it says nothing about result shape.

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

Conciseness3/5

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

The metric definition is correctly front-loaded and earns its space, but the tier-availability sentence is a telegraphic colon-fragment stack that takes effort to parse. Information density is high, yet clarity is traded away for brevity.

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?

With no output schema, the description should indicate whether this returns a single latest index value or a historical series per report date; it does not. The tier gating is thoroughly covered, but the return contract for a derived-metric tool is left implicit.

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

Parameters4/5

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

Schema description coverage is already 100%, so the baseline is 3; the description adds genuine new meaning by tying the variant and lookback-window availability to account tier, which the schema does not state. It does not resolve the apparent tension between 'without an account: 26 and 52' and the schema's 'Default: 156 … 52 without an account'.

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 computed resource (the COT index for large speculators and commercials) and even defines the metric's scale and meaning: '0–100: where the current net position sits between its lowest and highest of the lookback window.' It also scopes the data source ('from the Legacy report'), which separates it from siblings like get_latest_positions and scan_extremes.

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 context about what is reachable at each access tier (no account, free account, COT Premium/Data API key), which directly governs when a caller gets a useful result. It does not name alternative siblings (e.g. when to prefer get_latest_positions or scan_extremes), so it falls short of explicit when/when-not routing.

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.

Resources