Skip to main content
Glama

getCommodityPrices

Live spot and futures prices for industrial metals, lumber, energy, and agricultural raw materials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commodityYesCommodity name or ticker (e.g., steel, copper, lithium, lumber, brent_oil, wheat, gold)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It usefully discloses that prices are 'live' and cover both 'spot and futures', which is genuine behavioral context, but it says nothing about auth requirements, rate limits, or update frequency beyond 'live'.

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?

A single efficient sentence with the scope terms front-loaded. Nothing is wasted, though it is arguably so terse that it omits useful routing detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool this is close to adequate, but with no annotations and no output schema, the description should indicate return shape, units, or currency. That gap leaves the agent guessing at what a successful call yields.

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 'commodity' parameter already documents accepted name/ticker forms with examples. The description adds no further syntax or format guidance, so the schema does the heavy lifting — baseline 3.

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?

States a specific verb ('get') plus resource ('CommodityPrices') and enumerates the covered categories (industrial metals, lumber, energy, agricultural raw materials). This scopes it well against price siblings like getFuelPrices and getStockEodPrices, but it never explicitly names those alternatives to draw the boundary.

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?

The category list implicitly signals when this tool applies versus fuel or equity price tools, but there is no explicit when-to-use statement, no exclusion, and no alternative named. Usage must be inferred.

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