Skip to main content
Glama

balances.list

Retrieve Ryft balance information for a specific currency to monitor available funds and track financial resources.

Instructions

List Ryft balances for a currency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
accountIdNo

Implementation Reference

  • The handler function for balances.list tool.
    async (args) => {
      const parsed = listBalancesSchema.parse(args);
      const { accountId, ...query } = parsed;
      return client.get('/balances', {
        query: query as Record<string, QueryValue>,
        ...(accountId ? { accountId } : {}),
      });
    },
  • The Zod schema for input validation of balances.list.
    const listBalancesSchema = z.object({
      currency: z.string().length(3),
      accountId: z.string().min(1).optional(),
    });
  • The registration of balances.list tool.
    registerTool(
      'balances.list',
      'List Ryft balances for a currency.',
      listBalancesSchema.shape,

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