Skip to main content
Glama

cftc_cot_search_markets

Read-onlyIdempotent

Search contract markets in LiveDataLink's self-hosted official CFTC Commitments of Traders snapshot. Returns stable CFTC contract market codes, names, commodity/exchange labels, available report families and scopes, latest date, pagination, and snapshot provenance. Use this for 'find the CFTC code for gold', 'which COT markets cover crude oil?', or to resolve an identifier before a history call. Aggregate US futures and options markets only; not quotes or prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum markets. Default 20.
queryNoCommodity, contract, exchange, or exact contract market code.
scopeNoFutures-only or futures-and-options-combined view. Defaults to futures_only, except CIT (combined only).
offsetNoMarkets to skip. Default 0.
report_typeNoCFTC report family. Categories differ by family; use search or the evidence pack to discover available families.
response_formatNoHuman-readable markdown or machine-readable JSON. Default markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +100
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / offset / maximum
      Added value: +10000
    • addedInput schema / properties / offset / minimum
      Added value: +0
    • changedInput schema / properties / offset / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / query / maxLength
      Added value: +120
    • addedInput schema / properties / query / minLength
      Added value: +1
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description contributes real context beyond that: it identifies the source as a self-hosted official CFTC snapshot, mentions snapshot provenance and pagination in the return, and states the scope restriction. It stops short of detail on how the snapshot is refreshed or how provenance is exposed.

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?

Three sentences, front-loaded with the verb and scope, then the return inventory, then usage examples and the boundary clause. The return list is long but each item is informative, so little is wasted.

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

Completeness5/5

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

No output schema exists, so the description must describe returns, and it does so thoroughly (codes, names, commodity/exchange labels, report families, scopes, latest date, pagination, provenance). Combined with a fully documented 6-param schema and complete annotations, an agent has everything needed to call it correctly.

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 100%, including enum values and defaults, so the schema carries the parameter burden and the baseline is 3. The description adds only thematic context ('available report families and scopes'), not syntax or format guidance beyond what is already documented.

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 (search) and resource (CFTC contract markets) bounded to a self-hosted official COT snapshot, and enumerates exactly what is returned (codes, names, labels, report families, scopes, latest date). It also carves out the boundary ('aggregate US futures and options markets only; not quotes or prices'), separating it from price/quote siblings.

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

Usage Guidelines5/5

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

Gives concrete when-to-use examples ('find the CFTC code for gold', 'which COT markets cover crude oil?') and names the workflow position ('resolve an identifier before a history call'), routing the agent toward cftc_cot_history. The 'not quotes or prices' clause functions as an explicit when-not.

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.