Skip to main content
Glama

customers.list

Retrieve customer records from Ryft MCP to manage payment accounts, filter by email or date range, and support financial operations.

Instructions

List Ryft customers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNo
startTimestampNo
endTimestampNo
ascendingNo
limitNo
startsAfterNo

Implementation Reference

  • The handler for 'customers.list' which calls the Ryft client to list customers with parsed query parameters.
    registerTool(
      'customers.list',
      'List Ryft customers.',
      listCustomersSchema.shape,
      async (args) => client.get('/customers', { query: listCustomersSchema.parse(args) }),
    );
  • Input validation schema for the 'customers.list' tool.
    const listCustomersSchema = z.object({
      email: z.string().email().optional(),
      startTimestamp: z.number().int().optional(),
      endTimestamp: z.number().int().optional(),
      ascending: z.boolean().optional(),
      limit: z.number().int().positive().max(100).optional(),
      startsAfter: z.string().optional(),
    });
  • Tool registration for 'customers.list'.
    registerTool(
      'customers.list',
      'List Ryft customers.',
      listCustomersSchema.shape,
      async (args) => client.get('/customers', { query: listCustomersSchema.parse(args) }),
    );

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