We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kirbah/mcp-youtube'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { z } from "zod";
import { GetPromptResult } from "@modelcontextprotocol/sdk/types.js";
import { BasePrompt } from "./base.js";
const AnalyzeNicheSchema = z.object({
query: z
.string()
.describe("The niche topic (e.g. 'stoicism', 'coding tutorials')"),
});
export class AnalyzeNichePrompt extends BasePrompt<typeof AnalyzeNicheSchema> {
name = "analyze-niche";
description = "Deep dive analysis of a specific YouTube niche";
schema = AnalyzeNicheSchema;
protected getImpl(
params: z.infer<typeof AnalyzeNicheSchema>
): Promise<GetPromptResult> {
return Promise.resolve({
messages: [
{
role: "user",
content: {
type: "text",
text: `Please run a deep analysis on the '${params.query}' niche.
Use the 'findConsistentOutlierChannels' tool to identify channels that are overperforming relative to their subscriber count.
Focus on 'NEW' channels with 'MODERATE' consistency.`,
},
},
],
});
}
}