Skip to main content
Glama

platformFees.get

Retrieve specific platform fee details from Ryft MCP using a unique identifier to access transaction cost information for financial management.

Instructions

Get a Ryft platform fee by id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • Handler function for platformFees.get, which retrieves a platform fee by its ID.
    async (args) => {
      const { id } = platformFeeTargetSchema.parse(args);
      return client.get(`/platform-fees/${id}`);
    },
  • Zod schema defining the input for platformFees.get.
    const platformFeeTargetSchema = z.object({
      id: z.string().min(1),
    });
  • Registration of the platformFees.get tool using the registerTool function.
    registerTool(
      'platformFees.get',
      'Get a Ryft platform fee by id.',
      platformFeeTargetSchema.shape,
      async (args) => {
        const { id } = platformFeeTargetSchema.parse(args);
        return client.get(`/platform-fees/${id}`);
      },
    );

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