Skip to main content
Glama

get_commodity_quote

Read-onlyIdempotent

Returns the real-time price quote for a specific commodity.

Common symbols: GCUSD (gold), SIUSD (silver), CLUSD (crude oil),
NGUSD (natural gas), HGUSD (copper), PLUSD (platinum).

yearHigh / yearLow are the feed's trailing-year range, roughly the past
12-13 months: call them trailing-year figures. For a year-to-date or
calendar-year change, a dated extreme or an exact 52-week figure use
get_commodity_historical, since the quote does not date its extremes.

Args:
    symbol: Commodity symbol (e.g. 'GCUSD' for gold)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesCommodity symbol, e.g. 'GCUSD' (gold), 'CLUSD' (crude oil).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "get_commodity_quoteOutput",
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so safety is covered. The description earns credit for disclosing data semantics beyond the annotations: yearHigh/yearLow are trailing-year (12-13 months) and the quote does not date its extremes. That is genuine behavioral nuance about what the feed returns.

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?

Purpose is front-loaded in the first sentence, followed by useful symbol references and a caveat about the trailing-year fields. The six-symbol list is slightly long but directly aids invocation, so nothing feels wasteful.

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?

With no output schema, the description usefully explains the key ambiguous return fields (yearHigh/yearLow semantics) and names the historical alternative. Covered well for a one-parameter quote tool; only the all-commodities alternative is unaddressed.

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 the single parameter's meaning is fully documented in the schema. The description repeats a symbol example plus a list of common symbols, which is mildly additive but not required. Baseline 3 for a fully-documented single param.

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 and resource ('Returns the real-time price quote for a specific commodity'), and explicitly differentiates itself from the sibling get_commodity_historical. An agent can identify scope and sibling boundary without opening the schema.

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 explicit routing guidance: when the user needs YTD, calendar-year change, dated extremes, or an exact 52-week figure, call get_commodity_historical instead. It does not, however, address the sibling get_all_commodities_quotes, so the multi-commodity case is left implicit.

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