Skip to main content
Glama

Get COT

get_cot
Read-onlyIdempotent

Answers 'how are traders positioned in this market?' Give a market (for example GOLD or CRUDE_OIL) and a start date; optionally end. Returns CFTC Commitments of Traders rows - managed money, producers, swap dealers, leveraged funds and asset managers, long/short/net - clipped to as_of, up to 5,000 rows per page. Covers CFTC COT since 1986. Free keys get the last 12 months; full history with a FinzData plan.

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>",
      "start": "<start>"
    },
    "name": "get_cot"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
as_ofNoPoint-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC).
startYes
marketYes

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?

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description still adds real behavioral context: as_of clipping to prevent look-ahead bias, a 5,000-row page cap, coverage back to 1986, and a free-tier restriction to the last 12 months. It does not explain how to page past the 5,000-row limit or what a truncated result looks like.

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?

Dense and front-loaded: purpose first, then inputs, then return shape, then coverage/limits. Every sentence carries information, though the return-shape sentence is a long run-on list that would read better split.

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 does the work of describing returned columns and trader categories, plus row caps, historical depth and tier gating — enough for correct selection and invocation of a 4-parameter read tool. The remaining gaps (pagination mechanics, date format, unit/currency of values) are minor but real.

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 only 25%, with as_of being the sole documented parameter; the description compensates by explaining market as a named market code with examples and by framing start/end as a date window with end optional. It still never states the expected date string format for start/end (as_of's schema says YYYY-MM-DD, but that is not generalized), which matters since market is also unconstrained free text.

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?

Opens with the question it answers and names the concrete resource: CFTC Commitments of Traders rows broken out by trader category (managed money, producers, swap dealers, leveraged funds, asset managers) with long/short/net. That is specific enough to separate it from get_futures, get_13f and get_bars without opening any schema.

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 a clear invocation context ('Give a market ... and a start date; optionally end') with example market values GOLD and CRUDE_OIL, so an agent knows what inputs select this tool. It stops short of explicitly saying when to prefer it over siblings like get_futures or get_13f, and states no exclusions.

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