Skip to main content
Glama

cftc_cot_compare

Read-onlyIdempotent

Compare the latest reported CFTC COT position for two to eight contract markets using one consistent report family, scope, and trader category. Returns stable market codes, exact dates, long/short/net positions, open interest, ranking, and provenance. Use this for 'compare managed-money positioning in oil, gold, and copper' or 'which selected market has the largest commercial net position?'. It compares published aggregates only and does not recommend trades.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoFutures-only or futures-and-options-combined view. Defaults to futures_only, except CIT (combined only).
marketsYesTwo to eight exact CFTC contract codes or unambiguous names.
categoryYesA category valid for the selected report_type.
report_typeYesCFTC 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. Changed6 schema fields changed
    • addedInput schema / properties / category / maxLength
      Added value: +64
    • addedInput schema / properties / category / minLength
      Added value: +1
    • addedInput schema / properties / markets / items / maxLength
      Added value: +160
    • addedInput schema / properties / markets / items / minLength
      Added value: +1
    • addedInput schema / properties / markets / maxItems
      Added value: +8
    • addedInput schema / properties / markets / minItems
      Added value: +2
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior. The description adds a genuine boundary the annotations cannot express: it compares published aggregates only and does not recommend trades, plus it enumerates returned fields (codes, dates, long/short/net, open interest, ranking, provenance) since no output schema exists.

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?

Front-loads the verb, resource, and cardinality in the first sentence, then use cases, then the boundary. Four sentences with no filler; the return-field enumeration is justified because no output schema is provided, though it is the longest and least critical clause.

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?

Covers scope, cardinality, cross-parameter coupling, example intents, return contents, and an advisory boundary. With no output schema, the description takes on the job of describing results and does so; nothing an agent needs to invoke this correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real semantic coupling beyond the schema: all compared markets must share one consistent report family, scope, and trader category, which explains why report_type/category are single scalars applied across the array rather than per-market. It also restates the 2-8 bound as a hard constraint.

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 (compare) and resource (latest reported CFTC COT position) with an explicit cardinality bound (two to eight contract markets). This cleanly separates it from the sibling cftc_cot_latest (single market) and cftc_cot_history (time series) without needing to name them.

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 two concrete triggering scenarios ('compare managed-money positioning in oil, gold, and copper', 'which selected market has the largest commercial net position?'), which tells the agent exactly what class of question this answers. It does not, however, explicitly name alternative tools or state when not to use it (e.g. for a single market, use cftc_cot_latest).

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.