Skip to main content
Glama

subscriptions.list

Retrieve and display subscription records from Ryft's payment system. Filter results by date range, order, or quantity for financial management.

Instructions

List Ryft subscriptions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startTimestampNo
endTimestampNo
ascendingNo
limitNo
startsAfterNo

Implementation Reference

  • The handler and registration for 'subscriptions.list'.
    registerTool(
      'subscriptions.list',
      'List Ryft subscriptions.',
      listSubscriptionsSchema.shape,
      async (args) => {
        const query = listSubscriptionsSchema.parse(args) as Record<string, QueryValue>;
        return client.get('/subscriptions', { query });
      },
    );
  • Input validation schema for 'subscriptions.list'.
    const listSubscriptionsSchema = z.object({
      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(),
    });

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