Skip to main content
Glama

Commodity Indicators

commodities
Read-only

Get historical price series for supported commodity indicators using the exact slugs advertised by this schema. Requires an API key. Supported indicators: crude_oil_inventories, gold, natural_gas, natural_gas_storage, oil_brent, oil_wti, platinum, silver. Access: requires an FXMacroData API key; an anonymous call returns subscription_required with a subscribe link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoBackward-compatible alias for `indicator`. Prefer `indicator` in new calls.
end_dateNoInclusive upper bound, YYYY-MM-DD.
indicatorNoCommodity indicator slug. Supported: crude_oil_inventories, gold, natural_gas, natural_gas_storage, oil_brent, oil_wti, platinum, silver.
start_dateNoInclusive lower bound, YYYY-MM-DD.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / end_date / title
      Removed value: -"End Date"
    • removedInput schema / properties / indicator / title
      Removed value: -"Indicator"
    • removedInput schema / properties / start_date / title
      Removed value: -"Start Date"
    • removedInput schema / properties / symbol / title
      Removed value: -"Symbol"
  2. Changed3 schema fields changed
    • changedInput schema / properties / indicator / description
      Previous value: -"Commodity indicator slug. Supported: gold, natural_gas, oil_brent, oil_wti, platinum, silver."New value: +"Commodity indicator slug. Supported: crude_oil_inventories, gold, natural_gas, natural_gas_storage, oil_brent, oil_wti, platinum, silver."
    • changedInput schema / properties / indicator / examples
      Previous value: -[
      -  "gold",
      -  "natural_gas",
      -  "oil_brent",
      -  "oil_wti",
      -  "platinum",
      -  "silver"
      -]New value: +[
      +  "crude_oil_inventories",
      +  "gold",
      +  "natural_gas",
      +  "natural_gas_storage",
      +  "oil_brent",
      +  "oil_wti"
      +]
    • changedInput schema / properties / symbol / examples
      Previous value: -[
      -  "gold",
      -  "natural_gas",
      -  "oil_brent",
      -  "oil_wti",
      -  "platinum",
      -  "silver"
      -]New value: +[
      +  "crude_oil_inventories",
      +  "gold",
      +  "natural_gas",
      +  "natural_gas_storage",
      +  "oil_brent",
      +  "oil_wti"
      +]
  3. Changed5 schema fields changed
    • addedInput schema / properties / indicator / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / indicator / default
      Added value: +null
    • removedInput schema / properties / indicator / type
      Removed value: -"string"
    • addedInput schema / properties / symbol
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Backward-compatible alias for `indicator`. Prefer `indicator` in new calls.",
      +  "examples": [
      +    "gold",
      +    "natural_gas",
      +    "oil_brent",
      +    "oil_wti",
      +    "platinum",
      +    "silver"
      +  ],
      +  "title": "Symbol"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "indicator"
      -]
  4. Changed2 schema fields changed
    • changedInput schema / properties / indicator / description
      Previous value: -"Commodity indicator slug. Supported: gold, platinum, silver."New value: +"Commodity indicator slug. Supported: gold, natural_gas, oil_brent, oil_wti, platinum, silver."
    • changedInput schema / properties / indicator / examples
      Previous value: -[
      -  "crude_oil",
      -  "natural_gas",
      -  "gold",
      -  "silver",
      -  "copper"
      -]New value: +[
      +  "gold",
      +  "natural_gas",
      +  "oil_brent",
      +  "oil_wti",
      +  "platinum",
      +  "silver"
      +]
  5. Changed6 schema fields changed
    • addedInput schema / properties / end_date / description
      Added value: +"Inclusive upper bound, YYYY-MM-DD."
    • addedInput schema / properties / end_date / examples
      Added value: +[
      +  "2020-01-01",
      +  "2024-06-30"
      +]
    • addedInput schema / properties / indicator / description
      Added value: +"Commodity indicator slug. Supported: gold, platinum, silver."
    • addedInput schema / properties / indicator / examples
      Added value: +[
      +  "crude_oil",
      +  "natural_gas",
      +  "gold",
      +  "silver",
      +  "copper"
      +]
    • addedInput schema / properties / start_date / description
      Added value: +"Inclusive lower bound, YYYY-MM-DD."
    • addedInput schema / properties / start_date / examples
      Added value: +[
      +  "2020-01-01",
      +  "2024-06-30"
      +]
  6. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The description adds behavioral context beyond the annotations: it notes the need for an API key and the behavior on anonymous calls (subscription_required with subscribe link). This is useful but does not cover rate limits or other potential behaviors.

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?

The description is concise and front-loaded with the main action. It lists supported indicators and access requirements, but this overlaps with schema details. Every sentence is purposeful, though not perfectly minimal.

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?

Given the complexity (4 parameters, output schema exists), the description sufficiently conveys the tool's function, supported indicators, and access constraints. It does not explain output format, but that is covered by the output schema, so no significant gaps remain.

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?

The schema already provides descriptions for all parameters (100% coverage). The tool description repeats the list of supported indicators but does not add new parameter semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

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?

The description clearly states the tool's purpose: 'Get historical price series for supported commodity indicators using the exact slugs advertised by this schema.' This is a specific verb and resource, and it distinguishes from siblings by focusing on commodity indicators with historical price series.

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 description provides access requirements (API key needed, anonymous call returns subscription_required) but does not explicitly mention when to use this tool versus alternatives like latest_commodities or forex. The guidance is implicit based on the tool's name and purpose, but not explicit.

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.