Skip to main content
Glama

BusCalc — Business & Trade Calculations

Precious metal price snapshots

buscalc_precious_metal_quotes
Read-only

Fetch a dated Gold API USD spot snapshot for selected gold XAU, silver XAG, platinum XPT or palladium XPD. Returns provider update time, age and units. Rejects old, malformed or unavailable quotes; never substitutes an invented or stale price. This is data lookup, not a calculation or dealer execution offer. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "inputs": {
        "metals": [
          "XAU",
          "XAG"
        ]
      }
    },
    "name": "buscalc_precious_metal_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
inputsYes
modelVersionNo

Output Schema

NameRequiredDescriptionDefault
kindYes
notesYes
quotesYes
providerYes
sourceURLYes
calculatorYes
retrievedAtYes
modelVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "inputs": {
      +      "metals": [
      +        "XAU",
      +        "XAG"
      +      ]
      +    }
      +  }
      +]
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the description adds value by disclosing failure behavior: it rejects old, malformed or unavailable quotes and never substitutes an invented or stale price. It also mentions the returned metadata (provider update time, age, units), though idempotentHint=false is left unexplained even though repeated calls could yield differing snapshots.

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?

The opening two sentences are dense and front-loaded, but the tail becomes a pile of imperative boilerplate ('Follow its required fields and exact choices', 'Do not pass the REST calculator field inside MCP arguments') that reads as caller instructions rather than documentation and references a REST field never defined here.

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, so return values need not be spelled out, and annotations cover the safety profile; the description still adds the important failure-mode guarantees. Completeness is only slightly undercut by the unexplained 'units' and 'modelVersion' parameters and by no guidance on how many metals may be requested per call.

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 0% and the schema uses an unusual two-level nesting (top-level 'inputs' object containing 'metals'), so the instruction to put tool fields inside 'inputs' compensates for a real ambiguity. However, the 'units' parameter is an empty object with additionalProperties=false and 'modelVersion' has a single enum value of 1.0.0; the description says to supply them 'only when listed in inputSchema' without explaining what either means or when they matter.

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?

States a specific verb and resource ('Fetch a dated Gold API USD spot snapshot') and enumerates the exact metal codes covered (XAU, XAG, XPT, XPD). A single sentence distinguishes it from the sibling calculation tools by declaring 'This is data lookup, not a calculation or dealer execution offer.'

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?

Explicitly frames when this is the right tool (raw quote lookup) versus when it is not (calculation, dealer execution), which is the key routing decision against buscalc_precious_metal_calculations. It stops short of naming any sibling tool or stating retrieval/recency thresholds, so the agent must infer the boundary condition for 'old' quotes.

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