Skip to main content
Glama

StackerScan

Spot metal prices

get_spot_prices
Read-only

Current and previous-session spot prices for gold, silver, platinum, palladium, copper and nickel, in any supported currency and per troy ounce or gram.

Input Schema

NameRequiredDescriptionDefault
baseNoA currency code from the live catalog at /api/currencies (ISO 4217 fiat plus BTC and the metal codes). Defaults to USD.
unitNoPrice per troy ounce or per gram. Defaults to troy_oz.
metalsNoMetal symbols to include (xau gold, xag silver, xpt platinum, xpd palladium, xcu copper, ni nickel). Omit for all six; Goldback is not a spot metal.

Output Schema

NameRequiredDescriptionDefault
asOfYesUTC source update instant.
baseYesResolved uppercase currency code.
dateYesMarket or session date.
unitYesShared price denominator for every returned metal.
metalsYesRequested spot symbols only; Goldback is not a spot metal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds only the temporality detail (current plus previous session) and currency/unit flexibility; it says nothing about freshness guarantees, network dependency despite openWorld, or failure modes.

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?

A single well-formed sentence, front-loaded with what is returned, with no filler or redundancy. Every clause carries 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?

An output schema exists to cover the return shape and annotations cover the safety profile, so the description only needs to frame scope — which it does. It stops just short of explicitly routing the agent away from the neighboring history and Goldback tools.

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 base, unit and metals are fully documented in the schema, including defaults and the Goldback exclusion. The description restates the currency and unit concepts but adds no syntax or constraint detail beyond the schema, so the baseline 3 applies.

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 (retrieves spot prices) and resource, and enumerates the covered metals, currency and unit options. The 'current and previous-session' framing implicitly separates it from get_price_history, but it never names that sibling, so the differentiation is left to inference.

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 only implied: 'current and previous-session' suggests this is for latest pricing rather than a time series, but there is no explicit when-to-use, when-not-to-use, or pointer to get_price_history / get_goldback_rate as alternatives. An agent must infer the routing.

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