Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

banking_conversion_create_quote

Create a currency conversion quote to lock an exchange rate for a valid settlement date; use the returned quote_id to complete the conversion.

Instructions

Create a conversion quote and lock in an exchange rate. The conversion_date must be a valid settlement date — call banking_conversion_list_dates first if you do not already have one. Returns a quote_id to use in banking_conversion_create.

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": {
      "sell_currency": "<sell_currency>",
      "buy_currency": "<buy_currency>",
      "conversion_date": "<conversion_date>"
    },
    "name": "banking_conversion_create_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
buy_amountNoAmount to buy. Provide exactly one of sell_amount or buy_amount.
sell_amountNoAmount to sell. Provide exactly one of sell_amount or buy_amount.
buy_currencyYesCurrency to buy
on_behalf_ofNoSub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account.
sell_currencyYesCurrency to sell
conversion_dateYesSettlement date, e.g. "2024-01-15"
transaction_typeNoTransaction type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key behaviors an agent needs: this locks an exchange rate (a stateful, rate-committing action) and it returns a quote_id rather than performing the conversion. It says nothing about how long the rate is locked, whether quotes expire, or what permissions the call requires.

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?

Three short sentences, each doing distinct work: purpose, prerequisite, and return value. The rate-lock purpose is front-loaded and nothing is repeated from the schema.

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?

With 7 parameters fully documented in the schema and no output schema, the description correctly supplies the one missing return-value fact (quote_id). The residual gap is behavioral rather than structural: the lifetime/expiry semantics of the locked rate, which matter for a quote tool, are unstated.

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 still adds real meaning beyond the schema for conversion_date by imposing a validity constraint and a discovery procedure, which the schema only hints at with a format example.

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 ('Create a conversion quote') plus the effect ('lock in an exchange rate'), and distinguishes itself from banking_conversion_create by explaining that it produces the quote_id the other tool consumes. An agent can separate the two-step flow without opening either schema.

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?

Gives an explicit precondition ('The conversion_date must be a valid settlement date') and a concrete route to satisfy it ('call banking_conversion_list_dates first if you do not already have one'), plus implied sequencing into banking_conversion_create. It stops short of any when-not-to-use guidance, but the conditional advice is actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools