Skip to main content
Glama

Premium over spot checker and US market benchmark

premium_over_spot
Read-onlyIdempotent

Premium over melt for a quoted price versus today's dealer asks. Example: {"product":"american-silver-eagle-1oz","price":60}.

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

Input Schema

NameRequiredDescriptionDefault
spotNo
metalNo
priceNo
paymentNobank
productNo
spot_asofNo
weight_oztNo
your_priceNo
premium_pctNo
your_premium_pctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "price": 60,
      -    "product": "american-silver-eagle-1oz"
      -  }
      -]
    • removedInput schema / properties / metal / description
      Removed value: -"Use with weight_ozt when the item is not a tracked product."
    • removedInput schema / properties / payment / description
      Removed value: -"Which dealer price list to compare against (bank = check/ACH/wire, card = credit card)."
    • removedInput schema / properties / premium_pct / description
      Removed value: -"Premium over spot in percent (use instead of price; alias: your_premium_pct)."
    • removedInput schema / properties / price / description
      Removed value: -"Price quoted for one item in USD (alias: your_price)."
    • removedInput schema / properties / product / description
      Removed value: -"Tracked product slug or name with weight (see list_products)."
    • removedInput schema / properties / spot / description
      Removed value: -"Optional spot price override in USD per troy oz (labels spot_source=caller)."
    • removedInput schema / properties / spot_asof / description
      Removed value: -"Optional ISO timestamp for caller-supplied spot."
    • removedInput schema / properties / weight_ozt / description
      Removed value: -"Pure metal content in troy ounces (use with metal)."
    • removedInput schema / properties / your_premium_pct / description
      Removed value: -"Alias for premium_pct: your premium over spot in percent."
    • removedInput schema / properties / your_price / description
      Removed value: -"Alias for price: single-unit asking price in USD."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "anyOf": [
      -    {
      -      "required": [
      -        "price_usd",
      -        "your_price_usd",
      -        "melt_value_usd",
      -        "spot_usd_per_ozt",
      -        "premium_usd",
      -        "your_premium_usd",
      -        "premium_pct",
      -        "your_premium_pct",
      -        "attribution",
      -        "source_url",
      -        "data_as_of",
      -        "credit",
      -        "terms",
      -        "customization"
      -      ]
      -    },
      -    {
      -      "required": [
      -        "ok",
      -        "tool",
      -        "error"
      -      ]
      -    }
      -  ],
      -  "properties": {
      -    "asof": {
      -      "type": "string"
      -    },
      -    "attribution": {
      -      "type": "string"
      -    },
      -    "attribution_credit": {
      -      "type": "object"
      -    },
      -    "below_spot": {
      -      "type": "boolean"
      -    },
      -    "below_spot_warning": {
      -      "type": "string"
      -    },
      -    "canonical_tool": {
      -      "type": "string"
      -    },
      -    "cheaper_than_n": {
      -      "type": "integer"
      -    },
      -    "compared_with_today": {
      -      "additionalProperties": true,
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "credit": {
      -      "type": "string"
      -    },
      -    "customization": {
      -      "type": "string"
      -    },
      -    "data_as_of": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "deprecated": {
      -      "type": "boolean"
      -    },
      -    "deprecation_note": {
      -      "type": "string"
      -    },
      -    "disclaimer": {
      -      "type": "string"
      -    },
      -    "error": {
      -      "required": [
      -        "code",
      -        "message"
      -      ],
      -      "type": "object"
      -    },
      -    "freshness": {
      -      "required": [
      -        "stale"
      -      ],
      -      "type": "object"
      -    },
      -    "index": {
      -      "additionalProperties": true,
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "index_attribution": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "market": {
      -      "type": "null"
      -    },
      -    "market_high_pct": {
      -      "type": "number"
      -    },
      -    "market_low_pct": {
      -      "type": "number"
      -    },
      -    "market_median_pct": {
      -      "type": "number"
      -    },
      -    "market_median_usd": {
      -      "type": "number"
      -    },
      -    "market_p25_pct": {
      -      "type": "number"
      -    },
      -    "market_p75_pct": {
      -      "type": "number"
      -    },
      -    "melt_value_usd": {
      -      "type": "number"
      -    },
      -    "metal": {
      -      "type": "string"
      -    },
      -    "n_dealers": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "n_offers_used": {
      -      "type": "integer"
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "ok": {
      -      "const": false
      -    },
      -    "payment": {
      -      "type": "string"
      -    },
      -    "pct_below_spot": {
      -      "type": "number"
      -    },
      -    "percentile_rank": {
      -      "type": "number"
      -    },
      -    "premium_pct": {
      -      "type": "number"
      -    },
      -    "premium_usd": {
      -      "type": "number"
      -    },
      -    "price_usd": {
      -      "type": "number"
      -    },
      -    "product": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "metal": {
      -          "type": "string"
      -        },
      -        "name": {
      -          "type": "string"
      -        },
      -        "slug": {
      -          "type": "string"
      -        },
      -        "troy_oz": {
      -          "type": "number"
      -        }
      -      },
      -      "required": [
      -        "slug",
      -        "name",
      -        "metal",
      -        "troy_oz"
      -      ],
      -      "type": "object"
      -    },
      -    "sku": {
      -      "type": "string"
      -    },
      -    "source_url": {
      -      "type": "string"
      -    },
      -    "spot": {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    "spot_asof": {
      -      "type": [
      -        "string",
      -        "object",
      -        "null"
      -      ]
      -    },
      -    "spot_source": {
      -      "type": "string"
      -    },
      -    "spot_usd_per_ozt": {
      -      "type": "number"
      -    },
      -    "stale": {
      -      "type": "string"
      -    },
      -    "terms": {
      -      "type": "string"
      -    },
      -    "tool": {
      -      "type": "string"
      -    },
      -    "weight_ozt": {
      -      "type": "number"
      -    },
      -    "your_premium_pct": {
      -      "type": "number"
      -    },
      -    "your_premium_usd": {
      -      "type": "number"
      -    },
      -    "your_price_usd": {
      -      "type": "number"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • addedOutput schema / properties / attribution_credit
      Added value: +{
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "price": 60,
      +    "product": "american-silver-eagle-1oz"
      +  }
      +]
  4. Changed6 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "required": [
      +      "price_usd",
      +      "your_price_usd",
      +      "melt_value_usd",
      +      "spot_usd_per_ozt",
      +      "premium_usd",
      +      "your_premium_usd",
      +      "premium_pct",
      +      "your_premium_pct",
      +      "attribution",
      +      "source_url",
      +      "data_as_of",
      +      "credit",
      +      "terms",
      +      "customization"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "ok",
      +      "tool",
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / freshness
      Added value: +{
      +  "required": [
      +    "stale"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / ok
      Added value: +{
      +  "const": false
      +}
    • addedOutput schema / properties / tool
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "price_usd",
      -  "your_price_usd",
      -  "melt_value_usd",
      -  "spot_usd_per_ozt",
      -  "premium_usd",
      -  "your_premium_usd",
      -  "premium_pct",
      -  "your_premium_pct",
      -  "attribution",
      -  "source_url",
      -  "data_as_of",
      -  "credit",
      -  "terms",
      -  "customization"
      -]
  5. Changed10 schema fields changed
    • changedInput schema / properties / payment / description
      Previous value: -"Which dealer price list to compare with (tracked products only)."New value: +"Which dealer price list to compare against (bank = check/ACH/wire, card = credit card)."
    • addedInput schema / properties / premium_pct
      Added value: +{
      +  "description": "Premium over spot in percent (use instead of price; alias: your_premium_pct).",
      +  "maximum": 500,
      +  "minimum": -50,
      +  "type": "number"
      +}
    • changedInput schema / properties / price / description
      Previous value: -"Price quoted for one item, in USD."New value: +"Price quoted for one item in USD (alias: your_price)."
    • changedInput schema / properties / product / description
      Previous value: -"Tracked product slug or name with its weight (see list_products). A name only matches a product of the same weight."New value: +"Tracked product slug or name with weight (see list_products)."
    • addedInput schema / properties / spot
      Added value: +{
      +  "description": "Optional spot price override in USD per troy oz (labels spot_source=caller).",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / spot_asof
      Added value: +{
      +  "description": "Optional ISO timestamp for caller-supplied spot.",
      +  "type": "string"
      +}
    • addedInput schema / properties / your_premium_pct
      Added value: +{
      +  "description": "Alias for premium_pct: your premium over spot in percent.",
      +  "maximum": 500,
      +  "minimum": -50,
      +  "type": "number"
      +}
    • addedInput schema / properties / your_price
      Added value: +{
      +  "description": "Alias for price: single-unit asking price in USD.",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "price"
      -]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "asof": {
      +      "type": "string"
      +    },
      +    "attribution": {
      +      "type": "string"
      +    },
      +    "below_spot": {
      +      "type": "boolean"
      +    },
      +    "below_spot_warning": {
      +      "type": "string"
      +    },
      +    "canonical_tool": {
      +      "type": "string"
      +    },
      +    "cheaper_than_n": {
      +      "type": "integer"
      +    },
      +    "compared_with_today": {
      +      "additionalProperties": true,
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "credit": {
      +      "type": "string"
      +    },
      +    "customization": {
      +      "type": "string"
      +    },
      +    "data_as_of": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "deprecated": {
      +      "type": "boolean"
      +    },
      +    "deprecation_note": {
      +      "type": "string"
      +    },
      +    "disclaimer": {
      +      "type": "string"
      +    },
      +    "index": {
      +      "additionalProperties": true,
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "index_attribution": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "market": {
      +      "type": "null"
      +    },
      +    "market_high_pct": {
      +      "type": "number"
      +    },
      +    "market_low_pct": {
      +      "type": "number"
      +    },
      +    "market_median_pct": {
      +      "type": "number"
      +    },
      +    "market_median_usd": {
      +      "type": "number"
      +    },
      +    "market_p25_pct": {
      +      "type": "number"
      +    },
      +    "market_p75_pct": {
      +      "type": "number"
      +    },
      +    "melt_value_usd": {
      +      "type": "number"
      +    },
      +    "metal": {
      +      "type": "string"
      +    },
      +    "n_dealers": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "n_offers_used": {
      +      "type": "integer"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "payment": {
      +      "type": "string"
      +    },
      +    "pct_below_spot": {
      +      "type": "number"
      +    },
      +    "percentile_rank": {
      +      "type": "number"
      +    },
      +    "premium_pct": {
      +      "type": "number"
      +    },
      +    "premium_usd": {
      +      "type": "number"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "product": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "metal": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        },
      +        "slug": {
      +          "type": "string"
      +        },
      +        "troy_oz": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "slug",
      +        "name",
      +        "metal",
      +        "troy_oz"
      +      ],
      +      "type": "object"
      +    },
      +    "sku": {
      +      "type": "string"
      +    },
      +    "source_url": {
      +      "type": "string"
      +    },
      +    "spot": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "spot_asof": {
      +      "type": [
      +        "string",
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "spot_source": {
      +      "type": "string"
      +    },
      +    "spot_usd_per_ozt": {
      +      "type": "number"
      +    },
      +    "stale": {
      +      "type": "string"
      +    },
      +    "terms": {
      +      "type": "string"
      +    },
      +    "weight_ozt": {
      +      "type": "number"
      +    },
      +    "your_premium_pct": {
      +      "type": "number"
      +    },
      +    "your_premium_usd": {
      +      "type": "number"
      +    },
      +    "your_price_usd": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "price_usd",
      +    "your_price_usd",
      +    "melt_value_usd",
      +    "spot_usd_per_ozt",
      +    "premium_usd",
      +    "your_premium_usd",
      +    "premium_pct",
      +    "your_premium_pct",
      +    "attribution",
      +    "source_url",
      +    "data_as_of",
      +    "credit",
      +    "terms",
      +    "customization"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / product / description
      Previous value: -"Tracked product slug or name (see list_products)."New value: +"Tracked product slug or name with its weight (see list_products). A name only matches a product of the same weight."
  7. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds only that dealer asks are "today's" (implying freshness), but says nothing about where those asks come from, what happens when product or spot is omitted, or what the computation returns.

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

Conciseness3/5

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

Two short sentences with no wasted words, which is good, but the brevity is under-specification rather than discipline. The example is the only concrete anchor and is not framed as such.

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

Completeness2/5

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

A ten-parameter calculation tool with zero required fields and no output schema needs the description to explain valid parameter combinations (e.g., product+price vs spot+metal+weight). Instead it gives one example and no return-value framing, leaving an agent unable to call it correctly beyond copying the example.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 10 optional parameters, and the description explains only product and price via a single example. The roles of spot, metal, payment, spot_asof, weight_ozt, your_price, premium_pct, and your_premium_pct — and critically which combination is required to actually compute anything — are left entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys that this computes a premium over melt for a quoted price relative to today's dealer asks, which is a recognizable calculator purpose. But there is no clear verb, and the title's second half ("US market benchmark") suggests an additional benchmarking function the description never explains. It also does nothing to distinguish it from siblings like quote, melt_value, get_premium_index, or fair_offer_check.

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?

There is no statement of when to use this tool versus the many adjacent price/premium tools, no prerequisites, and no exclusions. The single example implies the minimal invocation shape but does not constitute usage 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