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. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive; the description adds valuable behavioral context beyond that, including that it reads a self-hosted official snapshot, returns stable codes, includes pagination and snapshot provenance, and covers only aggregate US futures/options markets. No statement contradicts the annotations.

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?

The description is three focused sentences: purpose, return contents, and usage guidance. It front-loads the most important information and every sentence earns its place without redundant filler.

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?

Despite having no output schema, the description lists the key return fields (codes, names, labels, families, scopes, latest date, pagination, provenance) and provides enough context to call the tool correctly. It also ties the search to a downstream history call, covering the typical agent workflow.

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%, and every parameter has a meaningful description with defaults and enum values. The tool description reinforces the use case but does not add syntax-level meaning beyond the schema, so the baseline of 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 opens with a specific verb and resource ('Search contract markets in LiveDataLink's self-hosted official CFTC Commitments of Traders snapshot') and clearly enumerates what is returned (stable codes, names, commodity/exchange labels, report families, scopes, latest date, pagination, provenance). It differentiates itself by stating it is a lookup/search tool for identifiers and explicitly noting it is 'not quotes or prices.'

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?

The description gives concrete example queries ('find the CFTC code for gold', 'which COT markets cover crude oil?') and states the workflow context: 'resolve an identifier before a history call.' It also sets boundaries with 'Aggregate US futures and options markets only; not quotes or prices,' so an agent knows when not to use it.

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.