Skip to main content
Glama

Gold value calculator

hopi_gold_value_calculator
Read-onlyIdempotent

Work out the melt (scrap) value in pounds of gold jewellery or any gold item from its weight and carat or fineness, at Hopi's live mid-market gold price (updated hourly). Optionally compares a buyer's offer with the melt value. Source: https://hopi.co.uk/gold-value-calculator/

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "weight": "<weight>"
    },
    "name": "hopi_gold_value_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit of the weight: g (grams, the default), ozt (troy ounces), dwt (pennyweights), oz (ordinary ounces, as kitchen scales show) or tolag
caratNoGold carat: 9 (375), 10 (417), 14 (585), 18 (750), 22 (916) or 24 (999). Give carat or fineness.
offerNoOptional: a buyer's offer in pounds, to compare with the melt value
weightYesWeight of the item, in the chosen unit
finenessNoPurity in parts per 1,000 of pure gold, such as 916.7 or 999.9. Used instead of carat when given.

Output Schema

NameRequiredDescriptionDefault
unitYes
offerYes
weightYes
summaryYes
asOfUnixYes
completeYes
finenessYes
warningsYes
meltValueYes
source_urlYesThe tool's page on hopi.co.uk (cite or open to check the figure)
weightGramsYes
priceAgeHoursYes
pureGoldGramsYes
offerBelowMeltYes
offerPercentOfMeltYes
pureGoldTroyOuncesYes
valuePerGramOfItemYes
goldPricePerGramGBPYes
goldPricePerOunceGBPYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds genuinely new behavioral context: results are tied to a live mid-market price 'updated hourly', so the agent knows the figure is time-sensitive and non-cacheable. It also names the data source, aiding trust/attribution. No auth or rate-limit detail, so not a 5.

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 tightly written sentences, front-loaded with the core purpose, followed by the optional offer comparison and a source link. Every clause earns its place; the source URL is arguably marginal but short.

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?

The tool is simple, the output schema covers return values, and annotations cover safety, so the description only needed purpose plus pricing freshness — both are present. The one residual gap is which sibling to choose for coins or investment-return calculations, which an agent must infer.

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 coverage is 100% and each parameter already carries a rich description (unit enum meanings, carat-to-fineness mapping, offer purpose). The description only restates 'from its weight and carat or fineness' and does not resolve the carat-vs-fineness precedence itself. Baseline 3 is appropriate since 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?

States a specific verb and resource: 'work out the melt (scrap) value ... of gold jewellery or any gold item from its weight and carat or fineness'. The '(scrap)' gloss and the pricing basis make the intent unambiguous. It stops short of naming which sibling to use instead (e.g. the gold coin or gold return calculators), which keeps it from 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?

'Optionally compares a buyer's offer with the melt value' tells the agent the second use case, so the when-to-use is implied rather than absent. There is no explicit exclusion against hopi_gold_coin_value_calculator or hopi_gold_return_calculator, and no statement of prerequisites (e.g. carat vs fineness precedence), leaving routing to inference.

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