Skip to main content
Glama

Reddit MCP Server

by ozipi
cleanup-empty-content.ts765 B
import { Tool } from '@modelcontextprotocol/sdk/types.js'; export const cleanupEmptyContent: Tool = { name: "cleanup_empty_content", description: "Remove empty units (units with no lessons or only empty lessons) from a course. This helps clean up failed creation attempts. IMPORTANT: This only removes units with completely empty lessons - units with real content are never touched.", inputSchema: { type: "object", properties: { courseId: { type: "string", description: "The course ID to clean up" }, dryRun: { type: "boolean", description: "If true, only show what would be deleted without actually deleting. Default: false", default: false } }, required: ["courseId"] } };

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