Skip to main content
Glama

Bullion Trading: Gold & Silver

Plan a budget

plan_budget
Read-onlyIdempotent

Best-value options for a budget in USD and a metal: which product and how many pieces fit, the payment method the total assumes (check/wire from $1,000, otherwise card/PayPal at +5%), the total and the premium over spot. Goal can favour the lowest premium, popular coins, or gift-friendly items. Before shipping and tax. Use when the user gives a budget and a metal and wants to see what fits. Read-only; it is a calculation, not a purchase.

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": {
      "budget": "<budget>"
    },
    "name": "plan_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
metalNoDefault gold
budgetYesBudget in USD

Output Schema

NameRequiredDescriptionDefault
notesYes
budgetYes
optionsYes
price_timeYes
source_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces rather than repeats them by explaining the calculation's assumptions: payment method switches to check/wire from $1,000, otherwise card/PayPal at +5%, and figures exclude shipping and tax. Those are exactly the caveats an agent needs to report results accurately.

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?

Front-loaded with the core output, then the pricing caveat, then the usage trigger — a sensible order with no filler sentences. The parenthetical payment-method rule is dense but earns its place; the only mild cost is that the first sentence packs several distinct ideas.

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

Completeness5/5

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

For a three-parameter, read-only calculation tool with an output schema, the description covers scope, assumptions, exclusions, and the selection criterion. An agent can decide to call it and explain the result without further clarification.

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

Parameters4/5

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

Schema coverage is 67%, and the description compensates for the undocumented `goal` parameter by glossing all three modes — lowest premium, popular coins, gift-friendly items. `budget` and `metal` (including the gold default) are already carried by the schema, so the description adds real value where it is needed without redundant restatement.

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?

Names a specific operation and returns set: "which product and how many pieces fit" for a budget and metal, plus the payment method, total, and premium over spot. That is distinguishable from siblings like find_bullion or search_products, which browse rather than size a purchase to a budget.

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?

"Use when the user gives a budget and a metal and wants to see what fits" gives a clear trigger condition, and "it is a calculation, not a purchase" rules out using it to transact. It stops short of naming the specific sibling to use instead when the user has no budget constraint (e.g. plain catalog search), so not a 5.

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