Skip to main content
Glama

COT index for one market

get_cot_index
Read-onlyIdempotent

The COT index (0–100: where the current net position, as % of open interest, 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.

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": {
      "market": "<market>"
    },
    "name": "get_cot_index"
  }
}

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

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: results are silently narrowed by authentication level, both in available lookback windows and in which CFTC variant can be requested. It stops short of describing the returned shape, but that gap is modest for a read-only index lookup.

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?

The metric definition is front-loaded in the first clause, which is the right ordering. It is dense and parenthesis-heavy, and the access-tier sentence repeats information that also lives in the schema, but no sentence is pure filler.

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?

For a three-parameter, read-only lookup with no output schema, the definition covers the metric's meaning, the source report, the default variant rules per report, and the authentication-dependent limits. The main remaining gap is the boundary against sibling tools and any indication of return shape or error behavior for unresolvable markets.

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 100% and both optional parameters already document their defaults and the unsigned-in restriction on lookback_weeks. The description mostly restates that tier gating rather than adding syntax or interpretation guidance, and it never explains how market strings resolve (code vs ticker vs name) beyond what the schema says. Baseline 3 applies when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource (COT index for one market) and even defines the metric: net position as a percentage of open interest, ranked between its lookback low and high, for large speculators and commercials from the Legacy report. That is far more than a restatement of the name. It does not, however, differentiate itself from siblings such as explain_cot or get_history, so an agent must infer the boundary.

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 is rich in access-tier conditions (anonymous vs free account vs COT Premium vs Data API key) but those are availability constraints, not when-to-use guidance. Nothing says when to pick this over scan_extremes or get_latest_positions. Usage is implied by the metric definition rather than stated.

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