Skip to main content
Glama

500Toolbox

Gold & Silver Price

gold-price
Read-onlyIdempotent

Returns the current spot price in one of 32 currencies, converted to troy ounce, gram and tola, plus a per-karat breakdown for gold (24K down to 10K) using exact purity constants. Quotes are cached briefly; if the upstream feed is unavailable the last good value is returned with stale set to true rather than failing. Costs 1 credit per call.

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": "gold-price"
  }
}

Input Schema

NameRequiredDescriptionDefault
metalNogold or silver. Defaults to gold.gold
currencyNoUSD, GBP, EUR, CAD, AUD, JPY, CNY, PKR, INR, AED, SAR, TRY, BDT, NGN, ZAR, CHF, SGD, HKD, MYR, THB, IDR, EGP, PHP, KRW, MXN, BRL, NZD, SEK, NOK, DKK, PLN or CZK. Defaults to USD.USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior. The description adds substantial context beyond that: quotes are cached briefly, stale last-good values are returned with stale=true instead of failing, exact purity constants are used, and each call costs 1 credit. This is exactly the kind of operational behavior an agent needs before invoking the tool.

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 front-loaded with the core outcome, then adds caching, stale-fallback behavior, purity constants, and cost in a compact sequence. Every sentence carries useful information, and there is no filler or repetition.

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

Completeness5/5

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

Given there is no output schema, the description does the necessary work by explaining the returned price units, per-karat breakdown, stale flag, and credit cost. It also addresses failure behavior: the last good value is returned with stale=true rather than an error. For a read-only price tool with two optional parameters, this is complete enough to call correctly.

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%, so the schema already documents the metal and currency parameters, including allowed currency values and defaults. The description mentions 32 currencies and per-karat gold, but does not add syntax, constraints, or meanings beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description states a specific verb and resource: returns the current spot price for gold or silver, in 32 currencies, across troy ounce, gram, tola, and per-karat gold breakdowns. This is far from a tautology and lets an agent identify the tool immediately. It does not explicitly distinguish itself from the sibling currency-rates tool, which keeps it below a 5.

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?

Usage is implied by the resource: this is for current spot metal prices rather than historical data or general currency conversion. However, the description gives no explicit when-to-use guidance, no exclusions, and no alternatives such as currency-rates. A 3 reflects adequate but incomplete routing guidance.

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