Skip to main content
Glama

Bullion Trading: Gold & Silver

Prepare a checkout link

prepare_checkout_link
Read-only

A link the customer opens to see these products in a cart on bulliontradingllc.com, valid 24 hours. Give product ids (from search_products, get_product or find_bullion) and quantities, and optionally the delivery state to check its online rules now. The link holds no price and reserves no stock: the customer sees the live price, chooses delivery and payment, and pays on the website, where the price is locked for 10 minutes at checkout. No order exists until the customer pays. Returns the link, current prices, and notes on payment, shipping and state rules. Use when the user has chosen products to buy and wants to check out: give them the link. It places no order and reserves nothing; the user pays on the website.

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": {
      "items": "<items>"
    },
    "name": "prepare_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesUp to 10 products
stateNoDelivery state, to check its online rules (the customer still chooses it in the cart)

Output Schema

NameRequiredDescriptionDefault
linesYes
notesYes
expires_atYes
price_timeYes
source_urlYes
checkout_urlYes
subtotal_cardYes
subtotal_check_wireYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description then adds substantial context beyond them: the link expires in 24 hours, carries no price and reserves no stock, the live price is re-fetched and only locked for 10 minutes at actual checkout, and no order exists until the customer pays. It also states what comes back (link, current prices, payment/shipping/state-rule notes). This is exactly the state-changing nuance an agent needs before telling a user to proceed.

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 substance is front-loaded (what the link is, then what to pass, then what it does not do) and most sentences carry distinct information. The closing clause, "It places no order and reserves nothing; the user pays on the website," restates the earlier "No order exists until the customer pays" and "holds no price and reserves no stock," so a little space is wasted on emphasis rather than new content.

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?

With an output schema present, the description only needs to cover intent and behavior, and it does both, including lifetime, price-locking semantics, absence of reservation, and the fact that payment happens externally. Nothing an agent needs in order to call this correctly or set user expectations is missing.

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 100%, so the baseline is 3; the description earns an extra point because it explains the provenance of the 'product' value (ids from search_products, get_product or find_bullion) and frames 'state' as an optional pre-check of online rules while noting the customer still picks the state in the cart. That is meaning the schema alone does not convey, even though the 10-item cap and 1-1000 quantity bounds are left to the schema.

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?

The opening sentence names a specific artifact (a checkout link for chosen products on bulliontradingllc.com, valid 24 hours) rather than a generic action. It implicitly separates itself from the catalog siblings by directing the agent to search_products, get_product and find_bullion as the source of product ids. An agent can tell immediately that this is the final 'hand off to purchase' step, not a search or pricing tool.

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?

The guidance is explicit: "Use when the user has chosen products to buy and wants to check out: give them the link," and it names the tools that supply the required product ids. It does not spell out a negative case or compare against adjacent tools like estimate_sales_tax or plan_budget, but the precondition (products already chosen) is clear enough to route correctly.

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