Skip to main content
Glama

Reddit MCP Server

by ozipi
update-lesson.ts957 B
/** * Update an existing lesson */ import type { Tool } from '@modelcontextprotocol/sdk/types.js'; export const updateLesson: Tool = { name: "update_lesson", description: "Update an existing lesson's content. Use this to fix empty lessons, correct mistakes, or update lesson content without creating duplicates. Supports partial updates - only provide the fields you want to change.", inputSchema: { type: "object", properties: { lessonId: { type: "string", description: "The ID of the lesson to update", }, title: { type: "string", description: "New lesson title (optional - only if changing)", }, content: { type: "string", description: "New lesson content (optional - only if changing)", }, videoUrl: { type: "string", description: "New video URL (optional - only if changing)", }, }, required: ["lessonId"], }, };

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