Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getCommodityQuotes

Read-onlyIdempotent

Fetch current commodity quotes to track prices, changes, and volume across oil, gold, and agricultural products.

Instructions

Get up-to-the-minute quotes for commodities with the FMP Real-Time Commodities Quotes API. Track the latest prices, changes, and volumes for a wide range of commodities, including oil, gold, and agricultural products.

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

Input Schema

NameRequiredDescriptionDefault
shortNoWhether to use short format

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds that data is real-time and names the returned fields (prices, changes, volumes), which is useful, but it omits the important behavioral fact that the call takes no symbol and therefore presumably returns the whole commodity universe.

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?

Two sentences, front-loaded with the verb and resource, no wasted framing. The trailing list ('oil, gold, and agricultural products') and the 'up-to-the-minute' marketing phrasing are slightly padded but not harmful.

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?

With no output schema and a single optional parameter, the description should clarify what the call returns and how many quotes come back; it hints at fields but not cardinality or scope. Adequate for a simple read, but leaves the agent guessing whether a symbol is needed given the required-parameter count is zero.

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?

Only one optional parameter exists and its schema description coverage is 100%, so the schema does the heavy lifting. The description never mentions the 'short' output-format flag, and the schema's own wording ('Whether to use short format') is thin, so no additional meaning is contributed.

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+resource: 'Get up-to-the-minute quotes for commodities', which clearly separates it from sibling quote tools like getCryptoQuotes, getForexQuotes, and getIndexQuotes. It does not state scope precisely (all commodities at once, no symbol parameter), but the purpose is unmistakable.

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?

'Track the latest prices, changes, and volumes' implies a real-time monitoring use case, but the description never says when to prefer this over listCommodities, getQuote, or the batch quote siblings, and offers no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools