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
get-lesson-prompts.ts•536 B
/**
* Get all prompts for a lesson
*/
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
export const getLessonPrompts: Tool = {
name: "get_lesson_prompts",
description: "Get all prompts (questions/exercises) for a specific lesson. Use this to check what prompts already exist before adding new ones.",
inputSchema: {
type: "object",
properties: {
lessonId: {
type: "string",
description: "The ID of the lesson to get prompts for",
},
},
required: ["lessonId"],
},
};