Skip to main content
Glama
Commodity-Price-API

CommodityPriceAPI MCP Server

Official

Get latest gold (XAU) price

get_gold_price

Retrieve the current gold (XAU) price in real time. This tool delivers the latest rate without requiring a symbol list.

Instructions

Shortcut for the latest gold (XAU) rate without needing to pass a symbols list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteNoTarget quote currency code. Premium/Plus plans only.
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It implies a safe read-only operation ('latest rate') but does not disclose any potential limitations such as default quote currency, rate update frequency, or response format. It adds some context by mentioning the shortcut nature, but lacks richer behavioral detail.

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?

The description is a single, well-structured sentence that front-loads the core purpose and immediately gives a usage hint. No wasted words or redundancies.

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 tool's simplicity (one optional parameter, no output schema), the description covers the essential purpose and usage distinction. It falls short of a 5 because it omits explicit note about the default quote currency or return value shape, though these are not critical for selection or invocation.

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 100% coverage for the single 'quote' parameter, including its optionality and premium restriction. The tool description adds no additional parameter semantics, so the baseline of 3 is appropriate without any value added.

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 a specific verb ('get') and resource ('latest gold (XAU) rate'). It also distinguishes itself from the sibling tool 'get_latest_rates' by positioning itself as a shortcut that does not require a symbols list, making it immediately clear what this tool offers.

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?

The phrase 'without needing to pass a symbols list' explicitly signals when to use this tool and implies the alternative 'get_latest_rates' which requires that list. However, it does not explicitly state exclusions (e.g., 'do not use if you need other currencies'), earning a 4 rather than 5.

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/Commodity-Price-API/commoditypriceapi-mcp'

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