Skip to main content
Glama

Monthly world reference prices for coffee, sugar and cocoa

commodities_ice_coffee_sugar_cocoa
Read-only

Monthly world reference prices for coffee, sugar and cocoa from FRED (World Bank series, USD). These are not ICE futures settlements; the name is kept for the route. Latest value plus up to 24 months of history. Related tools on this server, for a different need: commodities_cme_agri_spot_futures when you need monthly world reference prices for corn, wheat and soybeans; commodities_lme_metal_cash_settled when you need monthly world reference prices for copper, aluminium. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "commodities_ice_coffee_sugar_cocoa"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoMonths of history, 1 to 24 (default 3)

Output Schema

NameRequiredDescriptionDefault
cocoaNo
sugarNo
coffeeNo
sourceNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint, it discloses the upstream source (FRED, World Bank), currency (USD), return shape (latest value plus up to 24 months of history), and a payment/auth requirement the agent must satisfy: $0.002 per successful call via x402 USDC. It also clarifies failed calls are not charged, which affects retry behavior.

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-loaded with the resource and the futures disclaimer, then alternatives, then pricing. The pricing/payment sentence is boilerplate but operationally necessary for an agent; the only real cost is the slightly repetitive 'monthly world reference prices' phrasing across the alternatives.

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?

An output schema exists, so return fields need not be explained, and the description still covers source, units, history limits, disambiguation, alternatives and payment/auth. For a single-parameter read-only price tool, nothing material 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% and there is a single optional parameter, so the baseline is 3. The description adds meaning by tying months of history to the output (latest value is always included, history caps at 24), which clarifies what the parameter actually controls beyond the schema's bare range.

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 resource and scope: monthly world reference prices for coffee, sugar and cocoa from FRED's World Bank series in USD. It also pre-empts the obvious confusion by saying these are not ICE futures settlements and that the tool name is a legacy artifact.

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?

Explicitly routes the agent elsewhere when the need differs, naming commodities_cme_agri_spot_futures for corn/wheat/soybeans and commodities_lme_metal_cash_settled for copper/aluminium. The selection criteria are stated, not implied.

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