Skip to main content
Glama

Bullion calculator

bullion_calculator
Read-onlyIdempotent

Gold return, DCA, IRA, allocation or income calculator. Set type to return, dca, ira, allocation or income. Example: {"type":"return","paid_usd":1300,"purchase_month":"2015-06"}.

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": {
      "type": "<type>"
    },
    "name": "bullion_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNo
typeYes
metalNo
yearsNo
productNo
fine_oztNo
paid_usdNo
start_usdNo
return_pctNo
savings_usdNo
inflation_pctNo
purchase_monthNo
retirement_ageNo
yearly_fee_usdNo
amount_each_usdNo
gold_change_pctNo
other_return_pctNo
price_change_pctNo
purchases_per_yearNo
yearly_addition_usdNo
yearly_spending_usdNo
years_in_retirementNo
years_to_retirementNo
yearly_contribution_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the calculation modes and an example, but it does not disclose return behavior, assumptions, or limits beyond what annotations and schema provide.

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?

The description is short, front-loaded, and includes a concrete example without filler. It is somewhat terse and repeats the `type` enum values, but every part has functional value.

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?

For a complex tool with 24 parameters, multiple calculation modes, no schema property descriptions, and no output schema, the definition is far too thin. It identifies the mode selector but does not explain which parameters belong to which calculation type or what the calculator returns.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for 24 undocumented parameters. It explains only the `type` enum and gives an example using `paid_usd` and `purchase_month`, leaving most mode-specific fields, units, constraints, and applicability unexplained.

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 tool type and resource: a calculator for gold return, DCA, IRA, allocation, or income scenarios. It is clear what the tool does, though it does not explicitly differentiate itself from sibling tools such as get_stack_worth or true_cost.

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?

It tells the agent to set `type` to one of five modes, which is useful guidance for selecting the calculation variant. However, it gives no explicit when-to-use versus alternatives, no exclusions, and no prerequisites, so the guidance is only implied by the mode list.

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