Skip to main content
Glama

Reddit MCP Server

by ozipi
reorder-units.ts786 B
import { Tool } from '@modelcontextprotocol/sdk/types.js'; export const reorderUnits: Tool = { name: "reorder_units", description: "Reorder units in a brainloop by providing a list of unit IDs in the desired order. Use this to fix unit ordering when units are out of sequence. The first unit ID in the array will be order 1, second will be order 2, etc.", inputSchema: { type: "object", properties: { brainloopId: { type: "string", description: "The course ID containing the units to reorder" }, unitIds: { type: "array", items: { type: "string" }, description: "Array of unit IDs in the desired order (first item = order 1, second = order 2, etc.)" } }, required: ["brainloopId", "unitIds"] } };

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/ozipi/brainloop-mcp-server-v2'

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