Skip to main content
Glama

Gold & commodities: Latest commodity prices

gold_listLatestCommodityPrices
Read-onlyIdempotent

Latest commodity prices

Each series' latest price and the one before it, with the change. EIA's daily prices are released weekly (Wednesdays), the World Bank's monthly averages in the first days of each month.

GET /v1/gold/commodity-prices on Gold & commodities (SBX-GOLD). Costs 1 credit per call.

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": "gold_listLatestCommodityPrices"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesNoComma-separated codes from /gold/commodities, e.g. brent,wti,gold. Default: every series.
categoryNoOnly this category.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With annotations already covering the read-only/idempotent profile, the description still adds real context: data freshness per source ('EIA's daily prices are released weekly (Wednesdays), the World Bank's monthly averages in the first days of each month'), the concrete endpoint, and a cost of 1 credit per call. It does not describe pagination or how many series are returned by default, but the freshness and billing notes go well beyond structured fields.

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?

Short and front-loaded: what it returns, then cadence, then endpoint and cost. The opening line largely restates the title, which is minor redundancy, but no sentence is otherwise wasted.

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?

For a two-optional-parameter list tool with no output schema, the description covers return content, data staleness expectations, endpoint, and billing — enough for an agent to call it correctly and interpret freshness. Only the exact response shape and default breadth are left implicit.

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 coverage is 100% and both parameters are fully described in the schema, including the default of every series and the enum values for category. The description adds no further meaning about filtering behavior, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific resource and states exactly what is returned: 'Each series' latest price and the one before it, with the change.' That distinguishes it in substance from history-oriented siblings, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied by 'latest' and by the update cadence, but there is no explicit statement of when to choose this over gold_getCommodityHistory or gold_listCommodities, and no stated preconditions or 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