Skip to main content
Glama
Stables MCP Server

Stables MCP Server

Official

Save beneficiary

create_beneficiary
DestructiveIdempotent

Saves a recipient’s bank account, mobile money wallet, or crypto wallet with validated payout details so future transfers can be sent by beneficiary ID.

Instructions

Save a recipient and their bank account, mobile money wallet or blockchain wallet, so later transfers can pay it by id. The details are validated exactly as a transfer on that network would be. Saving an account that is already saved returns the existing beneficiary with its details refreshed, and revives it if archived. For a blockchain wallet set network to crypto and send cryptoCurrency, cryptoNetwork and cryptoAddress with accountHolderName (and recipientType), and no bank fields; it is then paid by a swap quote for that stablecoin and network. For mobile_money send walletProvider and walletAccount with accountHolderName, bankCountry and bankCurrency, and no bank fields. A CNY bank payout needs nameInLocalLanguage and nationalIdentificationNumber, and for goods trade (purposeCode GENERAL_GOODS_TRADES) logisticsTrackingDetails and items; the goods details travel with each transfer, not the saved beneficiary. PayID aliases are paid per transfer and cannot be saved.

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": {
      "network": "<network>"
    },
    "name": "create_beneficiary"
  }
}

Input Schema

NameRequiredDescriptionDefault
ibanNoIBAN (EU/international)
cnapsNoCNAPS (China)
labelNoDisplay name (e.g. 'Acme Supplies (EUR)'). Defaults to the account holder name
payIdNoPayID alias (AUD only). Requires payIdType
phoneNoBeneficiary phone number in E.164 format (e.g. '+5215512345678')
bicCodeNoBIC (EUR/GBP international)
bsbCodeNoBSB code (Australia)
networkYesNetwork the beneficiary is paid by: bank = local transfer, swift = international wire, mobile_money = a mobile money wallet (walletProvider and walletAccount, no bank fields), crypto = a blockchain wallet (cryptoCurrency, cryptoNetwork and cryptoAddress, no bank fields), unionpay = personal remittance to a bank account in mainland China in CNY (purposeCode PERSONAL_REMITTANCE or USER_WITHDRAWAL on the transfer, and the customer needs the cny_unionpay entitlement)
bankCodeNoBank code / institution number (CAD)
bankNameNoName of the destination bank. Required unless paying a mobile money wallet
ifscCodeNoIFSC code (India)
sortCodeNoSort code (UK)
payIdTypeNoPayID alias type. Required when payId is given
swiftCodeNoSWIFT code
branchCodeNoBranch code / transit number (CAD)
branchNameNoBank branch name
accountTypeNoAccount type. Required for CAD and USD bank payouts
addressCityNoBeneficiary city
bankCountryNoBank country, ISO 2-letter (e.g. 'AU', 'US'). For mobile money, the country of the wallet
dateOfBirthNoBeneficiary date of birth, YYYY-MM-DD. Required when recipientType is individual for AED, CAD, EUR, GBP, MXN, USD
paymentRailNoUSD payouts only: prefer ACH or wire. Omit for the account's default. A rail that is not available is refused
addressStateNoBeneficiary state or region
bankCurrencyNoPayout currency, ISO 3-letter (e.g. 'EUR')
accountNumberNoBank account number, if not using IBAN
addressStreetNoBeneficiary street address. Needed, with addressCountry, whenever an address is sent
cryptoAddressNoWallet address when network is crypto. It must be valid on cryptoNetwork: funds sent to a wrong address cannot be recovered
cryptoNetworkNoBlockchain network of the wallet when network is crypto (e.g. 'tron')
recipientTypeNoBeneficiary type. Required for AED, CAD, EUR, GBP, MXN, USD
routingNumberNoABA routing number (US)
walletAccountNoMobile money only: the wallet's identifier, such as its mobile number (e.g. '+233241234567'). Required with walletProvider
addressCountryNoBeneficiary country, ISO 2-letter. The complete address is required for AED, CAD, EUR, GBP, MXN, USD
cryptoCurrencyNoStablecoin the wallet receives when network is crypto (e.g. 'USDT')
walletProviderNoMobile money only: the wallet provider code, as listed for the corridor (e.g. 'mtn_gh'). Requires walletAccount, and every bank field (bankName, accountNumber, iban, bank codes) must be left out
bankAddressCityNoCity of the beneficiary's bank
bankAddressStateNoState or region of the beneficiary's bank
accountHolderNameNoAccount holder's full name, or the company name when recipientType is business
addressPostalCodeNoBeneficiary postal code
bankAddressStreetNoStreet address of the beneficiary's bank. A bank address is required for a USD SWIFT payout to an account the paying customer does not hold; street and country at minimum
walletAccountTypeNoMobile money only: the kind of identifier in walletAccount. Only needed where the wallet provider accepts more than one
bankAddressCountryNoCountry of the beneficiary's bank, ISO 2-letter
nameInLocalLanguageNoAccount holder name in the local language (e.g. Chinese characters for CNY)
bankAddressPostalCodeNoPostal code of the beneficiary's bank
nationalIdentificationNumberNoNational identification number of the account holder

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.6.16
    • addedInput schema / properties / cryptoAddress
      Added value: +{
      +  "description": "Wallet address when network is crypto. It must be valid on cryptoNetwork: funds sent to a wrong address cannot be recovered",
      +  "type": "string"
      +}
    • addedInput schema / properties / cryptoCurrency
      Added value: +{
      +  "description": "Stablecoin the wallet receives when network is crypto (e.g. 'USDT')",
      +  "type": "string"
      +}
    • addedInput schema / properties / cryptoNetwork
      Added value: +{
      +  "description": "Blockchain network of the wallet when network is crypto (e.g. 'tron')",
      +  "type": "string"
      +}
    • changedInput schema / properties / network / description
      Previous value: -"Network the beneficiary is paid by: bank = local transfer, swift = international wire, mobile_money = a mobile money wallet (walletProvider and walletAccount, no bank fields), unionpay = personal remittance to a bank account in mainland China in CNY (purposeCode PERSONAL_REMITTANCE or USER_WITHDRAWAL on the transfer, and the customer needs the cny_unionpay entitlement)"New value: +"Network the beneficiary is paid by: bank = local transfer, swift = international wire, mobile_money = a mobile money wallet (walletProvider and walletAccount, no bank fields), crypto = a blockchain wallet (cryptoCurrency, cryptoNetwork and cryptoAddress, no bank fields), unionpay = personal remittance to a bank account in mainland China in CNY (purposeCode PERSONAL_REMITTANCE or USER_WITHDRAWAL on the transfer, and the customer needs the cny_unionpay entitlement)"
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "bank",
      -  "swift",
      -  "mobile_money",
      -  "unionpay"
      -]New value: +[
      +  "bank",
      +  "swift",
      +  "mobile_money",
      +  "unionpay",
      +  "crypto"
      +]
  2. Changed18 schema fields changedv2.6.15
    • changedInput schema / properties / addressStreet / description
      Previous value: -"Beneficiary street address"New value: +"Beneficiary street address. Needed, with addressCountry, whenever an address is sent"
    • addedInput schema / properties / bankAddressCity
      Added value: +{
      +  "description": "City of the beneficiary's bank",
      +  "type": "string"
      +}
    • addedInput schema / properties / bankAddressCountry
      Added value: +{
      +  "description": "Country of the beneficiary's bank, ISO 2-letter",
      +  "type": "string"
      +}
    • addedInput schema / properties / bankAddressPostalCode
      Added value: +{
      +  "description": "Postal code of the beneficiary's bank",
      +  "type": "string"
      +}
    • addedInput schema / properties / bankAddressState
      Added value: +{
      +  "description": "State or region of the beneficiary's bank",
      +  "type": "string"
      +}
    • addedInput schema / properties / bankAddressStreet
      Added value: +{
      +  "description": "Street address of the beneficiary's bank. A bank address is required for a USD SWIFT payout to an account the paying customer does not hold; street and country at minimum",
      +  "type": "string"
      +}
    • changedInput schema / properties / bankCountry / description
      Previous value: -"Bank country, ISO 2-letter (e.g. 'AU', 'US')"New value: +"Bank country, ISO 2-letter (e.g. 'AU', 'US'). For mobile money, the country of the wallet"
    • changedInput schema / properties / bankName / description
      Previous value: -"Name of the destination bank"New value: +"Name of the destination bank. Required unless paying a mobile money wallet"
    • addedInput schema / properties / branchName
      Added value: +{
      +  "description": "Bank branch name",
      +  "type": "string"
      +}
    • addedInput schema / properties / nameInLocalLanguage
      Added value: +{
      +  "description": "Account holder name in the local language (e.g. Chinese characters for CNY)",
      +  "type": "string"
      +}
    • addedInput schema / properties / nationalIdentificationNumber
      Added value: +{
      +  "description": "National identification number of the account holder",
      +  "type": "string"
      +}
    • changedInput schema / properties / network / description
      Previous value: -"Network the beneficiary is paid by: bank = local transfer, swift = international wire"New value: +"Network the beneficiary is paid by: bank = local transfer, swift = international wire, mobile_money = a mobile money wallet (walletProvider and walletAccount, no bank fields), unionpay = personal remittance to a bank account in mainland China in CNY (purposeCode PERSONAL_REMITTANCE or USER_WITHDRAWAL on the transfer, and the customer needs the cny_unionpay entitlement)"
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "bank",
      -  "swift"
      -]New value: +[
      +  "bank",
      +  "swift",
      +  "mobile_money",
      +  "unionpay"
      +]
    • addedInput schema / properties / paymentRail
      Added value: +{
      +  "description": "USD payouts only: prefer ACH or wire. Omit for the account's default. A rail that is not available is refused",
      +  "enum": [
      +    "ach",
      +    "wire"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / phone
      Added value: +{
      +  "description": "Beneficiary phone number in E.164 format (e.g. '+5215512345678')",
      +  "type": "string"
      +}
    • addedInput schema / properties / walletAccount
      Added value: +{
      +  "description": "Mobile money only: the wallet's identifier, such as its mobile number (e.g. '+233241234567'). Required with walletProvider",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • addedInput schema / properties / walletAccountType
      Added value: +{
      +  "description": "Mobile money only: the kind of identifier in walletAccount. Only needed where the wallet provider accepts more than one",
      +  "enum": [
      +    "mobile_number"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / walletProvider
      Added value: +{
      +  "description": "Mobile money only: the wallet provider code, as listed for the corridor (e.g. 'mtn_gh'). Requires walletAccount, and every bank field (bankName, accountNumber, iban, bank codes) must be left out",
      +  "maxLength": 128,
      +  "type": "string"
      +}
  3. Addedv2.6.11

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the upsert semantics that the hints only imply: 'Saving an account that is already saved returns the existing beneficiary with its details refreshed, and revives it if archived' explains both idempotentHint and destructiveHint, and clarifies that existing details are overwritten. It also states validation parity with a live transfer and notes that goods-trade details are not persisted on the beneficiary, which is behavior an agent could not infer from structured fields.

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?

Purpose and idempotency are front-loaded, and every sentence carries concrete information rather than restating the name. It is a dense unbroken paragraph of network-specific rules, which is harder to scan than a short bulleted breakdown would be, but no sentence is filler.

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 43-parameter, no-output-schema creation tool it covers the highest-risk decision points: which fields go with which network, what is not saved, and what happens on repeat saves. Remaining gaps — the required 'network' field, what the returned beneficiary contains, and address/bank-address conditions — are either handled by the schema or minor for correct invocation.

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?

With 100% schema coverage the schema already documents all 43 fields, so the baseline is 3; the description earns above that by supplying cross-field conditional logic the schema only hints at (crypto vs mobile_money mutually exclusive field sets, CNY needs nameInLocalLanguage and nationalIdentificationNumber, recipientType for crypto accounts). It does not cover several other fields such as dateOfBirth, paymentRail, accountType or the address block, leaving those entirely 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 states a specific verb and resource ('Save a recipient and their bank account, mobile money wallet or blockchain wallet') plus the downstream purpose ('so later transfers can pay it by id'), which cleanly separates it from get_beneficiary and archive_beneficiary. The three payout destinations are enumerated up front, so an agent knows the scope immediately.

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?

It gives explicit conditional guidance for each network variant ('For a blockchain wallet set network to crypto and send cryptoCurrency, cryptoNetwork and cryptoAddress... and no bank fields'; 'For mobile_money send walletProvider and walletAccount...') and rules out a case ('PayID aliases are paid per transfer and cannot be saved'). What it lacks is a direct pointer to a sibling alternative for the excluded case, so it stops just short of full when/when-not routing.

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