Skip to main content
Glama

Commodity Latest Rates

commodity_latest_rates
Read-onlyIdempotent

Retrieve real-time commodity prices with customizable quote currencies and update frequencies.

Instructions

Get real-time prices for one or more commodities. Supports custom quote currencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolsYesComma-separated commodity symbols (e.g. 'XAU,XAG,WTIOIL-SPOT'). If unsure of the exact symbol, use 'commodity_symbols' first.
updatesNoPrice update frequency: '1m' = refreshed every minute (default), '10m' = every 10 minutes.1m
quoteNoQuote currency code (e.g. USD, EUR). If unsure, use 'commodity_quotes' first.
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint, clearly indicating a safe, read-only operation. The description adds 'real-time' but no additional behavioral traits like data freshness guarantees or behavior on invalid symbols, so it minimally supplements the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two terse sentences that front-load the core purpose and key capability. Every word earns its place; no filler or redundant information.

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 simple real-time price tool with rich annotations and no output schema, the description is adequate. It could hint at the return format (e.g., a list of prices) or clarify that it accepts multiple symbols, but the provided info is sufficient for basic understanding.

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 input schema already provides thorough descriptions for all three parameters (e.g., symbols with example and fallback advice, updates with default and enum, quote with fallback advice). The description itself adds no further param details beyond what the schema offers, achieving the baseline for full schema coverage.

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 it retrieves real-time prices for commodities with custom quote currencies. The verb 'Get' and resource 'real-time prices' are specific, and it distinguishes from historical or fluctuation tools among siblings.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like commodity_historical_rates or commodity_fluctuation. It does not mention when not to use it or prerequisites such as needing to look up symbols first via commodity_symbols.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/api-freaks/apifreaks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server