Skip to main content
Glama

transfers.create

Initiate financial transfers between accounts by specifying amount, currency, source, and destination details to move funds securely.

Instructions

Create a Ryft transfer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
currencyYes
sourceNo
destinationNo
reasonNo
metadataNo

Implementation Reference

  • The handler for 'transfers.create' uses the RyftHttpClient to POST to the /transfers endpoint.
    registerTool(
      'transfers.create',
      'Create a Ryft transfer.',
      createTransferSchema.shape,
      async (args) => client.post('/transfers', createTransferSchema.parse(args)),
    );
  • The schema definition for input arguments of 'transfers.create'.
    const createTransferSchema = z.object({
      amount: z.number().int().positive(),
      currency: z.string().length(3),
      source: transferEndpointSchema.optional(),
      destination: transferEndpointSchema.optional(),
      reason: z.string().min(1).optional(),
      metadata: metadataSchema.optional(),
    });
  • Registration function for transfer-related tools.
    export function registerTransferTools(registerTool: ToolRegistrar, client: RyftHttpClient) {

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bkawk/ryft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server