Skip to main content
Glama
UQPAY MCP Server

UQPAY MCP Server

Official
by uqpay

banking_conversion_create

Create a currency conversion from an existing quote using its quote ID, buy and sell currencies, amount, and a valid settlement date accepted by the API.

Instructions

Create a currency conversion from an existing quote. Requires a quote_id from banking_conversion_create_quote. If you do not have a valid conversion_date, call banking_conversion_list_dates first — the API only accepts specific settlement dates and will reject arbitrary dates with "conversion date is invalid".

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

Input Schema

NameRequiredDescriptionDefault
quote_idYesQuote ID obtained from banking_conversion_create_quote
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 (ISO 4217)
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 (ISO 4217)
conversion_dateYesSettlement date, e.g. "2024-01-15"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose useful runtime behavior — the API only accepts specific settlement dates and will reject arbitrary ones with a quoted error string — but says nothing about irreversibility of the created conversion, idempotency, required permissions, or the response. Helpful context, incomplete profile for an unannotated mutation tool.

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, front-loaded with the action, then prerequisites, then the date constraint. Every clause carries operational information; nothing is redundant or restated 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?

For a 7-parameter create mutation with no annotations and no output schema, the description covers the input-side dependency chain thoroughly. The remaining gap is the return value — it never says what a successful call yields (a conversion object or ID) or how to follow up, which matters because no output schema exists to fill that in.

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 baseline is 3, and the description genuinely adds meaning: it pins quote_id to its producing tool and constrains conversion_date to a discrete set of settlement dates discoverable via banking_conversion_list_dates. That constraint is not stated in the schema's 'Settlement date, e.g. 2024-01-15' description, so this exceeds the baseline.

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 currency conversion') and immediately narrows the scope to 'from an existing quote', which distinguishes it from banking_conversion_create_quote and banking_conversion_list_dates. An agent can tell what this tool produces versus its siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit prerequisite chain: quote_id must come from banking_conversion_create_quote, and if no valid conversion_date is at hand, call banking_conversion_list_dates first. It names the fallback tool and the condition that selects it, leaving nothing to inference.

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